summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-08 07:56:50 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:46:46 +0100
commit783a50c56ba017cba8448cd96c3d0c9d4e5e6ce2 (patch)
tree001df0c2171e252969ec78c0cea4a4befdba789d /net-wireless/pyrit
parentnet-p2p/nicotine+: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-783a50c56ba017cba8448cd96c3d0c9d4e5e6ce2.tar.gz
gentoo-783a50c56ba017cba8448cd96c3d0c9d4e5e6ce2.tar.bz2
gentoo-783a50c56ba017cba8448cd96c3d0c9d4e5e6ce2.zip
net-wireless/pyrit: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-wireless/pyrit')
-rw-r--r--net-wireless/pyrit/pyrit-0.4.0-r1.ebuild8
-rw-r--r--net-wireless/pyrit/pyrit-0.5.0-r1.ebuild (renamed from net-wireless/pyrit/pyrit-0.5.0.ebuild)8
2 files changed, 12 insertions, 4 deletions
diff --git a/net-wireless/pyrit/pyrit-0.4.0-r1.ebuild b/net-wireless/pyrit/pyrit-0.4.0-r1.ebuild
index 81a725a49490..5f819594a5f5 100644
--- a/net-wireless/pyrit/pyrit-0.4.0-r1.ebuild
+++ b/net-wireless/pyrit/pyrit-0.4.0-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=5
@@ -20,7 +20,11 @@ RESTRICT="!test? ( test )"
DEPEND="dev-libs/openssl
net-libs/libpcap
- test? ( >=net-analyzer/scapy-2[${PYTHON_USEDEP}] )"
+ test? (
+ $(python_gen_cond_dep '
+ >=net-analyzer/scapy-2[${PYTHON_MULTI_USEDEP}]
+ ')
+ )"
RDEPEND=">=net-analyzer/scapy-2
opencl? ( net-wireless/cpyrit-opencl )
cuda? ( net-wireless/cpyrit-cuda )"
diff --git a/net-wireless/pyrit/pyrit-0.5.0.ebuild b/net-wireless/pyrit/pyrit-0.5.0-r1.ebuild
index 0ed8d1961bda..451b7678ac0f 100644
--- a/net-wireless/pyrit/pyrit-0.5.0.ebuild
+++ b/net-wireless/pyrit/pyrit-0.5.0-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
@@ -21,7 +21,11 @@ RESTRICT="!test? ( test )"
DEPEND="dev-libs/openssl
net-libs/libpcap
- test? ( >=net-analyzer/scapy-2[${PYTHON_USEDEP}] )"
+ test? (
+ $(python_gen_cond_dep '
+ >=net-analyzer/scapy-2[${PYTHON_MULTI_USEDEP}]
+ ')
+ )"
RDEPEND=">=net-analyzer/scapy-2
opencl? ( net-wireless/cpyrit-opencl )
cuda? ( net-wireless/cpyrit-cuda )"