net-wireless/pyrit: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-02-08 07:56:50 +01:00
parent c1515026b0
commit 783a50c56b
2 changed files with 12 additions and 4 deletions

View 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
@@ -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 )"

View 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
@@ -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 )"