summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 16:04:47 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:26:51 +0100
commit658af902b69382fe012cdba3de81f53be1d34c04 (patch)
tree76f5569684b35fe71ebd3f635f39ca650477648d /media-gfx
parentmedia-gfx/krita: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-658af902b69382fe012cdba3de81f53be1d34c04.tar.gz
gentoo-658af902b69382fe012cdba3de81f53be1d34c04.tar.bz2
gentoo-658af902b69382fe012cdba3de81f53be1d34c04.zip
media-gfx/mypaint: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/mypaint/mypaint-1.2.1-r5.ebuild (renamed from media-gfx/mypaint/mypaint-1.2.1-r4.ebuild)16
1 files 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
index d30ef32ed435..a55e00599696 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