commit:     27570f51e99b2ef9d02d5c3ecc9cc012d9c6c8b8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  8 07:16:52 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:46:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27570f51

media-gfx/gnofract4d: Switch to PYTHON_MULTI_USEDEP API

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

 ...nofract4d-4.0.1_p1.ebuild => gnofract4d-4.0.1_p1-r1.ebuild} | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/media-gfx/gnofract4d/gnofract4d-4.0.1_p1.ebuild 
b/media-gfx/gnofract4d/gnofract4d-4.0.1_p1-r1.ebuild
similarity index 87%
rename from media-gfx/gnofract4d/gnofract4d-4.0.1_p1.ebuild
rename to media-gfx/gnofract4d/gnofract4d-4.0.1_p1-r1.ebuild
index ced5f71ac32..1563bc834fd 100644
--- a/media-gfx/gnofract4d/gnofract4d-4.0.1_p1.ebuild
+++ b/media-gfx/gnofract4d/gnofract4d-4.0.1_p1-r1.ebuild
@@ -25,14 +25,18 @@ COMMON_DEPEND="
        media-libs/libpng:0=
        virtual/jpeg:0"
 RDEPEND="${COMMON_DEPEND}
-       dev-python/pycairo[${PYTHON_USEDEP}]
-       dev-python/pygobject:3[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/pycairo[${PYTHON_MULTI_USEDEP}]
+               dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
+       ')
        x11-libs/gtk+:3[introspection]"
 BDEPEND="virtual/pkgconfig"
 DEPEND="${COMMON_DEPEND}
        doc? (
                app-text/docbook-xsl-stylesheets
-               dev-python/pygobject[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       dev-python/pygobject[${PYTHON_MULTI_USEDEP}]
+               ')
                dev-libs/libxslt
                x11-libs/gtk+:3[introspection]
        )"

Reply via email to