aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-django-mptt/APKBUILD
blob: 23c8b85489906e665dfcb433ba4d605100274b5e (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
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=py3-django-mptt
_pkgname=django-mptt
pkgver=0.10.0
pkgrel=0
pkgdesc="Utilities for implementing a modified pre-order traversal tree in django"
options="!check" # Requires running django instance
url="https://github.com/django-mptt/django-mptt"
arch="noarch"
license="MIT"
depends="py3-django py3-django-js-asset"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/django-mptt/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-django-mptt" # Backwards compatibiity
provides="py-django-mptt=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py --quiet build
}

package() {
	python3 setup.py --quiet install --prefix=/usr --root="$pkgdir"
}

sha512sums="89d824b6c1591efb526d05e2d31f07b61eb89990374e01b64d5428ff5a425542b15f8e17e8e5cb8c6e51b1c41d4730497fb41f9c7e79d2e0ba59ebcf4a85e3fd  py3-django-mptt-0.10.0.tar.gz"