# Contributor: Kaarle Ritvanen # Maintainer: Kaarle Ritvanen pkgname=py-django-treebeard pkgver=4.0.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" } md5sums="a96c72c186d7aea7142fe5673b96b3be django-treebeard-4.0.1.tar.gz" sha256sums="ead415f32fb8b67c7f9a5b924aaad95e71b1d0d883b150df89707b8fc0e88a92 django-treebeard-4.0.1.tar.gz" sha512sums="8bc3bd0bb711a3b2173842c6a42e9cf05054658db6026b173e08fbc188e8e7d773423ab1e5040d4e80f970df0f8341db56c8e83582020bed9f9f66abe20e55ed django-treebeard-4.0.1.tar.gz"