net-analyzer/nmap: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 17:01:20 +0000 (18:01 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:34:02 +0000 (17:34 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
net-analyzer/nmap/nmap-7.70-r1.ebuild [moved from net-analyzer/nmap/nmap-7.70.ebuild with 97% similarity]
net-analyzer/nmap/nmap-7.80-r1.ebuild [moved from net-analyzer/nmap/nmap-7.80.ebuild with 97% similarity]
net-analyzer/nmap/nmap-9999.ebuild

similarity index 97%
rename from net-analyzer/nmap/nmap-7.70.ebuild
rename to net-analyzer/nmap/nmap-7.70-r1.ebuild
index 4dd55729621381affa8510fdda0de281266301bb..f6b7e054ca37d55a6ee8fe030449d62a5b58003c 100644 (file)
@@ -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}
        )
 "
similarity index 97%
rename from net-analyzer/nmap/nmap-7.80.ebuild
rename to net-analyzer/nmap/nmap-7.80-r1.ebuild
index 3d1303bd82a867a1fad4ca27781ea59a7db0d9bf..a742c24a23230a98fd323b7e4e40e672db428a48 100644 (file)
@@ -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}
        )
 "
index e5440fa3e63e92a209e8ec123263adc21be7de3a..7f9ceb695c1bda7792a4bbea172269463575259c 100644 (file)
@@ -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}
        )
 "