aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-django-extra-views/APKBUILD
blob: d3c2f50752a1171af5cde0403f08c17c522da6c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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"