diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2019-02-19 10:31:05 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-02-19 10:31:05 +0000 |
commit | 232c047147f69ee0210fe4d56136eaf151b23fb9 (patch) | |
tree | b49baa41d7099498797bb5e16c59b584d4b4f64b /community/py3-gvm/APKBUILD | |
parent | 1edf44a9d0f2084621ddbf815b2eb2cf37ba4f41 (diff) | |
download | aports-232c047147f69ee0210fe4d56136eaf151b23fb9.tar.bz2 aports-232c047147f69ee0210fe4d56136eaf151b23fb9.tar.xz |
community/py3-gvm: moved from testing
Diffstat (limited to 'community/py3-gvm/APKBUILD')
-rw-r--r-- | community/py3-gvm/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/py3-gvm/APKBUILD b/community/py3-gvm/APKBUILD new file mode 100644 index 0000000000..c2b394f4b5 --- /dev/null +++ b/community/py3-gvm/APKBUILD @@ -0,0 +1,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=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() { + 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" |