aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-django-treebeard/APKBUILD
blob: 5c5f189b02d01ea5b8eb3fe76422e8481cc30354 (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-treebeard
pkgver=4.1.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://files.pythonhosted.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"
	python2 setup.py build
}

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

md5sums="f8aaeefc76a0d67202084fddf706fcbc  django-treebeard-4.1.0.tar.gz"
sha256sums="f13c9a612a554ee0784632961904870efcf05f58282cd158da84ee88120fbafb  django-treebeard-4.1.0.tar.gz"
sha512sums="261f4d91c5fd78b05346ea3a5e384e413b81a0cff5278c5bc4373bba3b7d7734c84a96529013f759a20ee46aa60f699ec552117d258a4da3a1d46aa6c1a1cdd6  django-treebeard-4.1.0.tar.gz"