mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
28 lines
974 B
Text
28 lines
974 B
Text
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
# Maintainer:
|
|
pkgname=py3-django-mptt
|
|
_pkgname=django-mptt
|
|
pkgver=0.11.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="0302fbdc759fe3e69c7adc3e785025c4c28931904c2b8904d43a3fdf1471ef1a83f18170f1db05dc3d4360e946c35db06900cf9c40b87562fba03240f9608da7 py3-django-mptt-0.11.0.tar.gz"
|