From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 467E115808C for ; Sun, 27 Feb 2022 00:54:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 306EEE0938; Sun, 27 Feb 2022 00:54:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 139A1E0938 for ; Sun, 27 Feb 2022 00:54:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5E9FC342F81 for ; Sun, 27 Feb 2022 00:54:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 486132FA for ; Sun, 27 Feb 2022 00:54:27 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1645923170.e1ef183ac6db5d4316ee720ab4ba397a8d6fa240.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-doc/gimp-help/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-doc/gimp-help/gimp-help-2.10.0-r2.ebuild X-VCS-Directories: app-doc/gimp-help/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e1ef183ac6db5d4316ee720ab4ba397a8d6fa240 X-VCS-Branch: master Date: Sun, 27 Feb 2022 00:54:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5d6f208a-60d6-4e74-a228-1102a4cc49d2 X-Archives-Hash: 3fb93006fc595667b069d11d286bbce7 commit: e1ef183ac6db5d4316ee720ab4ba397a8d6fa240 Author: Sergey Torokhov yandex ru> AuthorDate: Sun Feb 20 19:03:47 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Feb 27 00:52:50 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1ef183a app-doc/gimp-help: add python-3.10 compatibility Signed-off-by: Sergey Torokhov yandex.ru> Signed-off-by: Sam James gentoo.org> app-doc/gimp-help/gimp-help-2.10.0-r2.ebuild | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) 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 new file mode 100644 index 000000000000..719b556896f2 --- /dev/null +++ b/app-doc/gimp-help/gimp-help-2.10.0-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit python-any-r1 + +DESCRIPTION="GNU Image Manipulation Program help files" +HOMEPAGE="https://docs.gimp.org/" +SRC_URI="mirror://gimp/help/${P}.tar.bz2" + +LICENSE="FDL-1.2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="" + +BDEPEND=" + ${PYTHON_DEPS} + sys-devel/gettext + $(python_gen_any_dep 'dev-libs/libxml2[python,${PYTHON_USEDEP}]') + dev-libs/libxslt +" + +# Adds python3 build support, bug 725940 +# patch is from https://gitlab.gnome.org/GNOME/gimp-help/-/issues/201 +PATCHES=( "${FILESDIR}/${P}-python3.patch" ) + +python_check_deps() { + has_version "dev-libs/libxml2[${PYTHON_USEDEP}]" +} + +src_configure() { + econf --without-gimp +}