Kaarle Ritvanen 81157a4c9f py-django-oscar: new package
dependencies included
2014-05-01 12:40:10 +03:00

38 lines
1.0 KiB
Plaintext

# 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"