public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/pluma-plugins/
Date: Thu,  6 Jun 2024 00:45:41 +0000 (UTC)	[thread overview]
Message-ID: <1717634688.bda6a15fb89b0b04bfa72ee37b59583d47f57ce3.sam@gentoo> (raw)

commit:     bda6a15fb89b0b04bfa72ee37b59583d47f57ce3
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Wed Jun  5 03:39:00 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun  6 00:44:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bda6a15f

app-editors/pluma-plugins: remove support for all USE other than python

They control inert files installed to the plugins directory, and you
have to enable the plugins in the pluma settings.

Half these plugins require nothing other than python itself, and cannot
be disabled other than via --disable-python, which means offering to
refrain from installing them is a QA violation of PG-0301 (installation
of small files).

The remaining plugins have trivially satisfiable dependencies and still
violate the small files policy. The build system provides zero help
here, since the dependencies are automagically detected and there is no
option to disable them.

Having 5 different USE flags on top of the python one is pointless
complexity, so delete them.

...

Also while we are moving the USE-dependent plugin dependencies into the
python block? dbus-python was missing a USEDEP on the python impl, so
even enabling synctex would not actually help... add that in properly.

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../pluma-plugins/pluma-plugins-1.26.0-r3.ebuild   | 72 ++++++++++++++++++++++
 1 file changed, 72 insertions(+)

diff --git a/app-editors/pluma-plugins/pluma-plugins-1.26.0-r3.ebuild b/app-editors/pluma-plugins/pluma-plugins-1.26.0-r3.ebuild
new file mode 100644
index 000000000000..cf3247965042
--- /dev/null
+++ b/app-editors/pluma-plugins/pluma-plugins-1.26.0-r3.ebuild
@@ -0,0 +1,72 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MATE_LA_PUNT="yes"
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit mate python-single-r1
+
+if [[ ${PV} != 9999 ]]; then
+	KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="A set of plugins for Pluma, the MATE text editor."
+LICENSE="FDL-1.1+ GPL-2+ LGPL-2+"
+SLOT="0"
+
+IUSE="+python"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+	>=dev-libs/libpeas-1.14.1:0[gtk]
+	>=app-editors/pluma-1.25.3
+
+	>=dev-libs/glib-2.32:2
+	>=x11-libs/gtk+-3.9:3
+	>=x11-libs/gtksourceview-4.0.2:4
+
+	python? (
+		${PYTHON_DEPS}
+		$(python_gen_cond_dep '
+			app-editors/pluma[${PYTHON_SINGLE_USEDEP}]
+			dev-libs/libpeas:0[python,${PYTHON_SINGLE_USEDEP}]
+			>=dev-python/dbus-python-0.82[${PYTHON_USEDEP}]
+			dev-python/pycairo[${PYTHON_USEDEP}]
+			dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
+			>=dev-python/dbus-python-0.82[${PYTHON_USEDEP}]
+			>=x11-libs/vte-0.52:2.91[introspection]
+		')
+		>=x11-libs/gtk+-3.9:3[introspection]
+		>=x11-libs/gtksourceview-4.0.2:4[introspection]
+		x11-libs/pango[introspection]
+		x11-libs/gdk-pixbuf:2[introspection]
+
+	)"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+	dev-libs/libxml2
+	dev-util/itstool
+	>=sys-devel/gettext-0.19.8
+	virtual/pkgconfig
+"
+
+pkg_setup() {
+	use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_enable python)
+	)
+
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	mate_src_install
+	use python && python_optimize "${ED}/usr/$(get_libdir)/gedit/plugins/"
+}


             reply	other threads:[~2024-06-06  0:45 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-06  0:45 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-26  3:17 [gentoo-commits] repo/gentoo:master commit in: app-editors/pluma-plugins/ Sam James
2024-09-17 17:50 Andreas Sturmlechner
2024-08-01  0:27 Jakov Smolić
2024-08-01  0:27 Jakov Smolić
2024-06-16  6:06 Joonas Niilola
2024-06-16  6:06 Joonas Niilola
2024-06-06  0:45 Sam James
2024-06-06  0:45 Sam James
2024-06-06  0:45 Sam James
2023-10-29 22:23 Mart Raudsepp
2022-12-03  1:04 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1717634688.bda6a15fb89b0b04bfa72ee37b59583d47f57ce3.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox