commit:     658af902b69382fe012cdba3de81f53be1d34c04
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 15:04:47 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:26:51 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=658af902

media-gfx/mypaint: Switch to PYTHON_MULTI_USEDEP API

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

 .../{mypaint-1.2.1-r4.ebuild => mypaint-1.2.1-r5.ebuild} | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/media-gfx/mypaint/mypaint-1.2.1-r4.ebuild 
b/media-gfx/mypaint/mypaint-1.2.1-r5.ebuild
similarity index 85%
rename from media-gfx/mypaint/mypaint-1.2.1-r4.ebuild
rename to media-gfx/mypaint/mypaint-1.2.1-r5.ebuild
index d30ef32ed43..a55e0059969 100644
--- a/media-gfx/mypaint/mypaint-1.2.1-r4.ebuild
+++ b/media-gfx/mypaint/mypaint-1.2.1-r5.ebuild
@@ -20,13 +20,15 @@ REQUIRED_USE=${PYTHON_REQUIRED_USE}
 LANGS="cs de en_CA en_GB es fr hu id it ja ko nb nn_NO pl pt_BR ro ru sl sv uk 
zh_CN zh_TW"
 
 RDEPEND="${PYTHON_DEPS}
-       dev-python/pygobject:3[${PYTHON_USEDEP}]
-       || (
-               dev-python/numpy-python2[${PYTHON_USEDEP}]
-               dev-python/numpy[${PYTHON_USEDEP}]
-       )
-       >=dev-python/pycairo-1.4[${PYTHON_USEDEP}]
-       dev-python/protobuf-python[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
+               || (
+                       dev-python/numpy-python2[${PYTHON_MULTI_USEDEP}]
+                       dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+               )
+               >=dev-python/pycairo-1.4[${PYTHON_MULTI_USEDEP}]
+               dev-python/protobuf-python[${PYTHON_MULTI_USEDEP}]
+       ')
        >=dev-libs/json-c-0.11:=
        media-libs/lcms:2
        >=media-libs/libmypaint-1.3.0

Reply via email to