Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/gimp-help/
Date: Sun, 27 Feb 2022 00:54:32
Message-Id: 1645923170.e1ef183ac6db5d4316ee720ab4ba397a8d6fa240.sam@gentoo
1 commit: e1ef183ac6db5d4316ee720ab4ba397a8d6fa240
2 Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
3 AuthorDate: Sun Feb 20 19:03:47 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 27 00:52:50 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1ef183a
7
8 app-doc/gimp-help: add python-3.10 compatibility
9
10 Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 app-doc/gimp-help/gimp-help-2.10.0-r2.ebuild | 35 ++++++++++++++++++++++++++++
14 1 file changed, 35 insertions(+)
15
16 diff --git a/app-doc/gimp-help/gimp-help-2.10.0-r2.ebuild b/app-doc/gimp-help/gimp-help-2.10.0-r2.ebuild
17 new file mode 100644
18 index 000000000000..719b556896f2
19 --- /dev/null
20 +++ b/app-doc/gimp-help/gimp-help-2.10.0-r2.ebuild
21 @@ -0,0 +1,35 @@
22 +# Copyright 1999-2022 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=8
26 +
27 +PYTHON_COMPAT=( python3_{8..10} )
28 +inherit python-any-r1
29 +
30 +DESCRIPTION="GNU Image Manipulation Program help files"
31 +HOMEPAGE="https://docs.gimp.org/"
32 +SRC_URI="mirror://gimp/help/${P}.tar.bz2"
33 +
34 +LICENSE="FDL-1.2"
35 +SLOT="2"
36 +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
37 +IUSE=""
38 +
39 +BDEPEND="
40 + ${PYTHON_DEPS}
41 + sys-devel/gettext
42 + $(python_gen_any_dep 'dev-libs/libxml2[python,${PYTHON_USEDEP}]')
43 + dev-libs/libxslt
44 +"
45 +
46 +# Adds python3 build support, bug 725940
47 +# patch is from https://gitlab.gnome.org/GNOME/gimp-help/-/issues/201
48 +PATCHES=( "${FILESDIR}/${P}-python3.patch" )
49 +
50 +python_check_deps() {
51 + has_version "dev-libs/libxml2[${PYTHON_USEDEP}]"
52 +}
53 +
54 +src_configure() {
55 + econf --without-gimp
56 +}