aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-django-sorl-thumbnail/APKBUILD
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2015-09-25 22:32:21 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2015-09-25 22:32:21 +0300
commitc82a247edac48adfda9f721a5d6f8c3525ba8fd8 (patch)
tree74f4bf666f81d32d0a7c846e6ff89af0d2282251 /main/py-django-sorl-thumbnail/APKBUILD
parentd463d1589d67f322eabd49166a2bdb78de0d0a34 (diff)
downloadaports-c82a247edac48adfda9f721a5d6f8c3525ba8fd8.tar.bz2
aports-c82a247edac48adfda9f721a5d6f8c3525ba8fd8.tar.xz
main/py-django-oscar: moved from testing (with dependencies)
Diffstat (limited to 'main/py-django-sorl-thumbnail/APKBUILD')
-rw-r--r--main/py-django-sorl-thumbnail/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/py-django-sorl-thumbnail/APKBUILD b/main/py-django-sorl-thumbnail/APKBUILD
new file mode 100644
index 0000000000..d668240ccf
--- /dev/null
+++ b/main/py-django-sorl-thumbnail/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+pkgname=py-django-sorl-thumbnail
+pkgver=11.12.1b
+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://pypi.python.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="3e1392b79f7e4b6dc4046f5efc00297f sorl-thumbnail-11.12.1b.tar.gz"
+sha256sums="6b309388f4c4fbbeec6813ccb3c321ba3245ef2b7de044ed7b26853ec75c05f3 sorl-thumbnail-11.12.1b.tar.gz"
+sha512sums="6907ac0034139b6b30614238322916a002c6eaf9ff3e8d5bc6dd4e0c1e9ecbee95b9e7bc8fc12af97f04c1af035db974e24083acd3110f8a4f7f2f2e3d877e95 sorl-thumbnail-11.12.1b.tar.gz"