aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-anytree/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-anytree/APKBUILD')
-rw-r--r--community/py3-anytree/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/py3-anytree/APKBUILD b/community/py3-anytree/APKBUILD
new file mode 100644
index 0000000000..ea0295c6ff
--- /dev/null
+++ b/community/py3-anytree/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Clayton Craft <clayton@craftyguy.net>
+# Maintainer: Clayton Craft <clayton@craftyguy.net>
+pkgname=py3-anytree
+_pkgname=anytree
+pkgver=2.8.0
+pkgrel=1
+pkgdesc="Simple, lightweight and extensible Tree data structure"
+url="https://github.com/c0fec0de/anytree"
+arch="noarch"
+license="Apache-2.0"
+depends="py3-six"
+makedepends="py3-setuptools"
+source="$pkgname-$pkgver.tar.gz::https://github.com/c0fec0de/anytree/archive/$pkgver.tar.gz"
+builddir="$srcdir/$_pkgname-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py check
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+ rm "$pkgdir"/usr/LICENSE
+}
+
+sha512sums="73ad57960c25d9fd31b001a5ff2f0e67c4d45db00ff2f9aec090c7a3c4028630b0242f5ae18e58a8374f4aacb4f0bad24ce61cc97fc573aaca623a0b64a85894 py3-anytree-2.8.0.tar.gz"