Gentoo Archives: gentoo-commits

From: Kent Fredric <kentfredric@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/perl-overlay:master commit in: dev-perl/File-MimeInfo/, dev-perl/File-MimeInfo/files/0.15/
Date: Fri, 06 May 2011 22:16:56
Message-Id: 03a3a919553f7a7ab1c32fa24fd6b1a480817fca.kent@gentoo
1 commit: 03a3a919553f7a7ab1c32fa24fd6b1a480817fca
2 Author: Kent Fredric <kentfredric <AT> gmail <DOT> com>
3 AuthorDate: Fri May 6 22:14:39 2011 +0000
4 Commit: Kent Fredric <kentfredric <AT> gmail <DOT> com>
5 CommitDate: Fri May 6 22:14:56 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=commit;h=03a3a919
7
8 [+bumpfix] File-MimeInfo-0.15-r2 = ::gentoo import + patch
9
10 (Portage version: 2.2.0_alpha30/git/Linux x86_64, signed Manifest commit with key 0A0CB301)
11
12 ---
13 dev-perl/File-MimeInfo/ChangeLog | 258 ++++++++++++++++++++
14 .../File-MimeInfo/File-MimeInfo-0.15-r2.ebuild | 28 ++
15 .../0.15/0001-Suggested-fix-for-RT-66841.patch | 48 ++++
16 dev-perl/File-MimeInfo/metadata.xml | 8 +
17 4 files changed, 342 insertions(+), 0 deletions(-)
18
19 diff --git a/dev-perl/File-MimeInfo/ChangeLog b/dev-perl/File-MimeInfo/ChangeLog
20 new file mode 100644
21 index 0000000..792dc25
22 --- /dev/null
23 +++ b/dev-perl/File-MimeInfo/ChangeLog
24 @@ -0,0 +1,258 @@
25 +# ChangeLog for dev-perl/File-MimeInfo
26 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
27 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/File-MimeInfo/ChangeLog,v 1.63 2011/04/09 15:53:13 maekke Exp $
28 +
29 +*File-MimeInfo-0.15-r2 (06 May 2011)
30 +
31 + 06 May 2011; Kent Fredric <kentfredric@×××××.com>
32 + +File-MimeInfo-0.15-r2.ebuild,
33 + +files/0.15/0001-Suggested-fix-for-RT-66841.patch, +metadata.xml:
34 + Import from ::gentoo, -r2 and add 5.14 patch
35 +
36 + 09 Apr 2011; Markus Meier <maekke@g.o> File-MimeInfo-0.15-r1.ebuild:
37 + arm stable, bug #359627
38 +
39 + 27 Mar 2011; Tobias Klausmann <klausman@g.o>
40 + File-MimeInfo-0.15-r1.ebuild:
41 + Stable on alpha, bug #359627
42 +
43 + 03 Mar 2011; Jonathan Callen <abcd@g.o> File-MimeInfo-0.15-r1.ebuild:
44 + Add ~amd64-linux/~x86-linux keywords
45 +
46 + 13 Feb 2011; Raúl Porcel <armin76@g.o> File-MimeInfo-0.15-r1.ebuild:
47 + Add ~alpha/~arm/~s390/~sh
48 +
49 + 14 Jan 2011; Torsten Veller <tove@g.o> -File-MimeInfo-0.14.ebuild,
50 + -File-MimeInfo-0.15.ebuild:
51 + Cleanup
52 +
53 + 23 Oct 2010; Samuli Suominen <ssuominen@g.o>
54 + File-MimeInfo-0.15-r1.ebuild:
55 + ppc64 stable wrt #321147
56 +
57 + 14 Jul 2010; Jeroen Roovers <jer@g.o> File-MimeInfo-0.15-r1.ebuild:
58 + Stable for HPPA (bug #321147).
59 +
60 + 30 May 2010; Raúl Porcel <armin76@g.o>
61 + File-MimeInfo-0.15-r1.ebuild:
62 + ia64/sparc stable wrt #321147
63 +
64 + 24 May 2010; <nixnut@g.o> File-MimeInfo-0.15-r1.ebuild:
65 + ppc stable #321147
66 +
67 + 23 May 2010; Torsten Veller <tove@g.o>
68 + File-MimeInfo-0.15-r1.ebuild:
69 + Stable on amd64 and x86 (#321147). EAPI=3. Add test dependencies
70 +
71 + 13 Jan 2010; Torsten Veller <tove@g.o> File-MimeInfo-0.15.ebuild,
72 + File-MimeInfo-0.15-r1.ebuild:
73 + Fix SRC_URI
74 +
75 + 02 Jan 2010; Brent Baude <ranger@g.o> File-MimeInfo-0.15-r1.ebuild:
76 + Marking File-MimeInfo-0.15-r1 ~ppc64 for bug 294277
77 +
78 + 26 Dec 2009; Raúl Porcel <armin76@g.o>
79 + File-MimeInfo-0.15-r1.ebuild:
80 + Add ~ia64/~sparc wrt #294277
81 +
82 + 04 Dec 2009; Jeroen Roovers <jer@g.o> File-MimeInfo-0.15-r1.ebuild:
83 + Marked ~hppa (bug #294277).
84 +
85 +*File-MimeInfo-0.15-r1 (23 Nov 2009)
86 +
87 + 23 Nov 2009; Torsten Veller <tove@g.o>
88 + +File-MimeInfo-0.15-r1.ebuild:
89 + Depend on dev-perl/File-DesktopEntry (#294277)
90 +
91 + 16 Aug 2009; Torsten Veller <tove@g.o> -files/mimeinfo.patch,
92 + -files/test01.patch:
93 + Remove unused patch
94 +
95 + 06 Jul 2009; Jeroen Roovers <jer@g.o> File-MimeInfo-0.15.ebuild:
96 + Stable for HPPA too.
97 +
98 + 18 Nov 2008; Torsten Veller <tove@g.o> File-MimeInfo-0.14.ebuild,
99 + File-MimeInfo-0.15.ebuild:
100 + New virtuals: module-build
101 +
102 + 30 Sep 2008; Torsten Veller <tove@g.o> -File-MimeInfo-0.12.ebuild,
103 + -File-MimeInfo-0.13-r1.ebuild, File-MimeInfo-0.15.ebuild:
104 + Cleanup
105 +
106 + 15 Jul 2008; Raúl Porcel <armin76@g.o> File-MimeInfo-0.15.ebuild:
107 + ia64/sparc/x86 stable
108 +
109 +*File-MimeInfo-0.15 (29 Apr 2008)
110 +
111 + 29 Apr 2008; Yuval Yaari <yuval@g.o> +File-MimeInfo-0.15.ebuild:
112 + Version bump
113 +
114 + 13 Mar 2008; Jeroen Roovers <jer@g.o> File-MimeInfo-0.14.ebuild:
115 + Marked ~hppa too.
116 +
117 + 10 Nov 2007; Samuli Suominen <drac@g.o> File-MimeInfo-0.14.ebuild:
118 + amd64 stable
119 +
120 + 09 Aug 2007; Tobias Scherbaum <dertobi123@g.o>
121 + File-MimeInfo-0.14.ebuild:
122 + Stable on ppc.
123 +
124 + 22 Jul 2007; Tom Gall <tgall@g.o>
125 + File-MimeInfo-0.14.ebuild:
126 + stable on ppc64
127 +
128 + 12 Jul 2007; Gustavo Zacarias <gustavoz@g.o>
129 + File-MimeInfo-0.14.ebuild:
130 + Stable on sparc
131 +
132 + 11 Jul 2007; Raúl Porcel <armin76@g.o> File-MimeInfo-0.14.ebuild:
133 + ia64/x86 stable
134 +
135 +*File-MimeInfo-0.14 (12 Jun 2007)
136 +
137 + 12 Jun 2007; Michael Cummings <mcummings@g.o>
138 + +File-MimeInfo-0.14.ebuild:
139 + Version bump
140 +
141 + 15 Apr 2007; Markus Rothe <corsair@g.o>
142 + File-MimeInfo-0.13-r1.ebuild:
143 + Stable on ppc64
144 +
145 + 05 Mar 2007; Andrej Kacian <ticho@g.o>
146 + File-MimeInfo-0.13-r1.ebuild:
147 + Stable on x86, bug #169152.
148 +
149 + 15 Jan 2007; Michael Cummings <mcummings@g.o>
150 + File-MimeInfo-0.12.ebuild, -File-MimeInfo-0.13.ebuild,
151 + File-MimeInfo-0.13-r1.ebuild:
152 + Ebuild maintenance
153 +
154 + 21 Oct 2006; Tobias Scherbaum <dertobi123@g.o>
155 + File-MimeInfo-0.13-r1.ebuild:
156 + ppc stable
157 +
158 + 21 Oct 2006; Aron Griffis <agriffis@g.o>
159 + File-MimeInfo-0.13-r1.ebuild:
160 + Mark 0.13-r1 stable on ia64
161 +
162 + 20 Oct 2006; Michael Cummings <mcummings@g.o>
163 + -File-MimeInfo-0.10.ebuild, -File-MimeInfo-0.11.ebuild:
164 + Cleaning up old ebuilds
165 +
166 + 20 Oct 2006; Michael Cummings <mcummings@g.o>
167 + File-MimeInfo-0.13-r1.ebuild:
168 + Marking sparc stable
169 +
170 + 20 Oct 2006; Michael Cummings <mcummings@g.o>
171 + File-MimeInfo-0.13-r1.ebuild:
172 + Marking amd64 stable
173 +
174 + 16 Sep 2006; Tobias Scherbaum <dertobi123@g.o>
175 + File-MimeInfo-0.13.ebuild:
176 + ppc stable
177 +
178 +*File-MimeInfo-0.13-r1 (06 Sep 2006)
179 +
180 + 06 Sep 2006; Michael Cummings <mcummings@g.o>
181 + +files/mimeinfo.patch, +files/test01.patch, +File-MimeInfo-0.13-r1.ebuild:
182 + Bump for a bug in how File-MimeInfo handles utf8 in weird circumstances.
183 + Filed upstream as http://rt.cpan.org/Public/Bug/Display.html?id=20376 -
184 + noticed when running filer ; Patched test01 for flakiness in detecting
185 + plain/text.
186 +
187 + 07 Aug 2006; Michael Cummings <mcummings@g.o>
188 + File-MimeInfo-0.13.ebuild:
189 + Marking amd64 stable
190 +
191 + 05 Aug 2006; Michael Cummings <mcummings@g.o>
192 + File-MimeInfo-0.10.ebuild, File-MimeInfo-0.11.ebuild,
193 + File-MimeInfo-0.12.ebuild, File-MimeInfo-0.13.ebuild:
194 + Adding perl dep; fixed DEPEND
195 +
196 + 10 Jul 2006; Aron Griffis <agriffis@g.o> File-MimeInfo-0.13.ebuild:
197 + Mark 0.13 stable on ia64
198 +
199 + 04 Jul 2006; Christian Hartmann <ian@g.o>
200 + File-MimeInfo-0.10.ebuild, File-MimeInfo-0.11.ebuild,
201 + File-MimeInfo-0.12.ebuild, File-MimeInfo-0.13.ebuild:
202 + Fixed RDEPEND wrt bug #134781; fixed header
203 +
204 + 12 Jun 2006; Michael Cummings <mcummings@g.o>
205 + File-MimeInfo-0.13.ebuild:
206 + Actual stable mark - sorry
207 +
208 + 12 Jun 2006; Michael Cummings <mcummings@g.o> Manifest:
209 + forgot to fix the digest
210 +
211 + 12 Jun 2006; Michael Cummings <mcummings@g.o> ChangeLog:
212 + Marking stable sparc
213 +
214 +*File-MimeInfo-0.13 (26 Apr 2006)
215 +
216 + 26 Apr 2006; <mcummings@g.o> +File-MimeInfo-0.13.ebuild:
217 + Version bump
218 +
219 + 30 Mar 2006; Aron Griffis <agriffis@g.o> File-MimeInfo-0.12.ebuild:
220 + Mark 0.12 ~ia64
221 +
222 + 21 Jan 2006; Markus Rothe <corsair@g.o> File-MimeInfo-0.12.ebuild:
223 + Stable on ppc64
224 +
225 + 15 Jan 2006; Michael Hanselmann <hansmi@g.o>
226 + File-MimeInfo-0.12.ebuild:
227 + Stable on ppc.
228 +
229 + 13 Jan 2006; Michael Cummings <mcummings@g.o>
230 + File-MimeInfo-0.12.ebuild:
231 + Marking stable sparc x86
232 +
233 + 24 Dec 2005; Michael Hanselmann <hansmi@g.o>
234 + File-MimeInfo-0.11.ebuild:
235 + Stable on ppc.
236 +
237 + 28 Nov 2005; Tom Gall <tgall@g.o> File-MimeInfo-0.11.ebuild:
238 + stable on ppc64
239 +
240 + 22 Nov 2005; Gustavo Zacarias <gustavoz@g.o>
241 + File-MimeInfo-0.11.ebuild:
242 + Stable on sparc
243 +
244 +*File-MimeInfo-0.12 (22 Nov 2005)
245 +
246 + 22 Nov 2005; Michael Cummings <mcummings@g.o>
247 + File-MimeInfo-0.11.ebuild, +File-MimeInfo-0.12.ebuild:
248 + Version bump, marking stable x86
249 +
250 + 09 Jun 2005; <dang@g.o> File-MimeInfo-0.11.ebuild:
251 + Added ~amd64
252 +
253 +*File-MimeInfo-0.11 (25 Apr 2005)
254 +
255 + 25 Apr 2005; Michael Cummings <mcummings@g.o>
256 + File-MimeInfo-0.10.ebuild, +File-MimeInfo-0.11.ebuild:
257 + cleaning
258 +
259 + 23 Dec 2004; Yuta SATOH <nigoro@g.o> File-MimeInfo-0.10.ebuild:
260 + added ~ppc64
261 +
262 + 12 Dec 2004; Jason Wever <weeve@g.o> File-MimeInfo-0.10.ebuild:
263 + Stable on sparc.
264 +
265 + 02 Sep 2004; David Holm <dholm@g.o> File-MimeInfo-0.10.ebuild:
266 + Added to ~ppc.
267 +
268 + 10 Aug 2004; Ferris McCormick <fmccor@g.o> File-MimeInfo-0.10.ebuild:
269 + Add ~sparc keyword (Bug 59941). Passes all tests for sparc and supports
270 + filer (59943).
271 +
272 + 31 Mar 2004; Michael Cummings <mcummings@g.o>
273 + File-MimeInfo-0.10.ebuild:
274 + Marking stable
275 +
276 +*File-MimeInfo-0.10 (14 Feb 2004)
277 +
278 + 14 Feb 2004; Eric Sammer <esammer@g.o> File-MimeInfo-0.10.ebuild:
279 + Initial import of File-MimeInfo submitted by Sven Wegener
280 + <sven.wegener@×××××××.net> as a dependency for the yet to be added
281 + app-misc/filer. Thanks to Sven Wegener. Part of bug #41605.
282 +
283
284 diff --git a/dev-perl/File-MimeInfo/File-MimeInfo-0.15-r2.ebuild b/dev-perl/File-MimeInfo/File-MimeInfo-0.15-r2.ebuild
285 new file mode 100644
286 index 0000000..7cb84d1
287 --- /dev/null
288 +++ b/dev-perl/File-MimeInfo/File-MimeInfo-0.15-r2.ebuild
289 @@ -0,0 +1,28 @@
290 +# Copyright 1999-2011 Gentoo Foundation
291 +# Distributed under the terms of the GNU General Public License v2
292 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/File-MimeInfo/File-MimeInfo-0.15-r1.ebuild,v 1.14 2011/04/09 15:53:13 maekke Exp $
293 +
294 +EAPI=3
295 +
296 +MODULE_AUTHOR=PARDUS
297 +MODULE_SECTION=${PN}
298 +inherit perl-module
299 +
300 +DESCRIPTION="Determine file type"
301 +
302 +SLOT="0"
303 +KEYWORDS="~amd64 ~x86"
304 +IUSE="test"
305 +
306 +PATCHES=(
307 + "${FILESDIR}/${PV}/0001-Suggested-fix-for-RT-66841.patch"
308 +)
309 +RDEPEND=">=dev-perl/File-BaseDir-0.03
310 + >=dev-perl/File-DesktopEntry-0.04
311 + x11-misc/shared-mime-info"
312 +DEPEND="${RDEPEND}
313 + virtual/perl-Module-Build
314 + test? ( dev-perl/Test-Pod
315 + dev-perl/Test-Pod-Coverage )"
316 +
317 +SRC_TEST="do"
318
319 diff --git a/dev-perl/File-MimeInfo/files/0.15/0001-Suggested-fix-for-RT-66841.patch b/dev-perl/File-MimeInfo/files/0.15/0001-Suggested-fix-for-RT-66841.patch
320 new file mode 100644
321 index 0000000..c1e3adb
322 --- /dev/null
323 +++ b/dev-perl/File-MimeInfo/files/0.15/0001-Suggested-fix-for-RT-66841.patch
324 @@ -0,0 +1,48 @@
325 +From 807262f4aeb0694b6eabcc1acffecfa87e1df783 Mon Sep 17 00:00:00 2001
326 +From: Kent Fredric <kentfredric@×××××.com>
327 +Date: Sat, 7 May 2011 09:35:19 +1200
328 +Subject: [PATCH] Suggested fix for RT#66841
329 +
330 +Replace regexp validation tests with similar tests that permit it to be
331 +any one of a list of values.
332 +---
333 + t/01_normal.t | 23 +++++++++++++++++------
334 + 1 files changed, 17 insertions(+), 6 deletions(-)
335 +
336 +diff --git a/t/01_normal.t b/t/01_normal.t
337 +index 305da37..08c57f4 100644
338 +--- a/t/01_normal.t
339 ++++ b/t/01_normal.t
340 +@@ -18,12 +18,23 @@ use_ok('File::MimeInfo', qw/mimetype describe globs/); # 1
341 +
342 + # test _glob_to_regexp
343 + my $i = 0;
344 +-for (
345 +- [ '*.pl', '(?-xism:^.*\.pl$)' ], # 4
346 +- [ '*.h++', '(?-xism:^.*\.h\+\+$)' ], # 5
347 +- [ '*.[tar].*', '(?-xism:^.*\.[tar]\..*$)'], # 6
348 +- [ '*.?', '(?-xism:^.*\..?$)'], # 7
349 +-) { is( File::MimeInfo::_glob_to_regexp($_->[0]), $_->[1], 'glob '.++$i ) }
350 ++for my $glob (
351 ++ [ '*.pl', [ '(?-xism:^.*\.pl$)', '(?^u:^.*\.pl$)' ] ], # 4
352 ++ [ '*.h++', [ '(?-xism:^.*\.h\+\+$)', '(?^u:^.*\.h\+\+$)' ] ], # 5
353 ++ [ '*.[tar].*', [ '(?-xism:^.*\.[tar]\..*$)', '(?^u:^.*\.[tar]\..*$)' ] ], # 6
354 ++ [ '*.?', [ '(?-xism:^.*\..?$)', '(?^u:^.*\..?$)' ] ], # 7
355 ++ )
356 ++{
357 ++ my $converted = File::MimeInfo::_glob_to_regexp( $glob->[0] );
358 ++ my $number = ++$i;
359 ++ if ( my ($match) = grep { $_ eq "$converted" } @{ $glob->[1] } ) {
360 ++ pass( 'glob ' . $number . ' matches an expected value' );
361 ++ note explain $match;
362 ++ next;
363 ++ }
364 ++ fail( 'glob ' . $number . ' matches an expected value' );
365 ++ diag explain { got => "$converted", expected_one_of => $glob->[1] };
366 ++}
367 +
368 + # test parsing file names
369 + $i = 0;
370 +--
371 +1.7.5.rc3
372 +
373
374 diff --git a/dev-perl/File-MimeInfo/metadata.xml b/dev-perl/File-MimeInfo/metadata.xml
375 new file mode 100644
376 index 0000000..ad62132
377 --- /dev/null
378 +++ b/dev-perl/File-MimeInfo/metadata.xml
379 @@ -0,0 +1,8 @@
380 +<?xml version="1.0" encoding="UTF-8"?>
381 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
382 +<pkgmetadata>
383 + <herd>perl</herd>
384 + <upstream>
385 + <remote-id type="cpan">File-MimeInfo</remote-id>
386 + </upstream>
387 +</pkgmetadata>