diff options
Diffstat (limited to 'testing/py-django-compressor/APKBUILD')
-rw-r--r-- | testing/py-django-compressor/APKBUILD | 37 |
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" |