commit:     0e227570475e0b1becac7f986ac7f2a6b59a36ac
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Sun Feb  9 10:30:58 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 11 10:20:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e227570

app-doc/gimp-help: fix missing python_check_deps()

Closes: https://bugs.gentoo.org/708566
Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/14603
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-doc/gimp-help/gimp-help-2.10.0.ebuild | 6 +++++-
 app-doc/gimp-help/gimp-help-2.8.2.ebuild  | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/app-doc/gimp-help/gimp-help-2.10.0.ebuild 
b/app-doc/gimp-help/gimp-help-2.10.0.ebuild
index 7041b5998ba..5180a87afe2 100644
--- a/app-doc/gimp-help/gimp-help-2.10.0.ebuild
+++ b/app-doc/gimp-help/gimp-help-2.10.0.ebuild
@@ -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=7
@@ -23,6 +23,10 @@ DEPEND="$(python_gen_any_dep 
'dev-libs/libxml2[python,${PYTHON_USEDEP}]')
        dev-libs/libxslt
 "
 
+python_check_deps() {
+       has_version "dev-libs/libxml2[${PYTHON_USEDEP}]"
+}
+
 src_configure() {
        econf --without-gimp
 }

diff --git a/app-doc/gimp-help/gimp-help-2.8.2.ebuild 
b/app-doc/gimp-help/gimp-help-2.8.2.ebuild
index eddf386a020..f1f2dea4b62 100644
--- a/app-doc/gimp-help/gimp-help-2.8.2.ebuild
+++ b/app-doc/gimp-help/gimp-help-2.8.2.ebuild
@@ -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,6 +21,10 @@ DEPEND="${PYTHON_DEPS}
        sys-devel/gettext
 "
 
+python_check_deps() {
+       has_version "dev-libs/libxml2[${PYTHON_USEDEP}]"
+}
+
 src_configure() {
        econf --without-gimp
 }

Reply via email to