aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/py3-zabbix/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/community/py3-zabbix/APKBUILD b/community/py3-zabbix/APKBUILD
index 32d4f56775..14a7986fb1 100644
--- a/community/py3-zabbix/APKBUILD
+++ b/community/py3-zabbix/APKBUILD
@@ -3,7 +3,7 @@
pkgname=py3-zabbix
_pkgname="zabbix-api"
pkgver=0.5.4
-pkgrel=3
+pkgrel=4
pkgdesc="Python3 Zabbix API"
url="https://github.com/gescheit/scripts"
arch="all"
@@ -17,11 +17,13 @@ build() {
}
check() {
- python3 setup.py check
+ PYTHONPATH=build/lib python3 -c "from zabbix_api import ZabbixAPI"
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="d643f5f3760bb55df8d5b0416581f6fa2e82b7bcaba75d6be1386354a23a1d3dcc6cca10b97ba24ceca10ecd0c7a4a2646963549417f09beb441a90ef20e8e4c zabbix-api-0.5.4.tar.gz"
+sha512sums="
+d643f5f3760bb55df8d5b0416581f6fa2e82b7bcaba75d6be1386354a23a1d3dcc6cca10b97ba24ceca10ecd0c7a4a2646963549417f09beb441a90ef20e8e4c zabbix-api-0.5.4.tar.gz
+"