# Contributor: Kaarle Ritvanen # Maintainer: Kaarle Ritvanen setvar pkgname = 'py-django-treebeard' setvar pkgver = '4.1.2' setvar pkgrel = '0' setvar pkgdesc = ""Efficient tree implementations for Django"" setvar url = "https://tabo.pe/projects/django-treebeard/" setvar arch = 'noarch' setvar license = ""ASL 2.0"" setvar depends = 'py-django' setvar makedepends = 'py-setuptools' setvar source = ""https://files.pythonhosted.org/packages/source/d/django-treebeard/django-treebeard-$pkgver.tar.gz"" setvar _builddir = "$srcdir/django-treebeard-$pkgver" proc prepare { local i cd $_builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } } proc build { cd $_builddir python2 setup.py build } proc package { cd $_builddir python2 setup.py install --root $pkgdir } setvar sha512sums = ""71875336c753afdc3a7088975ec4de4509e9cab7cd02a9e44de3d932c69b492c03102c6879a2de5386f94c9357d85fff12d3a3515d4ce7e0185c34cfe70e8c75 django-treebeard-4.1.2.tar.gz""