From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2AA9A13835C for ; Mon, 22 Mar 2021 13:36:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 73128E0882; Mon, 22 Mar 2021 13:36:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5BA9CE0886 for ; Mon, 22 Mar 2021 13:36:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3728933BE33 for ; Mon, 22 Mar 2021 13:36:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5FCB5632 for ; Mon, 22 Mar 2021 13:36:37 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1616420035.c800efd3121eac60394703d20e683d4544eb7e26.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvm-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/gvm-tools/Manifest net-analyzer/gvm-tools/gvm-tools-21.1.0.ebuild X-VCS-Directories: net-analyzer/gvm-tools/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: c800efd3121eac60394703d20e683d4544eb7e26 X-VCS-Branch: master Date: Mon, 22 Mar 2021 13:36:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d3a681a4-5dc2-4318-ae6f-7e18319ac5f7 X-Archives-Hash: 51736e8f33d162c693edf89adcc8af08 commit: c800efd3121eac60394703d20e683d4544eb7e26 Author: Jonas Licht fem tu-ilmenau de> AuthorDate: Thu Mar 18 22:24:29 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Mar 22 13:33:55 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c800efd3 net-analyzer/gvm-tools: version bump to 21.1.0 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Jonas Licht fem.tu-ilmenau.de> Signed-off-by: Joonas Niilola gentoo.org> net-analyzer/gvm-tools/Manifest | 1 + net-analyzer/gvm-tools/gvm-tools-21.1.0.ebuild | 37 ++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/net-analyzer/gvm-tools/Manifest b/net-analyzer/gvm-tools/Manifest index c1bb1f18ae1..0d1e3086dfd 100644 --- a/net-analyzer/gvm-tools/Manifest +++ b/net-analyzer/gvm-tools/Manifest @@ -1,2 +1,3 @@ DIST gvm-tools-2.0.0.tar.gz 114592 BLAKE2B 73532138f4153ce625e68d4feb477bea4504be910266d6dac113caff1da096bc6072649ddc456b3348e1aba79c9b7e147ba019a70e4163267c474850019a076e SHA512 0adf7e06b1208c91fbc02dab42593280c95f6572e27d96d6f8777d710747a9e427c79678d9aef785b7ecd6d4fd30e79a1c063fe4256025ac0616c1d242f45025 DIST gvm-tools-2.1.0.tar.gz 128144 BLAKE2B d9dd1857446912bd26a0b5efa38cc34c77bfe9959aaa9ab42ea8518ef9231e5877317319ac8e924b14a5382c80cb00c70d0413635506355eb111b84b5715bf4e SHA512 80933ab8303c1ff77451a9fafd9331b6a0b4c3ae40c4ea318171b6b9e969fb6f20c6970d021a14db1bf8ff816c7f779e2eb750bf84f9093055273f58ad04cda2 +DIST gvm-tools-21.1.0.tar.gz 147382 BLAKE2B e7e4bd2e552d07790a21df5eba8370a0b7ae38e2960a53ece98572ac17b258cf7d74e0f1c0fd53382d9b97f18a43bcc6acecbdf861ea871602d72cfeb3c0b407 SHA512 4a02d84045642d018a52e0a17d9a4b683108e1140c512daed48403e56e996dd2487ffe914bc2fbf454c244c51500cff5a934e43feee18f76088ba1912ef84c3f diff --git a/net-analyzer/gvm-tools/gvm-tools-21.1.0.ebuild b/net-analyzer/gvm-tools/gvm-tools-21.1.0.ebuild new file mode 100644 index 00000000000..b5ee35fcc16 --- /dev/null +++ b/net-analyzer/gvm-tools/gvm-tools-21.1.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +inherit distutils-r1 + +DESCRIPTION="Remote control for Greenbone Vulnerability Manager, previously named openvas-cli" +HOMEPAGE="https://www.greenbone.net/en/ https://github.com/greenbone/gvm-tools/" +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=" + >=net-analyzer/python-gvm-20.0.0[${PYTHON_USEDEP}] + !net-analyzer/openvas-cli + !net-analyzer/openvas-tools" + +DEPEND=" + ${RDEPEND}" + +distutils_enable_tests unittest + +src_prepare() { + distutils-r1_src_prepare + + # Fixing tests + # Use correct socket path + sed -i "s/\/usr\/local\/var\/run\/gvmd.sock/\/var\/run\/gvmd.sock/g" tests/test_parser.py || die + # ignore help formating + sed -i "s/class HelpFormatting/@unittest.skip('ignoring help formatting')\nclass HelpFormatting/g" tests/test_parser.py || die +}