diff options
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" |