diff options
Diffstat (limited to 'main/py-django-extra-views/APKBUILD')
-rw-r--r-- | main/py-django-extra-views/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/main/py-django-extra-views/APKBUILD b/main/py-django-extra-views/APKBUILD new file mode 100644 index 0000000000..d3c2f50752 --- /dev/null +++ b/main/py-django-extra-views/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +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" |