aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-liblarch/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-05-16 19:57:28 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-05-17 09:52:41 +0000
commitfa03d1773410e1e09d74c95bfe2414744b12158f (patch)
tree861a7ae82589bba26d56144512f0b08834296379 /testing/py3-liblarch/APKBUILD
parentc9348fdd367c1a3bd5601701acba7353ae984c3a (diff)
downloadaports-fa03d1773410e1e09d74c95bfe2414744b12158f.tar.gz
aports-fa03d1773410e1e09d74c95bfe2414744b12158f.tar.bz2
aports-fa03d1773410e1e09d74c95bfe2414744b12158f.tar.xz
testing/py3-liblarch: new aport
https://wiki.gnome.org/Projects/liblarch A Python library to easily handle complex data structures, with a GTK binding
Diffstat (limited to 'testing/py3-liblarch/APKBUILD')
-rw-r--r--testing/py3-liblarch/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-liblarch/APKBUILD b/testing/py3-liblarch/APKBUILD
new file mode 100644
index 0000000000..9cc7e2ff3a
--- /dev/null
+++ b/testing/py3-liblarch/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=py3-liblarch
+pkgver=3.0
+pkgrel=0
+pkgdesc="A Python library to easily handle complex data structures, with a GTK binding"
+url="https://wiki.gnome.org/Projects/liblarch"
+arch="noarch"
+license="LGPL-3.0-or-later"
+depends="python3 py3-gobject3 gtk+3.0"
+makedepends="py3-setuptools"
+checkdepends="py3-nose py3-pyflakes xvfb-run"
+source="https://github.com/getting-things-gnome/liblarch/archive/v$pkgver/liblarch-$pkgver.tar.gz"
+builddir="$srcdir/liblarch-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ xvfb-run python3 run-tests
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="bf50880402ae8b490c5d98b158c5123d00340d981b26a5dec4538f1f4a1008efd5cfe024251728f90f1ebaade4ee18601fa30432d64921c3986b53efc531c68a liblarch-3.0.tar.gz"