dev-libs/gobject-introspection: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 12:53:05 +0000 (13:53 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:17:47 +0000 (17:17 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-libs/gobject-introspection/gobject-introspection-1.60.2-r1.ebuild [moved from dev-libs/gobject-introspection/gobject-introspection-1.60.2.ebuild with 90% similarity]

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 4b780a3b6c9b60ce4a3591aa3b5a02fd961a1117..8a63af2a15f4981e29036aef670ee0749aaad8d9 100644 (file)
@@ -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] )"