commit:     8a667ad6f566b9bec1e7201f7f837115c180c2f1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 16:50:25 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:31:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a667ad6

media-sound/cadence: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../cadence/{cadence-0.9.0-r3.ebuild => cadence-0.9.0-r4.ebuild}  | 8 +++++---
 media-sound/cadence/cadence-9999.ebuild                           | 8 +++++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/media-sound/cadence/cadence-0.9.0-r3.ebuild 
b/media-sound/cadence/cadence-0.9.0-r4.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 6eb22cdfc3f..08953c0b0c7 100644
--- a/media-sound/cadence/cadence-0.9.0-r3.ebuild
+++ b/media-sound/cadence/cadence-0.9.0-r4.ebuild
@@ -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] )

diff --git a/media-sound/cadence/cadence-9999.ebuild 
b/media-sound/cadence/cadence-9999.ebuild
index 2350c0a718d..1059f334e10 100644
--- a/media-sound/cadence/cadence-9999.ebuild
+++ b/media-sound/cadence/cadence-9999.ebuild
@@ -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] )

Reply via email to