summaryrefslogtreecommitdiff
path: root/testing/py3-pydbus/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/py3-pydbus/APKBUILD')
-rw-r--r--testing/py3-pydbus/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/py3-pydbus/APKBUILD b/testing/py3-pydbus/APKBUILD
new file mode 100644
index 00000000000..393815d9e48
--- /dev/null
+++ b/testing/py3-pydbus/APKBUILD
@@ -0,0 +1,25 @@
+# Contributor: Luca Weiss <luca@z3ntu.xyz>
+# Maintainer: Luca Weiss <luca@z3ntu.xyz>
+pkgname="py3-pydbus"
+_pyname="pydbus"
+pkgver=0.6.0
+pkgrel=0
+pkgdesc="Pythonic DBus library"
+url="https://github.com/LEW21/pydbus"
+arch="noarch"
+license="LGPL-2.1-or-later"
+depends="python3 py3-gobject3"
+makedepends="py3-setuptools"
+source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz"
+builddir="$srcdir/pydbus-$pkgver"
+options="!check" # https://github.com/LEW21/pydbus/issues/85
+
+build() {
+ python3 setup.py build
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="a8d473080faaad7e6f44030b4355ae5535ca4b2aa62b94b05c782832a4732b0c9cfda40020005ced848bcfae8fb1783575e72c7a86104bf9fb05ab409178a9ea pydbus-0.6.0.tar.gz"