commit:     053f10d95c0b280dc702d684e5b16aefcef153ba
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 12:53:05 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:17:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=053f10d9

dev-libs/gobject-introspection: Switch to PYTHON_MULTI_USEDEP API

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

 ...1.60.2.ebuild => gobject-introspection-1.60.2-r1.ebuild} | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.60.2.ebuild 
b/dev-libs/gobject-introspection/gobject-introspection-1.60.2-r1.ebuild
similarity index 90%
rename from dev-libs/gobject-introspection/gobject-introspection-1.60.2.ebuild
rename to dev-libs/gobject-introspection/gobject-introspection-1.60.2-r1.ebuild
index 4b780a3b6c9..8a63af2a15f 100644
--- a/dev-libs/gobject-introspection/gobject-introspection-1.60.2.ebuild
+++ b/dev-libs/gobject-introspection/gobject-introspection-1.60.2-r1.ebuild
@@ -24,8 +24,12 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 
s390 ~sh sparc x86 ~a
 RDEPEND="
        >=dev-libs/gobject-introspection-common-${PV}
        >=dev-libs/glib-2.58.0:2
-       doctool? ( dev-python/mako[${PYTHON_USEDEP}]
-               dev-python/markdown[${PYTHON_USEDEP}] )
+       doctool? (
+               $(python_gen_cond_dep '
+                       dev-python/mako[${PYTHON_MULTI_USEDEP}]
+                       dev-python/markdown[${PYTHON_MULTI_USEDEP}]
+               ')
+       )
        virtual/libffi:=
        virtual/pkgconfig
        !<dev-lang/vala-0.20.0
@@ -38,7 +42,10 @@ DEPEND="${RDEPEND}
        sys-devel/flex
        test? (
                x11-libs/cairo[glib]
-               dev-python/markdown[${PYTHON_USEDEP}] )
+               $(python_gen_cond_dep '
+                       dev-python/markdown[${PYTHON_MULTI_USEDEP}]
+               ')
+       )
 " # autoreconf needs autoconf-archive
 # PDEPEND to avoid circular dependencies, bug #391213; but needed for tests, 
thus test DEPEND as well
 PDEPEND="cairo? ( x11-libs/cairo[glib] )"

Reply via email to