aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2021-05-03 18:45:29 +0200
committerMichał Polański <michal@polanski.me>2021-05-05 00:18:21 +0000
commit410dd665fda5aa14fa4260cd1a11f04caf639933 (patch)
tree5d0507fd1210911a81fdd9100200626ae4fe9585
parentb6a6039afa1cc18fb87b5c5f84b4292e1b489188 (diff)
downloadaports-410dd665fda5aa14fa4260cd1a11f04caf639933.tar.gz
aports-410dd665fda5aa14fa4260cd1a11f04caf639933.tar.bz2
aports-410dd665fda5aa14fa4260cd1a11f04caf639933.tar.xz
testing/py3-dasbus: new aport
-rw-r--r--testing/py3-dasbus/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/py3-dasbus/APKBUILD b/testing/py3-dasbus/APKBUILD
new file mode 100644
index 0000000000..1ba456366a
--- /dev/null
+++ b/testing/py3-dasbus/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Luca Weiss <luca@z3ntu.xyz>
+# Maintainer: Luca Weiss <luca@z3ntu.xyz>
+pkgname=py3-dasbus
+pkgver=1.5
+pkgrel=0
+pkgdesc="DBus library in Python 3"
+url="https://dasbus.readthedocs.io"
+arch="noarch"
+license="LGPL-2.1-or-later"
+depends="python3 py3-gobject3 dbus"
+makedepends="py3-setuptools"
+checkdepends="py3-pytest"
+source="https://github.com/rhinstaller/dasbus/releases/download/v$pkgver/dasbus-$pkgver.tar.gz"
+builddir="$srcdir/dasbus-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ pytest
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="
+00f0db69606db8f590911bca088ff7a840cee6b71b14854eb4c5d3ecb66810bdefa1bb132807973bb095a61ad517c0d0c1812a0659484b9318c42acea480750d dasbus-1.5.tar.gz
+"