summaryrefslogtreecommitdiffstats
path: root/testing/py-django-appconf/APKBUILD
blob: 49e794ab943350b4084eb82305a835e190f6aef5 (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:
pkgname=py-django-appconf
pkgver=0.6
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="40494042c3c8bd1e054c884e5ed4bb6c  django-appconf-0.6.tar.gz"
sha256sums="a88ed8fb923a53c70c2c46fbe4508b5f81646b4b01401f1568a821671b33215c  django-appconf-0.6.tar.gz"
sha512sums="b6c882ef7d2088e4a17c5099bd9581fec7c5185c13b1d3aa1f46daf33d8f51b047da9dc4091822ab7523e2eba9922fe1ec6b681b544b1657c43879e591278913  django-appconf-0.6.tar.gz"