aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2020-05-19 19:01:32 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2020-05-19 19:01:39 +0000
commit5bce002175fe9241a0a2cf461a25473521aa5be7 (patch)
tree0d6926dcc237c400c9b9cac6deeccf0214e69f24
parentc4b2b8f680d5cb92a2fdf02a7678ae0d4c938229 (diff)
downloadaports-5bce002175fe9241a0a2cf461a25473521aa5be7.tar.gz
aports-5bce002175fe9241a0a2cf461a25473521aa5be7.tar.bz2
aports-5bce002175fe9241a0a2cf461a25473521aa5be7.tar.xz
community/gvm-tools: upgrade to 2.1.0
-rw-r--r--community/gvm-tools/APKBUILD16
-rw-r--r--community/gvm-tools/create-setuppy.patch15
2 files changed, 22 insertions, 9 deletions
diff --git a/community/gvm-tools/APKBUILD b/community/gvm-tools/APKBUILD
index f44599a726..d46a6fa602 100644
--- a/community/gvm-tools/APKBUILD
+++ b/community/gvm-tools/APKBUILD
@@ -1,30 +1,28 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=gvm-tools
-pkgver=2.0.0
-pkgrel=1
+pkgver=2.1.0
+pkgrel=0
pkgdesc="Collection of tools for remote controlling a OpenVAS / Greenbone"
url="https://github.com/greenbone/gvm-tools"
arch="noarch"
license="GPL"
depends="python3 py3-dialog py3-defusedxml py3-paramiko py3-lxml"
-makedepends="python3-dev py3-setuptools"
-source="$pkgname-$pkgver.tar.gz::https://github.com/greenbone/$pkgname/archive/v$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-$pkgver"
+makedepends="py3-setuptools pyproject2setuppy"
+source="$pkgname-$pkgver.tar.gz::https://github.com/greenbone/gvm-tools/archive/v$pkgver.tar.gz
+create-setuppy.patch"
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="0adf7e06b1208c91fbc02dab42593280c95f6572e27d96d6f8777d710747a9e427c79678d9aef785b7ecd6d4fd30e79a1c063fe4256025ac0616c1d242f45025 gvm-tools-2.0.0.tar.gz"
+sha512sums="80933ab8303c1ff77451a9fafd9331b6a0b4c3ae40c4ea318171b6b9e969fb6f20c6970d021a14db1bf8ff816c7f779e2eb750bf84f9093055273f58ad04cda2 gvm-tools-2.1.0.tar.gz
+716d1298104d924170041d69708fc417ec6d2bf96197c7c2f77397584b6c67881190272adbf224431be400a2e391d3d3e213a340411c0b9be9e6c9e097eedd5f create-setuppy.patch"
diff --git a/community/gvm-tools/create-setuppy.patch b/community/gvm-tools/create-setuppy.patch
new file mode 100644
index 0000000000..6a1a318b8b
--- /dev/null
+++ b/community/gvm-tools/create-setuppy.patch
@@ -0,0 +1,15 @@
+commit d5d5ef1473bd1163f1309ca83642a1be2a96c5b5
+Author: Francesco Colista <fcolista@alpinelinux.org>
+Date: Tue May 19 18:56:39 2020 +0000
+
+ added setup.py to build package with setuptools
+
+diff --git a/setup.py b/setup.py
+new file mode 100644
+index 0000000..ebe2f51
+--- /dev/null
++++ b/setup.py
+@@ -0,0 +1,3 @@
++#!/usr/bin/env python3
++from pyproject2setuppy.main import main
++main()