net-analyzer/gvm-tools: bump to 2.0.0.
authorHasan ÇALIŞIR <hasan.calisir@psauxit.com>
Wed, 30 Oct 2019 18:39:12 +0000 (21:39 +0300)
committerJoonas Niilola <juippis@gentoo.org>
Fri, 1 Nov 2019 14:03:35 +0000 (16:03 +0200)
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Hasan ÇALIŞIR <hasan.calisir@psauxit.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
net-analyzer/gvm-tools/Manifest
net-analyzer/gvm-tools/gvm-tools-2.0.0.ebuild [new file with mode: 0644]

index 4d1b9091e53a87f8bbcdb4ad9b7c4a480443bb9b..8a439c0fee343e06bcb63c9cf28c34e04b8e2442 100644 (file)
@@ -1 +1,2 @@
 DIST gvm-tools-1.4.1.tar.gz 52020 BLAKE2B 0648c7e26dc0aed02eeeafdc8db45ae88afd8725196457a6a8cdcb888ed7e07c9998fc83c03fd9dd4f7aca1e238b46052653216b7373f98b150f6a181ba1538c SHA512 cd1049311241ad7b4a2d9648b54224ca1636f9620ffd238282bbf1089ab0c3b4e8b8f722c93c6809695bc71b0c7cb2bc3e65561b05269c7737abdc6ddca69aea
+DIST gvm-tools-2.0.0.tar.gz 114592 BLAKE2B 73532138f4153ce625e68d4feb477bea4504be910266d6dac113caff1da096bc6072649ddc456b3348e1aba79c9b7e147ba019a70e4163267c474850019a076e SHA512 0adf7e06b1208c91fbc02dab42593280c95f6572e27d96d6f8777d710747a9e427c79678d9aef785b7ecd6d4fd30e79a1c063fe4256025ac0616c1d242f45025
diff --git a/net-analyzer/gvm-tools/gvm-tools-2.0.0.ebuild b/net-analyzer/gvm-tools/gvm-tools-2.0.0.ebuild
new file mode 100644 (file)
index 0000000..8800b1f
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{5,6} )
+inherit distutils-r1
+
+DESCRIPTION="Remote control for Greenbone Vulnerability Manager, previously named openvas-cli"
+HOMEPAGE="https://www.greenbone.net/en/"
+SRC_URI="https://github.com/greenbone/gvm-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+       dev-python/defusedxml[${PYTHON_USEDEP}]
+       dev-python/lxml[${PYTHON_USEDEP}]
+       dev-python/paramiko[${PYTHON_USEDEP}]
+       dev-python/pythondialog:0[${PYTHON_USEDEP}]
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       !net-analyzer/openvas-cli
+       !net-analyzer/openvas-tools"
+
+DEPEND="
+       ${RDEPEND}"
+
+src_prepare() {
+       distutils-r1_python_prepare_all
+       # Exlude tests & correct FHS/Gentoo policy paths
+       sed -i "s/packages=find_packages(),.*/packages=find_packages(exclude=['tests*', 'docs']),/" "$S"/setup.py || die
+       sed -i -e "s*''*'/usr/share/doc/${P}'*g" "$S"/setup.py || die
+}