aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-gvm
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-01-09 12:43:51 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-01-09 12:43:51 +0000
commit9ab1839897fb579665c11c1a12c4c47bf192b285 (patch)
tree98dfa376ca5cf43afdc364a2c496c51c44c8e273 /testing/py3-gvm
parentd352fd3a5d907cf80a6b37afcbc6582459d2a29f (diff)
downloadaports-9ab1839897fb579665c11c1a12c4c47bf192b285.tar.bz2
aports-9ab1839897fb579665c11c1a12c4c47bf192b285.tar.xz
testing/py3-gvm: new aport
Diffstat (limited to 'testing/py3-gvm')
-rw-r--r--testing/py3-gvm/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/py3-gvm/APKBUILD b/testing/py3-gvm/APKBUILD
new file mode 100644
index 0000000000..9ea119d985
--- /dev/null
+++ b/testing/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=0
+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"