# Contributor: Kevin Daudt # Maintainer: Kevin Daudt pkgname=py3-pyzabbix pkgver=1.2.1 pkgrel=1 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" 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=" 40f250e397c9c686ffd56e3bef6e76cfc9a1b7a6f5a6e01261d86d28a64ade804649d4906f45d0739e4470e7fb4571cbeaa69247d69dcf01f53a6531e6b494f4 py3-pyzabbix-1.2.1.tar.gz "