summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 18:41:16 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:34:20 +0100
commite849bd6cd05b80a84459084fa1dde6a90c030aaf (patch)
tree6fdfb61c084b790f7992c1f5284827f07c42fe18 /net-wireless
parentnet-wireless/gnuradio: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-e849bd6cd05b80a84459084fa1dde6a90c030aaf.tar.gz
gentoo-e849bd6cd05b80a84459084fa1dde6a90c030aaf.tar.bz2
gentoo-e849bd6cd05b80a84459084fa1dde6a90c030aaf.zip
net-wireless/gr-air-modes: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/gr-air-modes/gr-air-modes-9999.ebuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/net-wireless/gr-air-modes/gr-air-modes-9999.ebuild b/net-wireless/gr-air-modes/gr-air-modes-9999.ebuild
index 5f10964933fd..c0aad83ffd8c 100644
--- a/net-wireless/gr-air-modes/gr-air-modes-9999.ebuild
+++ b/net-wireless/gr-air-modes/gr-air-modes-9999.ebuild
@@ -24,16 +24,18 @@ IUSE="fgfs rtlsdr uhd"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}
- dev-python/pyzmq[${PYTHON_USEDEP}]
>=net-wireless/gnuradio-3.7.0:=
net-wireless/gr-osmosdr
- fgfs? (
- games-simulation/flightgear
- || (
- sci-libs/scipy-python2[${PYTHON_USEDEP}]
- sci-libs/scipy[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/pyzmq[${PYTHON_MULTI_USEDEP}]
+ fgfs? (
+ games-simulation/flightgear
+ || (
+ sci-libs/scipy-python2[${PYTHON_MULTI_USEDEP}]
+ sci-libs/scipy[${PYTHON_MULTI_USEDEP}]
+ )
)
- )
+ ')
rtlsdr? ( net-wireless/rtl-sdr )
uhd? ( >=net-wireless/uhd-3.4.0 )
"