blob: 39c55d2592773cdc5602365c571ec3037f5cecb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
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"
|