aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/py3-pyzabbix/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/py3-pyzabbix/APKBUILD b/testing/py3-pyzabbix/APKBUILD
new file mode 100644
index 0000000000..495e58b104
--- /dev/null
+++ b/testing/py3-pyzabbix/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
+# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
+pkgname=py3-pyzabbix
+pkgver=0.7.5
+pkgrel=0
+pkgdesc="Library to interact with the Zabbix API"
+url="https://github.com/lukecyca/pyzabbix"
+arch="noarch"
+license="LGPL-2.1-or-later"
+depends="python3 py3-requests"
+makedepends="python3-dev py3-setuptools"
+source="$pkgname-$pkgver.tar.gz::https://github.com/lukecyca/pyzabbix/archive/$pkgver.tar.gz"
+builddir="$srcdir/${pkgname#py3-}-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="35abf80c24ff61f583aa630bd392fdb88578916e6c0d16f530ac9c280f45ab4e405fb705b12ef26a32ec69abf341095572099056d84230078b429e8396ac0ad3 py3-pyzabbix-0.7.5.tar.gz"