aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-gvm/APKBUILD
blob: 7b880ab68f60797e13495b1f39b422cbfb3d0b40 (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
29
30
31
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-gvm
_pkgname=${pkgname/py3/python}
pkgver=1.0.0_beta2
pkgrel=2
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() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="39a8eaf083cebd4c1bed06a779030538b02a5a31c57a58c3a13cb0792d9a3320a4909ed6b3bbae27adf4820f665bad77d438fd55d2109cec92be5d9d370fc9cb  py3-gvm-1.0.0_beta2.tar.gz"