Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/openvas-manager/
Date: Mon, 31 Dec 2018 23:43:41
Message-Id: 1546299571.6ea3585e5940025b64c872bbef791f758204c461.asturm@gentoo
commit:     6ea3585e5940025b64c872bbef791f758204c461
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 31 23:39:31 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 31 23:39:31 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ea3585e

net-analyzer/openvas-manager: EAPI-7 bump

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../openvas-manager-6.0.6-r2.ebuild                | 34 ++++++++++++----------
 1 file changed, 18 insertions(+), 16 deletions(-)

diff --git a/net-analyzer/openvas-manager/openvas-manager-6.0.6-r2.ebuild b/net-analyzer/openvas-manager/openvas-manager-6.0.6-r2.ebuild
index d852593f565..64a15155311 100644
--- a/net-analyzer/openvas-manager/openvas-manager-6.0.6-r2.ebuild
+++ b/net-analyzer/openvas-manager/openvas-manager-6.0.6-r2.ebuild
@@ -1,13 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-
-inherit cmake-utils systemd
-
-MY_PN=openvasmd
+EAPI=7
 
 DL_ID=2195
+MY_PN=openvasmd
+inherit cmake-utils systemd
 
 DESCRIPTION="A remote security scanner for Linux (openvas-manager)"
 HOMEPAGE="http://www.openvas.org/"
@@ -15,35 +13,39 @@ SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P/_beta/+beta}.t
 
 SLOT="0"
 LICENSE="GPL-2"
-KEYWORDS=" ~amd64 ~arm ~ppc ~x86"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
 IUSE=""
 
-RDEPEND="
-	>=net-analyzer/openvas-libraries-8.0.5
-	>=dev-db/sqlite-3
+DEPEND="
 	dev-db/redis
-	!net-analyzer/openvas-administrator"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
+	>=dev-db/sqlite-3
+	>=net-analyzer/openvas-libraries-8.0.5
+"
+RDEPEND="${DEPEND}
+	!net-analyzer/openvas-administrator
+"
+BDEPEND="
+	virtual/pkgconfig
+"
 
 S="${WORKDIR}"/${P}
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-6.0.1-bsdsource.patch
-	)
+)
 
 src_prepare() {
+	cmake-utils_src_prepare
 	sed \
 		-e '/^install.*OPENVAS_CACHE_DIR.*/d' \
 		-i CMakeLists.txt || die
-	cmake-utils_src_prepare
 }
 
 src_configure() {
 	local mycmakeargs=(
 		-DLOCALSTATEDIR="${EPREFIX}/var"
 		-DSYSCONFDIR="${EPREFIX}/etc"
-		)
+	)
 	cmake-utils_src_configure
 }