app-text/xiphos: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 11:38:16 +0000 (12:38 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:17:22 +0000 (17:17 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
app-text/xiphos/xiphos-4.0.6a-r2.ebuild [moved from app-text/xiphos/xiphos-4.0.6a-r1.ebuild with 87% similarity]
app-text/xiphos/xiphos-4.1.0-r2.ebuild [moved from app-text/xiphos/xiphos-4.1.0-r1.ebuild with 86% similarity]

similarity index 87%
rename from app-text/xiphos/xiphos-4.0.6a-r1.ebuild
rename to app-text/xiphos/xiphos-4.0.6a-r2.ebuild
index c131ac2b16a738188ad2046f9cf7156c0cde4193..4ca64d0c5aae5b632015f4487f2f587fc1898330 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=6
@@ -21,24 +21,28 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RDEPEND="${PYTHON_DEPS}
        >=app-text/sword-1.7.4
        dev-libs/glib:2
-       dev-libs/libxml2:2[${PYTHON_USEDEP}]
-       gnome-base/gconf[${PYTHON_USEDEP}]
        gnome-extra/gtkhtml:4.0
        >=gnome-extra/libgsf-1.14
        net-libs/webkit-gtk:4
        x11-libs/gtk+:3
+       $(python_gen_cond_dep '
+               dev-libs/libxml2:2[${PYTHON_MULTI_USEDEP}]
+               gnome-base/gconf[${PYTHON_MULTI_USEDEP}]
+       ')
        dbus? ( dev-libs/dbus-glib )
 "
 DEPEND="${RDEPEND}
        app-text/docbook2X
-       app-text/gnome-doc-utils[${PYTHON_USEDEP}]
        app-text/rarian
-       dev-libs/libxslt[${PYTHON_USEDEP}]
        dev-util/intltool
        dev-util/glib-utils
        >=net-libs/biblesync-1.1.2-r1[-static]
        virtual/pkgconfig
        sys-devel/gettext
+       $(python_gen_cond_dep '
+               app-text/gnome-doc-utils[${PYTHON_MULTI_USEDEP}]
+               dev-libs/libxslt[${PYTHON_MULTI_USEDEP}]
+       ')
 "
 
 pkg_setup() {
similarity index 86%
rename from app-text/xiphos/xiphos-4.1.0-r1.ebuild
rename to app-text/xiphos/xiphos-4.1.0-r2.ebuild
index 355ed3f118cb736d65d4b5dfba5da26997c14541..159e9351269a609dea3072b31ad3f20973567b44 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=6
@@ -19,24 +19,28 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 RDEPEND="${PYTHON_DEPS}
        >=app-text/sword-1.8.0
        dev-libs/glib:2
-       dev-libs/libxml2:2[${PYTHON_USEDEP}]
-       gnome-base/gconf[${PYTHON_USEDEP}]
        gnome-extra/gtkhtml:4.0
        >=gnome-extra/libgsf-1.14
        net-libs/webkit-gtk:4
        x11-libs/gtk+:3
+       $(python_gen_cond_dep '
+               dev-libs/libxml2:2[${PYTHON_MULTI_USEDEP}]
+               gnome-base/gconf[${PYTHON_MULTI_USEDEP}]
+       ')
        dbus? ( dev-libs/dbus-glib )
 "
 DEPEND="${RDEPEND}
        app-text/docbook2X
-       app-text/gnome-doc-utils[${PYTHON_USEDEP}]
        app-text/rarian
-       dev-libs/libxslt[${PYTHON_USEDEP}]
        dev-util/glib-utils
        dev-util/intltool
        >=net-libs/biblesync-1.1.2-r1[-static]
        virtual/pkgconfig
        sys-devel/gettext
+       $(python_gen_cond_dep '
+               app-text/gnome-doc-utils[${PYTHON_MULTI_USEDEP}]
+               dev-libs/libxslt[${PYTHON_MULTI_USEDEP}]
+       ')
 "
 
 pkg_setup() {