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/pyrit-0.4.0-r1.ebuild
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/pyrit-0.4.0-r1.ebuild')
-rw-r--r--net-wireless/pyrit/pyrit-0.4.0-r1.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/net-wireless/pyrit/pyrit-0.4.0-r1.ebuild b/net-wireless/pyrit/pyrit-0.4.0-r1.ebuild
index 81a725a4949..5f819594a5f 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 )"