aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-django-treebeard/APKBUILD
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2015-09-25 22:32:21 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2015-09-25 22:32:21 +0300
commitc82a247edac48adfda9f721a5d6f8c3525ba8fd8 (patch)
tree74f4bf666f81d32d0a7c846e6ff89af0d2282251 /main/py-django-treebeard/APKBUILD
parentd463d1589d67f322eabd49166a2bdb78de0d0a34 (diff)
downloadaports-c82a247edac48adfda9f721a5d6f8c3525ba8fd8.tar.bz2
aports-c82a247edac48adfda9f721a5d6f8c3525ba8fd8.tar.xz
main/py-django-oscar: moved from testing (with dependencies)
Diffstat (limited to 'main/py-django-treebeard/APKBUILD')
-rw-r--r--main/py-django-treebeard/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/py-django-treebeard/APKBUILD b/main/py-django-treebeard/APKBUILD
new file mode 100644
index 0000000000..71db687862
--- /dev/null
+++ b/main/py-django-treebeard/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+pkgname=py-django-treebeard
+pkgver=3.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="3fcc74669c1735c6ab1081c3416e419c django-treebeard-3.0.tar.gz"
+sha256sums="ac9935d855359951f1a9c51904f55f2a1b1b41930ea472ded78cfd50c5cae982 django-treebeard-3.0.tar.gz"
+sha512sums="9c15dd75142a36cbd73d09c1f677f9875f67dc809178aeec79fab817a2ec60dc4afb0ca81ffa818be489d4bb1190299197e0f9b7d90e704428ca6c3fc6bf0a61 django-treebeard-3.0.tar.gz"