# Contributor: Kaarle Ritvanen # Maintainer: Kaarle Ritvanen pkgname=py-django-treebeard pkgver=4.1.1 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" } sha512sums="e0f460bc03a3236d4ca51d09d0b84ac26a94cd49334af6fdf7a8b4cc775a0fb559fc5dca9a2834d5d7a4a59a73e015771807413a7f2d19db920759c5a6d5a3ba django-treebeard-4.1.1.tar.gz"