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-extra-views | |
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-extra-views')
-rw-r--r-- | testing/py-django-extra-views/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/py-django-extra-views/APKBUILD b/testing/py-django-extra-views/APKBUILD new file mode 100644 index 0000000000..87a0120756 --- /dev/null +++ b/testing/py-django-extra-views/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: +pkgname=py-django-extra-views +pkgver=0.6.4 +pkgrel=0 +pkgdesc="Extra class-based views for Django" +url=https://github.com/AndrewIngram/django-extra-views +arch=noarch +license=MIT +depends=py-django +makedepends=py-setuptools +source=https://pypi.python.org/packages/source/d/django-extra-views/django-extra-views-$pkgver.tar.gz + +_builddir=$srcdir/django-extra-views-$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="45c97d2d3e9cd4a2a3e75db23dd14c98 django-extra-views-0.6.4.tar.gz" +sha256sums="b34764361f71ad2758cda13baae292bf0f5b1f2daf28353f916c457a98484aa5 django-extra-views-0.6.4.tar.gz" +sha512sums="09789f4d999f671cda2d5893239c645e74d291c3fc5a07887a87fbaee09fa3821413d14b3c8b431e4c607581ba2f6328926ee39806158aee0145a0ce9ee23b0a django-extra-views-0.6.4.tar.gz" |