blob: dde5eb8569a8c37b64b1b61f03bd76c6dd057624 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=py-django-sorl-thumbnail
pkgver=12.4a1
pkgrel=0
pkgdesc="Thumbnails for Django"
url=https://github.com/mariocesar/sorl-thumbnail
arch=noarch
license=BSD
depends="py-django py-pillow"
makedepends=py-setuptools
source="https://files.pythonhosted.org/packages/source/s/sorl-thumbnail/sorl-thumbnail-$pkgver.tar.gz"
_builddir=$srcdir/sorl-thumbnail-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
python setup.py build
}
package() {
cd "$_builddir"
python setup.py install --root "$pkgdir"
}
md5sums="9d67047d266d3b48fb3766e65085ecb0 sorl-thumbnail-12.4a1.tar.gz"
sha256sums="cfa75ecafac90e18e48b8413e980cd50daa726cbda0d4b77eb47912cbeac884d sorl-thumbnail-12.4a1.tar.gz"
sha512sums="ded8876dc52a6bfeae021431860ade32751f70270dc7db4aca0c7e3cf8bcb0a71602c8a9125f3d2058ec7910e73cbcab5bb0b6259302069e6a085b8854e04d23 sorl-thumbnail-12.4a1.tar.gz"
|