diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-09-25 22:32:21 +0300 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-09-25 22:32:21 +0300 |
commit | c82a247edac48adfda9f721a5d6f8c3525ba8fd8 (patch) | |
tree | 74f4bf666f81d32d0a7c846e6ff89af0d2282251 /main/py-django-extra-views | |
parent | d463d1589d67f322eabd49166a2bdb78de0d0a34 (diff) | |
download | aports-c82a247edac48adfda9f721a5d6f8c3525ba8fd8.tar.bz2 aports-c82a247edac48adfda9f721a5d6f8c3525ba8fd8.tar.xz |
main/py-django-oscar: moved from testing (with dependencies)
Diffstat (limited to 'main/py-django-extra-views')
-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" |