media-plugins/mythplugins: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 16:49:57 +0000 (17:49 +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-plugins/mythplugins/mythplugins-30.0-r1.ebuild [moved from media-plugins/mythplugins/mythplugins-30.0.ebuild with 92% similarity]

similarity index 92%
rename from media-plugins/mythplugins/mythplugins-30.0.ebuild
rename to media-plugins/mythplugins/mythplugins-30.0-r1.ebuild
index b574a2449e668ee10754bf97d7166aa9862332c1..c8dc9edb4fb1274360bfca0053a887a912985790 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
@@ -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