summaryrefslogtreecommitdiffstats
path: root/testing/py-django-treebeard/APKBUILD
blob: 9121d28b440041a6a06f064ef78f9c9a774032d8 (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-treebeard
pkgver=2.0
pkgrel=0
pkgdesc="Efficient tree implementations for Django"
url=https://tabo.pe/projects/django-treebeard/
arch=noarch
license="ASL 2.0"
depends=py-django
makedepends=py-setuptools
source=https://pypi.python.org/packages/source/d/django-treebeard/django-treebeard-$pkgver.tar.gz

_builddir=$srcdir/django-treebeard-$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="18801f6079c60a0dc9c79a589c72a763  django-treebeard-2.0.tar.gz"
sha256sums="64fa9e8a4edc7a9b4336b81738790dfdfbef0a5c47cab26b13fc95f75bcd7b44  django-treebeard-2.0.tar.gz"
sha512sums="686e7a89b805850ca0cda569273ea96f158ef29b8a23019a95afc70c4fb51c5758ed9d13bb44a28dc5e0ed419dac400211265ee8764b9fbfc59db39ae0e4833c  django-treebeard-2.0.tar.gz"