1 |
commit: 0f18362d00cc2a0c5764c9170c3a9f805df928b9 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 30 20:25:03 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 30 20:40:54 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f18362d |
7 |
|
8 |
app-editors/pluma: add 1.26.0, EAPI=6->7, enable tests |
9 |
|
10 |
- enable tests (skip the one failing test) |
11 |
- enable py3.11, drop py3.6 and py3.7 |
12 |
- organize the declarations |
13 |
- bump versions for dependencies |
14 |
|
15 |
Closes: https://bugs.gentoo.org/866911 |
16 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
17 |
|
18 |
app-editors/pluma/Manifest | 1 + |
19 |
app-editors/pluma/pluma-1.26.0.ebuild | 79 +++++++++++++++++++++++++++++++++++ |
20 |
2 files changed, 80 insertions(+) |
21 |
|
22 |
diff --git a/app-editors/pluma/Manifest b/app-editors/pluma/Manifest |
23 |
index c481a1b9a671..eb90445d2fa3 100644 |
24 |
--- a/app-editors/pluma/Manifest |
25 |
+++ b/app-editors/pluma/Manifest |
26 |
@@ -1 +1,2 @@ |
27 |
DIST pluma-1.24.2.tar.xz 3745160 BLAKE2B ed855b19f1ab80cb6ef9bc175eea3c2af386b1e45123bc0e3ad93d1964efb4822fe1b3d7490308357fcff96557bb6189f081a467f41a6907e76a1961de8f23d3 SHA512 588640744f8a0bec08d0c51c0309380a57cb6319c98124885e30d05e7dd8488ba7bd5acec1bf21fb0d6832626ae8925b24cd241202265af1a631a91313cdad2b |
28 |
+DIST pluma-1.26.0.tar.xz 3765056 BLAKE2B 4a3107df7c4ba906d405b5ef3ea6dd9ca0e372a7b00224213fc8a60d1dc26663d1363aa7f0569b0242407f5b5d850386308fae9192c4a33f577295bb55ef5a16 SHA512 a6c0cee7110f4863e44af51b19bb528f0f3570eab8db98038152bf142eedde97ac13b896deff7051b941a0f43c6fe14e316a97eba40fe5d4854d76038450245f |
29 |
|
30 |
diff --git a/app-editors/pluma/pluma-1.26.0.ebuild b/app-editors/pluma/pluma-1.26.0.ebuild |
31 |
new file mode 100644 |
32 |
index 000000000000..cae48f8c333e |
33 |
--- /dev/null |
34 |
+++ b/app-editors/pluma/pluma-1.26.0.ebuild |
35 |
@@ -0,0 +1,79 @@ |
36 |
+# Copyright 1999-2022 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+MATE_LA_PUNT="yes" |
42 |
+PYTHON_COMPAT=( python3_{8..11} ) |
43 |
+inherit mate python-single-r1 virtualx |
44 |
+ |
45 |
+DESCRIPTION="Pluma text editor for the MATE desktop" |
46 |
+ |
47 |
+LICENSE="FDL-1.1+ GPL-2+ LGPL-2+" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86" |
50 |
+IUSE="+introspection spell test" |
51 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
52 |
+RESTRICT="!test? ( test )" |
53 |
+ |
54 |
+COMMON_DEPEND=" |
55 |
+ dev-libs/atk |
56 |
+ >=dev-libs/glib-2.50:2 |
57 |
+ >=dev-libs/libpeas-1.2.0[gtk] |
58 |
+ >=dev-libs/libxml2-2.5:2 |
59 |
+ x11-libs/cairo |
60 |
+ x11-libs/gdk-pixbuf:2 |
61 |
+ >=x11-libs/gtk+-3.22:3[introspection?] |
62 |
+ >=x11-libs/gtksourceview-4.0.2:4 |
63 |
+ x11-libs/libICE |
64 |
+ x11-libs/libX11 |
65 |
+ >=x11-libs/libSM-1.0 |
66 |
+ x11-libs/pango |
67 |
+ introspection? ( >=dev-libs/gobject-introspection-0.9.3:= ) |
68 |
+ spell? ( |
69 |
+ >=app-text/enchant-1.6:= |
70 |
+ >=app-text/iso-codes-0.35 |
71 |
+ ) |
72 |
+ !!app-editors/mate-text-editor |
73 |
+" |
74 |
+RDEPEND="${COMMON_DEPEND} |
75 |
+ ${PYTHON_DEPS} |
76 |
+ >=mate-base/mate-desktop-1.9[introspection?] |
77 |
+ virtual/libintl |
78 |
+" |
79 |
+DEPEND="${COMMON_DEPEND} |
80 |
+ ~app-text/docbook-xml-dtd-4.1.2 |
81 |
+ app-text/yelp-tools |
82 |
+ dev-util/glib-utils |
83 |
+ dev-util/gtk-doc |
84 |
+ dev-util/gtk-doc-am |
85 |
+ >=sys-devel/libtool-2.2.6:2 |
86 |
+ >=sys-devel/gettext-0.19.8 |
87 |
+ virtual/pkgconfig |
88 |
+" |
89 |
+ |
90 |
+MATE_FORCE_AUTORECONF=true |
91 |
+ |
92 |
+src_prepare() { |
93 |
+ # Test require gvfs sftp fs mounted and schema's installed. Skip this one. |
94 |
+ # https://github.com/mate-desktop/mate-text-editor/issues/33 |
95 |
+ sed -e '/+= document-saver/d' -i tests/Makefile.am || die |
96 |
+ |
97 |
+ mate_src_prepare |
98 |
+} |
99 |
+ |
100 |
+src_configure() { |
101 |
+ mate_src_configure \ |
102 |
+ $(use_enable introspection) \ |
103 |
+ $(use_enable spell) \ |
104 |
+ $(use_enable test tests) |
105 |
+} |
106 |
+ |
107 |
+src_test() { |
108 |
+ # FIXME: This should be handled at eclass level. |
109 |
+ "${EPREFIX}/${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die |
110 |
+ |
111 |
+ unset DBUS_SESSION_BUS_ADDRESS |
112 |
+ local -x GSETTINGS_SCHEMA_DIR="${S}/data" |
113 |
+ virtx emake check |
114 |
+} |