# Contributor: Leonardo Arena # 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"