diff options
Diffstat (limited to 'main/py-django-appconf/APKBUILD')
-rw-r--r-- | main/py-django-appconf/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/main/py-django-appconf/APKBUILD b/main/py-django-appconf/APKBUILD new file mode 100644 index 0000000000..a1293f95d7 --- /dev/null +++ b/main/py-django-appconf/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +pkgname=py-django-appconf +pkgver=1.0.1 +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="29c87a00f0d098b90f3ac6113ae6e52d django-appconf-1.0.1.tar.gz" +sha256sums="ba1375fb1024e8e91547504d4392321795c989fde500b96ebc7c93884f786e60 django-appconf-1.0.1.tar.gz" +sha512sums="b6075bed0372f7f9da7c7af49124a08a2d119533ea15b284529166bcc09e61a541ce179a696dd426a9323ea1874c219880869ef7934345f4d40b1b3201eb2c6d django-appconf-1.0.1.tar.gz" |