commit:     5567152dca265bc888aa14531bccff727ae19904
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 16:49:57 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=5567152d

media-plugins/mythplugins: Switch to PYTHON_MULTI_USEDEP API

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

 ...ythplugins-30.0.ebuild => mythplugins-30.0-r1.ebuild} | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/media-plugins/mythplugins/mythplugins-30.0.ebuild 
b/media-plugins/mythplugins/mythplugins-30.0-r1.ebuild
similarity index 92%
rename from media-plugins/mythplugins/mythplugins-30.0.ebuild
rename to media-plugins/mythplugins/mythplugins-30.0-r1.ebuild
index b574a2449e6..c8dc9edb4fb 100644
--- a/media-plugins/mythplugins/mythplugins-30.0.ebuild
+++ b/media-plugins/mythplugins/mythplugins-30.0-r1.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
@@ -56,7 +56,9 @@ DEPEND="
        
=media-tv/mythtv-${PV}*[alsa?,cdda?,cdr?,exif?,fftw?,ieee1394?,libass?,opengl?,python,raw?,xml?,xvid]
        mytharchive? (
                app-cdr/dvd+rw-tools
-               dev-python/pillow[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       dev-python/pillow[${PYTHON_MULTI_USEDEP}]
+               ')
                media-video/dvdauthor
                media-video/mjpegtools[png]
                media-video/transcode
@@ -84,10 +86,12 @@ DEPEND="
                )
        )
        mythnetvision? (
-               dev-python/pycurl[${PYTHON_USEDEP}]
-               dev-python/lxml[${PYTHON_USEDEP}]
-               dev-python/mysql-python[${PYTHON_USEDEP}]
-               dev-python/oauth[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       dev-python/pycurl[${PYTHON_MULTI_USEDEP}]
+                       dev-python/lxml[${PYTHON_MULTI_USEDEP}]
+                       dev-python/mysql-python[${PYTHON_MULTI_USEDEP}]
+                       dev-python/oauth[${PYTHON_MULTI_USEDEP}]
+               ')
        )
        mythweather? (
                dev-perl/Date-Manip

Reply via email to