# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py3-gvm _pkgname=${pkgname/py3/python} pkgver=1.0.0 pkgrel=1 pkgdesc="Greenbone Vulnerability Management Python Library " url="https://github.com/greenbone/python-gvm" arch="noarch" license="GPL-3.0" makedepends="python3-dev" checkdepends="py3-defusedxml py3-pytest py3-lxml py3-paramiko" source="$pkgname-$pkgver.tar.gz::https://github.com/greenbone/$_pkgname/archive/v${pkgver/_/.}.tar.gz" builddir="$srcdir/$_pkgname-${pkgver/_/.}" build() { python3 setup.py build } check() { python3 setup.py check } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="a0375fe275c872f9b34cf1bad05be18a65c5209be5b9980b0f48b436ca7a0c483c5bf44fb79054ac9ea61a1bd46f2d0579d7b5b26105c36689993e8316059b0d py3-gvm-1.0.0.tar.gz"