media-sound/cadence: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 16:50:25 +0000 (17:50 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:31:18 +0000 (17:31 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
media-sound/cadence/cadence-0.9.0-r4.ebuild [moved from media-sound/cadence/cadence-0.9.0-r3.ebuild with 91% similarity]
media-sound/cadence/cadence-9999.ebuild

similarity index 91%
rename from media-sound/cadence/cadence-0.9.0-r3.ebuild
rename to media-sound/cadence/cadence-0.9.0-r4.ebuild
index 6eb22cdfc3f6cc57c01fa6cc928f64d1b527ff40..08953c0b0c7f1ede815591e87bec8e234b6ac78d 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
@@ -20,8 +20,10 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 # for jack project rendering also needs media-sound/jack_capture which is not in the tree yet
 CDEPEND="
        ${PYTHON_DEPS}
-       dev-python/dbus-python[${PYTHON_USEDEP}]
-       dev-python/PyQt5[dbus,gui,opengl?,svg,widgets,${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
+               dev-python/PyQt5[dbus,gui,opengl?,svg,widgets,${PYTHON_MULTI_USEDEP}]
+       ')
        media-sound/jack2[dbus]
        media-sound/jack_capture
        a2jmidid? ( media-sound/a2jmidid[dbus] )
index 2350c0a718dc8b28a1c49229dd8fd174d640e041..1059f334e102cd5a9602d170451d67b8fe0a7c82 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
@@ -20,8 +20,10 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 # for jack project rendering also needs media-sound/jack_capture which is not in the tree yet
 CDEPEND="
        ${PYTHON_DEPS}
-       dev-python/dbus-python[${PYTHON_USEDEP}]
-       dev-python/PyQt5[dbus,gui,opengl?,svg,widgets,${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
+               dev-python/PyQt5[dbus,gui,opengl?,svg,widgets,${PYTHON_MULTI_USEDEP}]
+       ')
        media-sound/jack2[dbus]
        media-sound/jack_capture
        a2jmidid? ( media-sound/a2jmidid[dbus] )