aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-django-south/APKBUILD
blob: 324c0f8eb00bf02a37ed3e645ba0a5c7aef71f9c (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-south
pkgver=0.8.4
pkgrel=0
pkgdesc="Migrations for Django"
url=http://south.aeracode.org/
arch=noarch
license=BSD
depends=py-django
makedepends=py-setuptools
source=https://pypi.python.org/packages/source/S/South/South-$pkgver.tar.gz

_builddir=$srcdir/South-$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"
	./setup.py build
}

package() {
	cd "$_builddir"
	./setup.py install --root "$pkgdir"
}

md5sums="ccd6ebadd3e2c8c6ef16d771632f7840  South-0.8.4.tar.gz"
sha256sums="5cf6bdc2967be8dd7845d3058e3af0a73408e5383c9effc3123bb48c3cc5c821  South-0.8.4.tar.gz"
sha512sums="5d01605aac6feffb9423137f1db7cf599e0bb6417e8fa3735e1c5c9fdf6c22bd0658d4daac92d4a04594632a5e68750916331200fbd76f0d1fb3e47bb5e91adb  South-0.8.4.tar.gz"