commit:     05b8398c0b4125f5dff270ad320e9035bba9ae1b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 11:28:52 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:10:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05b8398c

app-office/moneyguru: Switch to PYTHON_MULTI_USEDEP API

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

 .../{moneyguru-2.13.1-r1.ebuild => moneyguru-2.13.1-r2.ebuild}    | 8 ++++++--
 .../{moneyguru-3.0.1-r1.ebuild => moneyguru-3.0.1-r2.ebuild}      | 8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/app-office/moneyguru/moneyguru-2.13.1-r1.ebuild 
b/app-office/moneyguru/moneyguru-2.13.1-r2.ebuild
similarity index 83%
rename from app-office/moneyguru/moneyguru-2.13.1-r1.ebuild
rename to app-office/moneyguru/moneyguru-2.13.1-r2.ebuild
index 5e3aaab58e1..31987d2240e 100644
--- a/app-office/moneyguru/moneyguru-2.13.1-r1.ebuild
+++ b/app-office/moneyguru/moneyguru-2.13.1-r2.ebuild
@@ -21,11 +21,15 @@ REQUIRED_USE=${PYTHON_REQUIRED_USE}
 RDEPEND="${PYTHON_DEPS}
        dev-db/sqlite:3
        dev-libs/glib:2
-       dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,printsupport]
+       $(python_gen_cond_dep '
+               
dev-python/PyQt5[${PYTHON_MULTI_USEDEP},gui,widgets,printsupport]
+       ')
        dev-qt/qttranslations"
 DEPEND="${RDEPEND}
        test? (
-               <dev-python/pytest-4[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       <dev-python/pytest-4[${PYTHON_MULTI_USEDEP}]
+               ')
                dev-util/cunit
        )"
 

diff --git a/app-office/moneyguru/moneyguru-3.0.1-r1.ebuild 
b/app-office/moneyguru/moneyguru-3.0.1-r2.ebuild
similarity index 84%
rename from app-office/moneyguru/moneyguru-3.0.1-r1.ebuild
rename to app-office/moneyguru/moneyguru-3.0.1-r2.ebuild
index db78b348715..ba927b91e60 100644
--- a/app-office/moneyguru/moneyguru-3.0.1-r1.ebuild
+++ b/app-office/moneyguru/moneyguru-3.0.1-r2.ebuild
@@ -21,11 +21,15 @@ REQUIRED_USE=${PYTHON_REQUIRED_USE}
 RDEPEND="${PYTHON_DEPS}
        dev-db/sqlite:3
        dev-libs/glib:2
-       dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets,printsupport]
+       $(python_gen_cond_dep '
+               
dev-python/PyQt5[${PYTHON_MULTI_USEDEP},gui,widgets,printsupport]
+       ')
        dev-qt/qttranslations"
 DEPEND="${RDEPEND}
        test? (
-               dev-python/pytest[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       dev-python/pytest[${PYTHON_MULTI_USEDEP}]
+               ')
                dev-util/cunit
        )"
 

Reply via email to