From 304623dfcd7271ea0da71f9a496a8564fb31c01a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 7 Feb 2020 18:01:20 +0100 Subject: [PATCH] net-analyzer/nmap: Switch to PYTHON_MULTI_USEDEP API MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- net-analyzer/nmap/{nmap-7.70.ebuild => nmap-7.70-r1.ebuild} | 6 ++++-- net-analyzer/nmap/{nmap-7.80.ebuild => nmap-7.80-r1.ebuild} | 6 ++++-- net-analyzer/nmap/nmap-9999.ebuild | 4 +++- 3 files changed, 11 insertions(+), 5 deletions(-) rename net-analyzer/nmap/{nmap-7.70.ebuild => nmap-7.70-r1.ebuild} (97%) rename net-analyzer/nmap/{nmap-7.80.ebuild => nmap-7.80-r1.ebuild} (97%) diff --git a/net-analyzer/nmap/nmap-7.70.ebuild b/net-analyzer/nmap/nmap-7.70-r1.ebuild similarity index 97% rename from net-analyzer/nmap/nmap-7.70.ebuild rename to net-analyzer/nmap/nmap-7.70-r1.ebuild index 4dd557296213..f6b7e054ca37 100644 --- a/net-analyzer/nmap/nmap-7.70.ebuild +++ b/net-analyzer/nmap/nmap-7.70-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -47,7 +47,9 @@ RDEPEND=" ) system-lua? ( >=dev-lang/lua-5.2:*[deprecated] ) zenmap? ( - dev-python/pygtk:2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/pygtk:2[${PYTHON_MULTI_USEDEP}] + ') ${PYTHON_DEPS} ) " diff --git a/net-analyzer/nmap/nmap-7.80.ebuild b/net-analyzer/nmap/nmap-7.80-r1.ebuild similarity index 97% rename from net-analyzer/nmap/nmap-7.80.ebuild rename to net-analyzer/nmap/nmap-7.80-r1.ebuild index 3d1303bd82a8..a742c24a2323 100644 --- a/net-analyzer/nmap/nmap-7.80.ebuild +++ b/net-analyzer/nmap/nmap-7.80-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -50,7 +50,9 @@ RDEPEND=" ) system-lua? ( >=dev-lang/lua-5.2:*[deprecated] ) zenmap? ( - dev-python/pygtk:2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/pygtk:2[${PYTHON_MULTI_USEDEP}] + ') ${PYTHON_DEPS} ) " diff --git a/net-analyzer/nmap/nmap-9999.ebuild b/net-analyzer/nmap/nmap-9999.ebuild index e5440fa3e63e..7f9ceb695c1b 100644 --- a/net-analyzer/nmap/nmap-9999.ebuild +++ b/net-analyzer/nmap/nmap-9999.ebuild @@ -48,7 +48,9 @@ RDEPEND=" ) system-lua? ( >=dev-lang/lua-5.2:*[deprecated] ) zenmap? ( - dev-python/pygtk:2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/pygtk:2[${PYTHON_MULTI_USEDEP}] + ') ${PYTHON_DEPS} ) " -- 2.26.2