diff options
Diffstat (limited to 'testing/py-django-treebeard')
-rw-r--r-- | testing/py-django-treebeard/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/py-django-treebeard/APKBUILD b/testing/py-django-treebeard/APKBUILD new file mode 100644 index 0000000000..9121d28b44 --- /dev/null +++ b/testing/py-django-treebeard/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> +# Maintainer: +pkgname=py-django-treebeard +pkgver=2.0 +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://pypi.python.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" + python setup.py build +} + +package() { + cd "$_builddir" + python setup.py install --root "$pkgdir" +} + +md5sums="18801f6079c60a0dc9c79a589c72a763 django-treebeard-2.0.tar.gz" +sha256sums="64fa9e8a4edc7a9b4336b81738790dfdfbef0a5c47cab26b13fc95f75bcd7b44 django-treebeard-2.0.tar.gz" +sha512sums="686e7a89b805850ca0cda569273ea96f158ef29b8a23019a95afc70c4fb51c5758ed9d13bb44a28dc5e0ed419dac400211265ee8764b9fbfc59db39ae0e4833c django-treebeard-2.0.tar.gz" |