diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-05-01 12:36:00 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-05-01 12:40:10 +0300 |
commit | 81157a4c9f7955f32f3fbcf7b6fdd8470c3d975f (patch) | |
tree | 2ab58903529d845f4fb77308bb28ea418c1b946f /testing/py-django-appconf/APKBUILD | |
parent | f98161dc2bf1f6cc312620f7060ac558fed79a6b (diff) | |
download | aports-81157a4c9f7955f32f3fbcf7b6fdd8470c3d975f.tar.bz2 aports-81157a4c9f7955f32f3fbcf7b6fdd8470c3d975f.tar.xz |
py-django-oscar: new package
dependencies included
Diffstat (limited to 'testing/py-django-appconf/APKBUILD')
-rw-r--r-- | testing/py-django-appconf/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/py-django-appconf/APKBUILD b/testing/py-django-appconf/APKBUILD new file mode 100644 index 0000000000..49e794ab94 --- /dev/null +++ b/testing/py-django-appconf/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: +pkgname=py-django-appconf +pkgver=0.6 +pkgrel=0 +pkgdesc="Packaged application configuation helper for Django" +url=http://django-appconf.readthedocs.org/ +arch=noarch +license=BSD +depends="py-django py-six" +makedepends=py-setuptools +source=https://pypi.python.org/packages/source/d/django-appconf/django-appconf-$pkgver.tar.gz + +_builddir=$srcdir/django-appconf-$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="40494042c3c8bd1e054c884e5ed4bb6c django-appconf-0.6.tar.gz" +sha256sums="a88ed8fb923a53c70c2c46fbe4508b5f81646b4b01401f1568a821671b33215c django-appconf-0.6.tar.gz" +sha512sums="b6c882ef7d2088e4a17c5099bd9581fec7c5185c13b1d3aa1f46daf33d8f51b047da9dc4091822ab7523e2eba9922fe1ec6b681b544b1657c43879e591278913 django-appconf-0.6.tar.gz" |