1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/testing/py3-django-mptt/APKBUILD
2019-11-05 15:35:34 +00:00

28 lines
974 B
Text

# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=py3-django-mptt
_pkgname=django-mptt
pkgver=0.10.0
pkgrel=1
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"