summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Licht <jonas.licht@fem.tu-ilmenau.de>2021-03-18 23:05:58 +0100
committerJoonas Niilola <juippis@gentoo.org>2021-03-22 15:33:55 +0200
commita911ce606471d59b2e761e975a250b56c39bcf58 (patch)
tree09b6a75b9b8e26dcd989f7084d91c87c16e34fba /net-analyzer/ospd
parentnet-analyzer/openvas-scanner: version bump to 20.8.1 (diff)
downloadgentoo-a911ce606471d59b2e761e975a250b56c39bcf58.tar.gz
gentoo-a911ce606471d59b2e761e975a250b56c39bcf58.tar.bz2
gentoo-a911ce606471d59b2e761e975a250b56c39bcf58.zip
net-analyzer/ospd: version bump to 20.8.2
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Jonas Licht <jonas.licht@fem.tu-ilmenau.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-analyzer/ospd')
-rw-r--r--net-analyzer/ospd/Manifest1
-rw-r--r--net-analyzer/ospd/ospd-20.8.2.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/net-analyzer/ospd/Manifest b/net-analyzer/ospd/Manifest
index ff299eea6a3e..2eb1accdf10b 100644
--- a/net-analyzer/ospd/Manifest
+++ b/net-analyzer/ospd/Manifest
@@ -1 +1,2 @@
DIST ospd-2.0.1.tar.gz 87313 BLAKE2B cf527742246ceb5acaf69900d48f1800ef98153026fa6aae2661e4a3aafad6f69221fa7c7f34a222a0972cf5550a9543696b1e7a4368ef050574ca08f72f0978 SHA512 4aed0e1a22ea6c0db26977e7b0bde9c9c37890422f3480ad83ef23ad193b7ae3dd7352872c4fe377808d2a398317a4c1d38d7ab2ef5a0266c544e0ef55a0365a
+DIST ospd-20.8.2.tar.gz 122686 BLAKE2B 3e05c157e41837af52d54fc4f430da57ad5fb3dff97ed6fef7339844e8b0990977a1ef5e0878a06ca7c3e209f988bdd2e13b0829d47f6d309f183960a8a286b3 SHA512 127ca6fe370faf99c9c2d2b182bb524b279d714635f367a30318acde1d383048e7a2a5e3944e83642d3963304c506fe893763b6ee78404391ead8d751c978873
diff --git a/net-analyzer/ospd/ospd-20.8.2.ebuild b/net-analyzer/ospd/ospd-20.8.2.ebuild
new file mode 100644
index 000000000000..4cffa7899b9f
--- /dev/null
+++ b/net-analyzer/ospd/ospd-20.8.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+inherit distutils-r1
+
+DESCRIPTION="Base class for scanner wrappers,communication protocol for GVM"
+HOMEPAGE="https://www.greenbone.net/en/"
+SRC_URI="https://github.com/greenbone/ospd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="AGPL-3+"
+KEYWORDS="~amd64 ~x86"
+IUSE="extras"
+
+RDEPEND="
+ dev-python/defusedxml[${PYTHON_USEDEP}]
+ dev-python/deprecated[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/paramiko[${PYTHON_USEDEP}]
+ dev-python/psutil[${PYTHON_USEDEP}]"
+
+DEPEND="
+ ${RDEPEND}"
+
+distutils_enable_tests unittest
+
+src_prepare() {
+ default
+ #QA-Fix: do not install test subpackages
+ sed -i "s/tests']/tests*']/g" setup.py || die
+}
+
+python_compile() {
+ if use extras; then
+ bash "${S}"/doc/generate || die
+ HTML_DOCS=( "${S}"/doc/. )
+ fi
+ distutils-r1_python_compile
+}