aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-django-appconf/APKBUILD
blob: a1293f95d777beb5963522bc1b2ef6b941b323fc (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-appconf
pkgver=1.0.1
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="29c87a00f0d098b90f3ac6113ae6e52d  django-appconf-1.0.1.tar.gz"
sha256sums="ba1375fb1024e8e91547504d4392321795c989fde500b96ebc7c93884f786e60  django-appconf-1.0.1.tar.gz"
sha512sums="b6075bed0372f7f9da7c7af49124a08a2d119533ea15b284529166bcc09e61a541ce179a696dd426a9323ea1874c219880869ef7934345f4d40b1b3201eb2c6d  django-appconf-1.0.1.tar.gz"