Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/gnome2-perl/, dev-perl/gnome2-perl/files/
Date: Sun, 22 Oct 2017 06:03:58
Message-Id: 1508652219.825d6459b39541ca21205247d730d832a908dc21.kentnl@gentoo
1 commit: 825d6459b39541ca21205247d730d832a908dc21
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 22 06:03:02 2017 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 22 06:03:39 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=825d6459
7
8 dev-perl/gnome2-perl: Bump to version 1.46.0 re bug #616954
9
10 - EAPI6
11 - Patch tests for '.' in @INC removal
12
13 Upstream:
14 - Don't include timestamps in generated documentation
15
16 Bug: https://bugs.gentoo.org/616954
17 Package-Manager: Portage-2.3.8, Repoman-2.3.3
18
19 dev-perl/gnome2-perl/Manifest | 1 +
20 .../files/Gnome2-1.046-no-dot-inc.patch | 355 +++++++++++++++++++++
21 dev-perl/gnome2-perl/gnome2-perl-1.46.0.ebuild | 30 ++
22 3 files changed, 386 insertions(+)
23
24 diff --git a/dev-perl/gnome2-perl/Manifest b/dev-perl/gnome2-perl/Manifest
25 index ded44c38977..54c444fc4b0 100644
26 --- a/dev-perl/gnome2-perl/Manifest
27 +++ b/dev-perl/gnome2-perl/Manifest
28 @@ -1 +1,2 @@
29 DIST Gnome2-1.045.tar.gz 79262 SHA256 1426044de3ab4900e0a7cb0cc27aa2213c6ad29ed0676b018dce2eee832692f7 SHA512 fa4ac02dbc3d96e6790cff964968f86b9eaf5bb79bbdd2fb3e967e4e8f4bcad25bf1308d25b26ae0298303dfaab7aaa5b49028336d25648614208e622a848316 WHIRLPOOL 54d747c44d06fa7324f3234d9849e400dedd9a0dbfff35834ad754bc74638df83dafd3dca5dab6de13832c533fdd19186765e301d004a03951f4cfad8be2ba6d
30 +DIST Gnome2-1.046.tar.gz 80275 SHA256 a6c787232ab7e82a423a9ff5a49cec6bf586c1bb3c04c2052a91cdda5b66ae40 SHA512 0e4ee564b4514e63c3b66ef72aad6780e79d0f8d0376d7cbb925c579773d96d5fdf0918c90c0e1cc0f4b0be2c2d0043a54ec700361109c6b4b576627ca1d9efd WHIRLPOOL 3c95937b2f8ecf4bd463490b11445ebbc7ffed6be2c1ddf090ad1dd2219d2d0c87feb3928eb20121e829bae17867ce90e2a12a5af254f934b0e5bbdee2194961
31
32 diff --git a/dev-perl/gnome2-perl/files/Gnome2-1.046-no-dot-inc.patch b/dev-perl/gnome2-perl/files/Gnome2-1.046-no-dot-inc.patch
33 new file mode 100644
34 index 00000000000..1364a89247e
35 --- /dev/null
36 +++ b/dev-perl/gnome2-perl/files/Gnome2-1.046-no-dot-inc.patch
37 @@ -0,0 +1,355 @@
38 +From 6d397faa7006e0f3a67595d317e10d3bb81d8792 Mon Sep 17 00:00:00 2001
39 +From: Kent Fredric <kentnl@g.o>
40 +Date: Sun, 22 Oct 2017 18:50:01 +1300
41 +Subject: Fix tests failing on Perl 5.26 without '.' in @INC
42 +
43 +eg: With PERL_USE_UNSAFE_INC=0 in ENV
44 +
45 +This patch additionally creates safeguards against tests being allowed
46 +to continue if the "do" call fails for any reason, as do does not
47 +auto-fatalize, only warns at best.
48 +
49 +Bug: https://rt.cpan.org/Ticket/Display.html?id=121440
50 +Bug: https://bugs.gentoo.org/616954
51 +---
52 + t/Gnome.t | 4 +++-
53 + t/GnomeApp.t | 4 +++-
54 + t/GnomeAppBar.t | 4 +++-
55 + t/GnomeAppHelper.t | 4 +++-
56 + t/GnomeColorPicker.t | 4 +++-
57 + t/GnomeConfig.t | 4 +++-
58 + t/GnomeDateEdit.t | 4 +++-
59 + t/GnomeDruid.t | 4 +++-
60 + t/GnomeEntry.t | 4 +++-
61 + t/GnomeFileEntry.t | 4 +++-
62 + t/GnomeFontPicker.t | 4 +++-
63 + t/GnomeHRef.t | 4 +++-
64 + t/GnomeIconEntry.t | 4 +++-
65 + t/GnomeIconList.t | 4 +++-
66 + t/GnomeIconSelection.t | 4 +++-
67 + t/GnomeIconTheme.t | 4 +++-
68 + t/GnomePasswordDialog.t | 4 +++-
69 + t/GnomePixmapEntry.t | 4 +++-
70 + t/GnomePopupMenu.t | 4 +++-
71 + t/GnomeScores.t | 4 +++-
72 + t/GnomeThumbnail.t | 4 +++-
73 + 21 files changed, 63 insertions(+), 21 deletions(-)
74 +
75 +diff --git a/t/Gnome.t b/t/Gnome.t
76 +index 8b6d0c5..e62b662 100644
77 +--- a/t/Gnome.t
78 ++++ b/t/Gnome.t
79 +@@ -11,7 +11,9 @@ use Test::More tests => TESTS;
80 +
81 + SKIP: {
82 + our $application;
83 +- do "t/TestBoilerplate";
84 ++ do "./t/TestBoilerplate";
85 ++ die $@ if $@;
86 ++ die $! if $!;
87 +
88 + #############################################################################
89 +
90 +diff --git a/t/GnomeApp.t b/t/GnomeApp.t
91 +index d7fc143..49420c3 100644
92 +--- a/t/GnomeApp.t
93 ++++ b/t/GnomeApp.t
94 +@@ -11,7 +11,9 @@ use Test::More tests => TESTS;
95 +
96 + SKIP: {
97 + our $application;
98 +- do "t/TestBoilerplate";
99 ++ do "./t/TestBoilerplate";
100 ++ die $@ if $@;
101 ++ die $! if $!;
102 +
103 + #############################################################################
104 +
105 +diff --git a/t/GnomeAppBar.t b/t/GnomeAppBar.t
106 +index 22ac53d..b127b2c 100644
107 +--- a/t/GnomeAppBar.t
108 ++++ b/t/GnomeAppBar.t
109 +@@ -11,7 +11,9 @@ use Test::More tests => TESTS;
110 +
111 + SKIP: {
112 + our $application;
113 +- do "t/TestBoilerplate";
114 ++ do "./t/TestBoilerplate";
115 ++ die $@ if $@;
116 ++ die $! if $!;
117 +
118 + #############################################################################
119 +
120 +diff --git a/t/GnomeAppHelper.t b/t/GnomeAppHelper.t
121 +index 849bfe7..5ed6350 100644
122 +--- a/t/GnomeAppHelper.t
123 ++++ b/t/GnomeAppHelper.t
124 +@@ -11,7 +11,9 @@ use Test::More tests => TESTS;
125 +
126 + SKIP: {
127 + our $application;
128 +- do "t/TestBoilerplate";
129 ++ do "./t/TestBoilerplate";
130 ++ die $@ if $@;
131 ++ die $! if $!;
132 +
133 + #############################################################################
134 +
135 +diff --git a/t/GnomeColorPicker.t b/t/GnomeColorPicker.t
136 +index 7f7fba9..8dcee3e 100644
137 +--- a/t/GnomeColorPicker.t
138 ++++ b/t/GnomeColorPicker.t
139 +@@ -11,7 +11,9 @@ use Test::More tests => TESTS;
140 +
141 + SKIP: {
142 + our $application;
143 +- do "t/TestBoilerplate";
144 ++ do "./t/TestBoilerplate";
145 ++ die $@ if $@;
146 ++ die $! if $!;
147 +
148 + #############################################################################
149 +
150 +diff --git a/t/GnomeConfig.t b/t/GnomeConfig.t
151 +index 2c42a14..24973be 100644
152 +--- a/t/GnomeConfig.t
153 ++++ b/t/GnomeConfig.t
154 +@@ -11,7 +11,9 @@ use Test::More tests => TESTS;
155 +
156 + SKIP: {
157 + our $application;
158 +- do "t/TestBoilerplate";
159 ++ do "./t/TestBoilerplate";
160 ++ die $@ if $@;
161 ++ die $! if $!;
162 +
163 + #############################################################################
164 +
165 +diff --git a/t/GnomeDateEdit.t b/t/GnomeDateEdit.t
166 +index a8f2e33..addd98d 100644
167 +--- a/t/GnomeDateEdit.t
168 ++++ b/t/GnomeDateEdit.t
169 +@@ -11,7 +11,9 @@ use Test::More tests => TESTS;
170 +
171 + SKIP: {
172 + our $application;
173 +- do "t/TestBoilerplate";
174 ++ do "./t/TestBoilerplate";
175 ++ die $@ if $@;
176 ++ die $! if $!;
177 +
178 + #############################################################################
179 +
180 +diff --git a/t/GnomeDruid.t b/t/GnomeDruid.t
181 +index c209004..21a9fdd 100644
182 +--- a/t/GnomeDruid.t
183 ++++ b/t/GnomeDruid.t
184 +@@ -11,7 +11,9 @@ use Test::More tests => TESTS;
185 +
186 + SKIP: {
187 + our $application;
188 +- do "t/TestBoilerplate";
189 ++ do "./t/TestBoilerplate";
190 ++ die $@ if $@;
191 ++ die $! if $!;
192 +
193 + #############################################################################
194 +
195 +diff --git a/t/GnomeEntry.t b/t/GnomeEntry.t
196 +index c2d2b68..a0aa95a 100644
197 +--- a/t/GnomeEntry.t
198 ++++ b/t/GnomeEntry.t
199 +@@ -11,7 +11,9 @@ use Test::More tests => TESTS;
200 +
201 + SKIP: {
202 + our $application;
203 +- do "t/TestBoilerplate";
204 ++ do "./t/TestBoilerplate";
205 ++ die $@ if $@;
206 ++ die $! if $!;
207 +
208 + #############################################################################
209 +
210 +diff --git a/t/GnomeFileEntry.t b/t/GnomeFileEntry.t
211 +index 91befa8..1d572a9 100644
212 +--- a/t/GnomeFileEntry.t
213 ++++ b/t/GnomeFileEntry.t
214 +@@ -11,7 +11,9 @@ use Test::More tests => TESTS;
215 +
216 + SKIP: {
217 + our $application;
218 +- do "t/TestBoilerplate";
219 ++ do "./t/TestBoilerplate";
220 ++ die $@ if $@;
221 ++ die $! if $!;
222 +
223 + #############################################################################
224 +
225 +diff --git a/t/GnomeFontPicker.t b/t/GnomeFontPicker.t
226 +index a2e8e68..98520db 100644
227 +--- a/t/GnomeFontPicker.t
228 ++++ b/t/GnomeFontPicker.t
229 +@@ -11,7 +11,9 @@ use Test::More tests => TESTS;
230 +
231 + SKIP: {
232 + our $application;
233 +- do "t/TestBoilerplate";
234 ++ do "./t/TestBoilerplate";
235 ++ die $@ if $@;
236 ++ die $! if $!;
237 +
238 + #############################################################################
239 +
240 +diff --git a/t/GnomeHRef.t b/t/GnomeHRef.t
241 +index 256347b..484fa61 100644
242 +--- a/t/GnomeHRef.t
243 ++++ b/t/GnomeHRef.t
244 +@@ -11,7 +11,9 @@ use Test::More tests => TESTS;
245 +
246 + SKIP: {
247 + our $application;
248 +- do "t/TestBoilerplate";
249 ++ do "./t/TestBoilerplate";
250 ++ die $@ if $@;
251 ++ die $! if $!;
252 +
253 + #############################################################################
254 +
255 +diff --git a/t/GnomeIconEntry.t b/t/GnomeIconEntry.t
256 +index 35ef1e6..957efc0 100644
257 +--- a/t/GnomeIconEntry.t
258 ++++ b/t/GnomeIconEntry.t
259 +@@ -11,7 +11,9 @@ use Test::More tests => TESTS;
260 +
261 + SKIP: {
262 + our $application;
263 +- do "t/TestBoilerplate";
264 ++ do "./t/TestBoilerplate";
265 ++ die $@ if $@;
266 ++ die $! if $!;
267 +
268 + #############################################################################
269 +
270 +diff --git a/t/GnomeIconList.t b/t/GnomeIconList.t
271 +index 2bf9eb1..8067a70 100644
272 +--- a/t/GnomeIconList.t
273 ++++ b/t/GnomeIconList.t
274 +@@ -11,7 +11,9 @@ use Test::More skip_all => "Seems to be broken", tests => TESTS;
275 +
276 + SKIP: {
277 + our $application;
278 +- do "t/TestBoilerplate";
279 ++ do "./t/TestBoilerplate";
280 ++ die $@ if $@;
281 ++ die $! if $!;
282 +
283 + #############################################################################
284 +
285 +diff --git a/t/GnomeIconSelection.t b/t/GnomeIconSelection.t
286 +index 35117c9..566ae85 100644
287 +--- a/t/GnomeIconSelection.t
288 ++++ b/t/GnomeIconSelection.t
289 +@@ -11,7 +11,9 @@ use Test::More tests => TESTS;
290 +
291 + SKIP: {
292 + our $application;
293 +- do "t/TestBoilerplate";
294 ++ do "./t/TestBoilerplate";
295 ++ die $@ if $@;
296 ++ die $! if $!;
297 +
298 + #############################################################################
299 +
300 +diff --git a/t/GnomeIconTheme.t b/t/GnomeIconTheme.t
301 +index 9baeb4c..dda3582 100644
302 +--- a/t/GnomeIconTheme.t
303 ++++ b/t/GnomeIconTheme.t
304 +@@ -13,7 +13,9 @@ Gnome2::VFS -> init();
305 +
306 + SKIP: {
307 + our $application;
308 +- do "t/TestBoilerplate";
309 ++ do "./t/TestBoilerplate";
310 ++ die $@ if $@;
311 ++ die $! if $!;
312 +
313 + skip("GnomeIconTheme is new in 2.0.6", TESTS)
314 + unless (Gnome2 -> CHECK_VERSION(2, 0, 6));
315 +diff --git a/t/GnomePasswordDialog.t b/t/GnomePasswordDialog.t
316 +index 51c548c..38b2dcb 100644
317 +--- a/t/GnomePasswordDialog.t
318 ++++ b/t/GnomePasswordDialog.t
319 +@@ -10,7 +10,9 @@ use Test::More tests => TESTS;
320 + ###############################################################################
321 +
322 + SKIP: {
323 +- do "t/TestBoilerplate";
324 ++ do "./t/TestBoilerplate";
325 ++ die $@ if $@;
326 ++ die $! if $!;
327 +
328 + skip("GnomePasswordDialog and GnomeAuthenticationManager didn't appear until 2.4.0", TESTS)
329 + unless (Gnome2 -> CHECK_VERSION(2, 4, 0));
330 +diff --git a/t/GnomePixmapEntry.t b/t/GnomePixmapEntry.t
331 +index 17e4996..dbfe42c 100644
332 +--- a/t/GnomePixmapEntry.t
333 ++++ b/t/GnomePixmapEntry.t
334 +@@ -11,7 +11,9 @@ use Test::More tests => TESTS;
335 +
336 + SKIP: {
337 + our $application;
338 +- do "t/TestBoilerplate";
339 ++ do "./t/TestBoilerplate";
340 ++ die $@ if $@;
341 ++ die $! if $!;
342 +
343 + #############################################################################
344 +
345 +diff --git a/t/GnomePopupMenu.t b/t/GnomePopupMenu.t
346 +index 20275c9..151f410 100644
347 +--- a/t/GnomePopupMenu.t
348 ++++ b/t/GnomePopupMenu.t
349 +@@ -11,7 +11,9 @@ use Test::More tests => TESTS;
350 +
351 + SKIP: {
352 + our $application;
353 +- do "t/TestBoilerplate";
354 ++ do "./t/TestBoilerplate";
355 ++ die $@ if $@;
356 ++ die $! if $!;
357 +
358 + #############################################################################
359 +
360 +diff --git a/t/GnomeScores.t b/t/GnomeScores.t
361 +index 1b21ab2..82aa3a3 100644
362 +--- a/t/GnomeScores.t
363 ++++ b/t/GnomeScores.t
364 +@@ -11,7 +11,9 @@ use Test::More tests => TESTS;
365 +
366 + SKIP: {
367 + our $application;
368 +- do "t/TestBoilerplate";
369 ++ do "./t/TestBoilerplate";
370 ++ die $@ if $@;
371 ++ die $! if $!;
372 +
373 + #############################################################################
374 +
375 +diff --git a/t/GnomeThumbnail.t b/t/GnomeThumbnail.t
376 +index ec0095f..ba24928 100644
377 +--- a/t/GnomeThumbnail.t
378 ++++ b/t/GnomeThumbnail.t
379 +@@ -11,7 +11,9 @@ use Test::More tests => TESTS;
380 +
381 + SKIP: {
382 + our $application;
383 +- do "t/TestBoilerplate";
384 ++ do "./t/TestBoilerplate";
385 ++ die $@ if $@;
386 ++ die $! if $!;
387 +
388 + skip("GnomeThumbnail is new in 2.0.6", 4)
389 + unless (Gnome2 -> CHECK_VERSION(2, 0, 6));
390 +--
391 +2.14.2
392 +
393
394 diff --git a/dev-perl/gnome2-perl/gnome2-perl-1.46.0.ebuild b/dev-perl/gnome2-perl/gnome2-perl-1.46.0.ebuild
395 new file mode 100644
396 index 00000000000..b95f0acf28a
397 --- /dev/null
398 +++ b/dev-perl/gnome2-perl/gnome2-perl-1.46.0.ebuild
399 @@ -0,0 +1,30 @@
400 +# Copyright 1999-2017 Gentoo Foundation
401 +# Distributed under the terms of the GNU General Public License v2
402 +
403 +EAPI=6
404 +
405 +DIST_NAME=Gnome2
406 +DIST_AUTHOR=XAOC
407 +DIST_VERSION=1.046
408 +inherit perl-module
409 +
410 +DESCRIPTION="Perl interface to the 2.x series of the Gnome libraries"
411 +HOMEPAGE="http://gtk2-perl.sourceforge.net/ ${HOMEPAGE}"
412 +
413 +LICENSE="LGPL-2.1"
414 +SLOT="0"
415 +KEYWORDS="~alpha ~amd64 ~ppc ~x86"
416 +IUSE=""
417 +
418 +RDEPEND="x11-libs/gtk+:2
419 + dev-perl/Gtk2
420 + gnome-base/libgnomeui
421 + gnome-base/libbonoboui
422 + dev-perl/gnome2-canvas
423 + >=dev-perl/glib-perl-1.40.0
424 + dev-perl/gnome2-vfs-perl"
425 +DEPEND="${RDEPEND}
426 + dev-perl/ExtUtils-Depends
427 + dev-perl/ExtUtils-PkgConfig"
428 +
429 +PATCHES=( "${FILESDIR}/${DIST_NAME}-${DIST_VERSION}-no-dot-inc.patch" )