aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2019-10-16 04:33:44 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-10-16 04:33:44 +0000
commitf3820b47e79c4631ad1add1b34d874ae6b5d9eab (patch)
tree388804648425c1d3f19d6b9b4b4352a49898f132
parent38e7f521790c2a4bbd8663f77f66cf0fe4994941 (diff)
downloadaports-f3820b47e79c4631ad1add1b34d874ae6b5d9eab.tar.bz2
aports-f3820b47e79c4631ad1add1b34d874ae6b5d9eab.tar.xz
testing/py3-pyzabbix: new aport
-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"