net-wireless/gr-foo: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 17:43:06 +0000 (18:43 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:34:22 +0000 (17:34 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
net-wireless/gr-foo/gr-foo-9999.ebuild

index b54cc9402c9af366d15aa631b2949a5a7d8f6359..035e0e058a23b01d622dc23d7e30357c7d87d189 100644 (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=7
@@ -22,9 +22,11 @@ SLOT="0/${PV}"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
-       dev-libs/boost:=[${PYTHON_USEDEP}]
-       >=net-wireless/gnuradio-3.7_rc:0=[${PYTHON_USEDEP}]
-       net-wireless/uhd:=[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-libs/boost:=[${PYTHON_MULTI_USEDEP}]
+       ')
+       >=net-wireless/gnuradio-3.7_rc:0=[${PYTHON_SINGLE_USEDEP}]
+       net-wireless/uhd:=[${PYTHON_SINGLE_USEDEP}]
 "
 DEPEND="${RDEPEND}
        dev-lang/swig:0