net-wireless/mousejack: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 17:47:43 +0000 (18:47 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:34:31 +0000 (17:34 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
net-wireless/mousejack/mousejack-0.0_p20160726-r2.ebuild [moved from net-wireless/mousejack/mousejack-0.0_p20160726-r1.ebuild with 90% similarity]

similarity index 90%
rename from net-wireless/mousejack/mousejack-0.0_p20160726-r1.ebuild
rename to net-wireless/mousejack/mousejack-0.0_p20160726-r2.ebuild
index 207ef24f16c27d1b087401a0d721ab7f4b8a4d10..f5149a462303d9fb1d4ca09e99ddd0d29b63dc1d 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=6
@@ -19,8 +19,10 @@ REQUIRED_USE=${PYTHON_REQUIRED_USE}
 
 DEPEND="dev-embedded/sdcc[device-lib,mcs51,sdbinutils]"
 RDEPEND="${DEPEND}
-               ${PYTHON_DEPS}
-               dev-python/pyusb[${PYTHON_USEDEP}]"
+       ${PYTHON_DEPS}
+       $(python_gen_cond_dep '
+               dev-python/pyusb[${PYTHON_MULTI_USEDEP}]
+       ')"
 
 src_prepare() {
        mv tools/lib tools/nrf24 || die