# Contributor: Kevin Daudt # Maintainer: Kevin Daudt pkgname=py3-pyzabbix pkgver=1.3.0 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 py3-semantic-version" makedepends="python3-dev py3-setuptools" checkdepends="py3-pytest py3-httpretty py3-requests-mock" subpackages="$pkgname-pyc" 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() { pytest -v tests } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums=" 2608d30a7be0b820525f9e2497caa2356082ae63f9a9214c01648854315f2a60435c87f1e4451d32697b12db23b8a817c2da292dd7b5c8188fffb5b2db229e53 py3-pyzabbix-1.3.0.tar.gz "