net-libs/nfqueue-bindings: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 17:27:00 +0000 (18:27 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:34:09 +0000 (17:34 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
net-libs/nfqueue-bindings/nfqueue-bindings-0.5.ebuild
net-libs/nfqueue-bindings/nfqueue-bindings-0.6-r1.ebuild [moved from net-libs/nfqueue-bindings/nfqueue-bindings-0.6.ebuild with 94% similarity]

index 208daba1fd233d42597eead24929d8c351ac9ede..97d6ee2d4ac5dfed50be5d892400b6c473a738d9 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=5
@@ -19,7 +19,9 @@ REQUIRED_USE="|| ( perl python ) python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="
        python? (
-               dev-python/dpkt[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       dev-python/dpkt[${PYTHON_MULTI_USEDEP}]
+               ')
                ${PYTHON_DEPS}
        )"
 DEPEND="${RDEPEND}
similarity index 94%
rename from net-libs/nfqueue-bindings/nfqueue-bindings-0.6.ebuild
rename to net-libs/nfqueue-bindings/nfqueue-bindings-0.6-r1.ebuild
index fb8f566b9270738e78a18eeb1ae62ac41b8bfe85..56b6ed038b47caf358baf4d06d42cd8f4ff451a8 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=5
@@ -19,7 +19,9 @@ REQUIRED_USE="|| ( perl python ) python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="
        python? (
-               dev-python/dpkt[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       dev-python/dpkt[${PYTHON_MULTI_USEDEP}]
+               ')
                ${PYTHON_DEPS}
        )"
 DEPEND="${RDEPEND}