aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-django-compressor
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-05-01 12:36:00 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-05-01 12:40:10 +0300
commit81157a4c9f7955f32f3fbcf7b6fdd8470c3d975f (patch)
tree2ab58903529d845f4fb77308bb28ea418c1b946f /testing/py-django-compressor
parentf98161dc2bf1f6cc312620f7060ac558fed79a6b (diff)
downloadaports-81157a4c9f7955f32f3fbcf7b6fdd8470c3d975f.tar.bz2
aports-81157a4c9f7955f32f3fbcf7b6fdd8470c3d975f.tar.xz
py-django-oscar: new package
dependencies included
Diffstat (limited to 'testing/py-django-compressor')
-rw-r--r--testing/py-django-compressor/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/py-django-compressor/APKBUILD b/testing/py-django-compressor/APKBUILD
new file mode 100644
index 0000000000..7f72dc0318
--- /dev/null
+++ b/testing/py-django-compressor/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer:
+pkgname=py-django-compressor
+pkgver=1.3
+pkgrel=0
+pkgdesc="JavaScript and CSS compressor for Django"
+url=https://github.com/django-compressor/django-compressor
+arch=noarch
+license="MIT and ASL 2.0 and BSD"
+depends="py-django py-django-appconf"
+makedepends=py-setuptools
+source=https://pypi.python.org/packages/source/d/django_compressor/django_compressor-$pkgver.tar.gz
+
+_builddir=$srcdir/django_compressor-$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="da8ee3c5908d648ded03dfe996499b15 django_compressor-1.3.tar.gz"
+sha256sums="66ff1a845a6c1b16c4cf552ee3d746033979e46cd9bd5d999d4b5dae93327a52 django_compressor-1.3.tar.gz"
+sha512sums="73d7ed68c9050945968324eb061e8bf605c3758d4df924c8e12b326cd823b1ec92aef7b984fd282cb491ef3025a3ae5733f03063036361fdd0f1e0a23e875ea2 django_compressor-1.3.tar.gz"