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 F000E158094 for ; Fri, 30 Sep 2022 20:41:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58195E07B3; Fri, 30 Sep 2022 20:41:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 2EDACE07B3 for ; Fri, 30 Sep 2022 20:41:03 +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 57031340E0B for ; Fri, 30 Sep 2022 20:41:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B64975EC for ; Fri, 30 Sep 2022 20:41:00 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1664570454.0f18362d00cc2a0c5764c9170c3a9f805df928b9.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/pluma/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/pluma/Manifest app-editors/pluma/pluma-1.26.0.ebuild X-VCS-Directories: app-editors/pluma/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 0f18362d00cc2a0c5764c9170c3a9f805df928b9 X-VCS-Branch: master Date: Fri, 30 Sep 2022 20:41:00 +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: acad9720-812e-41cc-8142-84c0e8ff3372 X-Archives-Hash: 79a019d8dd36a692d8804de639ada786 commit: 0f18362d00cc2a0c5764c9170c3a9f805df928b9 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Sep 30 20:25:03 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Sep 30 20:40:54 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f18362d app-editors/pluma: add 1.26.0, EAPI=6->7, enable tests - enable tests (skip the one failing test) - enable py3.11, drop py3.6 and py3.7 - organize the declarations - bump versions for dependencies Closes: https://bugs.gentoo.org/866911 Signed-off-by: Arthur Zamarin gentoo.org> app-editors/pluma/Manifest | 1 + app-editors/pluma/pluma-1.26.0.ebuild | 79 +++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/app-editors/pluma/Manifest b/app-editors/pluma/Manifest index c481a1b9a671..eb90445d2fa3 100644 --- a/app-editors/pluma/Manifest +++ b/app-editors/pluma/Manifest @@ -1 +1,2 @@ DIST pluma-1.24.2.tar.xz 3745160 BLAKE2B ed855b19f1ab80cb6ef9bc175eea3c2af386b1e45123bc0e3ad93d1964efb4822fe1b3d7490308357fcff96557bb6189f081a467f41a6907e76a1961de8f23d3 SHA512 588640744f8a0bec08d0c51c0309380a57cb6319c98124885e30d05e7dd8488ba7bd5acec1bf21fb0d6832626ae8925b24cd241202265af1a631a91313cdad2b +DIST pluma-1.26.0.tar.xz 3765056 BLAKE2B 4a3107df7c4ba906d405b5ef3ea6dd9ca0e372a7b00224213fc8a60d1dc26663d1363aa7f0569b0242407f5b5d850386308fae9192c4a33f577295bb55ef5a16 SHA512 a6c0cee7110f4863e44af51b19bb528f0f3570eab8db98038152bf142eedde97ac13b896deff7051b941a0f43c6fe14e316a97eba40fe5d4854d76038450245f diff --git a/app-editors/pluma/pluma-1.26.0.ebuild b/app-editors/pluma/pluma-1.26.0.ebuild new file mode 100644 index 000000000000..cae48f8c333e --- /dev/null +++ b/app-editors/pluma/pluma-1.26.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MATE_LA_PUNT="yes" +PYTHON_COMPAT=( python3_{8..11} ) +inherit mate python-single-r1 virtualx + +DESCRIPTION="Pluma text editor for the MATE desktop" + +LICENSE="FDL-1.1+ GPL-2+ LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" +IUSE="+introspection spell test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + dev-libs/atk + >=dev-libs/glib-2.50:2 + >=dev-libs/libpeas-1.2.0[gtk] + >=dev-libs/libxml2-2.5:2 + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-3.22:3[introspection?] + >=x11-libs/gtksourceview-4.0.2:4 + x11-libs/libICE + x11-libs/libX11 + >=x11-libs/libSM-1.0 + x11-libs/pango + introspection? ( >=dev-libs/gobject-introspection-0.9.3:= ) + spell? ( + >=app-text/enchant-1.6:= + >=app-text/iso-codes-0.35 + ) + !!app-editors/mate-text-editor +" +RDEPEND="${COMMON_DEPEND} + ${PYTHON_DEPS} + >=mate-base/mate-desktop-1.9[introspection?] + virtual/libintl +" +DEPEND="${COMMON_DEPEND} + ~app-text/docbook-xml-dtd-4.1.2 + app-text/yelp-tools + dev-util/glib-utils + dev-util/gtk-doc + dev-util/gtk-doc-am + >=sys-devel/libtool-2.2.6:2 + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +MATE_FORCE_AUTORECONF=true + +src_prepare() { + # Test require gvfs sftp fs mounted and schema's installed. Skip this one. + # https://github.com/mate-desktop/mate-text-editor/issues/33 + sed -e '/+= document-saver/d' -i tests/Makefile.am || die + + mate_src_prepare +} + +src_configure() { + mate_src_configure \ + $(use_enable introspection) \ + $(use_enable spell) \ + $(use_enable test tests) +} + +src_test() { + # FIXME: This should be handled at eclass level. + "${EPREFIX}/${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die + + unset DBUS_SESSION_BUS_ADDRESS + local -x GSETTINGS_SCHEMA_DIR="${S}/data" + virtx emake check +}