media-gfx/krita: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 15:04:22 +0000 (16:04 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:26:50 +0000 (17:26 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
media-gfx/krita/krita-4.2.7.1-r1.ebuild [moved from media-gfx/krita/krita-4.2.7.1.ebuild with 95% similarity]
media-gfx/krita/krita-4.2.8.2-r1.ebuild [moved from media-gfx/krita/krita-4.2.8.2.ebuild with 95% similarity]

similarity index 95%
rename from media-gfx/krita/krita-4.2.7.1.ebuild
rename to media-gfx/krita/krita-4.2.7.1-r1.ebuild
index 4c9525d74aae15b48ed834f8710c8bdbd55cf9aa..2d2e1b4c6547b960dbde167bf619b4c80c4345e9 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
@@ -50,8 +50,10 @@ COMMON_DEPEND="${PYTHON_DEPS}
        $(add_qt_dep qtxml)
        dev-libs/boost:=
        dev-libs/quazip
-       dev-python/PyQt5[${PYTHON_USEDEP}]
-       dev-python/sip[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/PyQt5[${PYTHON_MULTI_USEDEP}]
+               dev-python/sip[${PYTHON_MULTI_USEDEP}]
+       ')
        media-gfx/exiv2:=
        media-libs/lcms
        media-libs/libpng:0=
similarity index 95%
rename from media-gfx/krita/krita-4.2.8.2.ebuild
rename to media-gfx/krita/krita-4.2.8.2-r1.ebuild
index 99703d1a2126533179da72c8dbc1bfdc9047b901..2348b287dfb9e5fa2eb1670367d52fa4724725b0 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
@@ -31,8 +31,10 @@ BDEPEND="
 RDEPEND="${PYTHON_DEPS}
        dev-libs/boost:=
        dev-libs/quazip
-       dev-python/PyQt5[${PYTHON_USEDEP}]
-       dev-python/sip[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/PyQt5[${PYTHON_MULTI_USEDEP}]
+               dev-python/sip[${PYTHON_MULTI_USEDEP}]
+       ')
        >=dev-qt/qtconcurrent-${QTMIN}:5
        >=dev-qt/qtdbus-${QTMIN}:5
        >=dev-qt/qtdeclarative-${QTMIN}:5