mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-wireless/pyrit: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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 )"
|
||||
|
||||
@@ -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 )"
|
||||
Reference in New Issue
Block a user