From 03a3a919553f7a7ab1c32fa24fd6b1a480817fca Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Sat, 7 May 2011 10:14:39 +1200 Subject: [+bumpfix] File-MimeInfo-0.15-r2 = ::gentoo import + patch (Portage version: 2.2.0_alpha30/git/Linux x86_64, signed Manifest commit with key 0A0CB301) --- dev-perl/File-MimeInfo/ChangeLog | 258 +++++++++++++++++++++ .../File-MimeInfo/File-MimeInfo-0.15-r2.ebuild | 28 +++ dev-perl/File-MimeInfo/Manifest | 25 ++ .../0.15/0001-Suggested-fix-for-RT-66841.patch | 48 ++++ dev-perl/File-MimeInfo/metadata.xml | 8 + 5 files changed, 367 insertions(+) create mode 100644 dev-perl/File-MimeInfo/ChangeLog create mode 100644 dev-perl/File-MimeInfo/File-MimeInfo-0.15-r2.ebuild create mode 100644 dev-perl/File-MimeInfo/Manifest create mode 100644 dev-perl/File-MimeInfo/files/0.15/0001-Suggested-fix-for-RT-66841.patch create mode 100644 dev-perl/File-MimeInfo/metadata.xml diff --git a/dev-perl/File-MimeInfo/ChangeLog b/dev-perl/File-MimeInfo/ChangeLog new file mode 100644 index 000000000..792dc2514 --- /dev/null +++ b/dev-perl/File-MimeInfo/ChangeLog @@ -0,0 +1,258 @@ +# ChangeLog for dev-perl/File-MimeInfo +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/File-MimeInfo/ChangeLog,v 1.63 2011/04/09 15:53:13 maekke Exp $ + +*File-MimeInfo-0.15-r2 (06 May 2011) + + 06 May 2011; Kent Fredric + +File-MimeInfo-0.15-r2.ebuild, + +files/0.15/0001-Suggested-fix-for-RT-66841.patch, +metadata.xml: + Import from ::gentoo, -r2 and add 5.14 patch + + 09 Apr 2011; Markus Meier File-MimeInfo-0.15-r1.ebuild: + arm stable, bug #359627 + + 27 Mar 2011; Tobias Klausmann + File-MimeInfo-0.15-r1.ebuild: + Stable on alpha, bug #359627 + + 03 Mar 2011; Jonathan Callen File-MimeInfo-0.15-r1.ebuild: + Add ~amd64-linux/~x86-linux keywords + + 13 Feb 2011; Raúl Porcel File-MimeInfo-0.15-r1.ebuild: + Add ~alpha/~arm/~s390/~sh + + 14 Jan 2011; Torsten Veller -File-MimeInfo-0.14.ebuild, + -File-MimeInfo-0.15.ebuild: + Cleanup + + 23 Oct 2010; Samuli Suominen + File-MimeInfo-0.15-r1.ebuild: + ppc64 stable wrt #321147 + + 14 Jul 2010; Jeroen Roovers File-MimeInfo-0.15-r1.ebuild: + Stable for HPPA (bug #321147). + + 30 May 2010; Raúl Porcel + File-MimeInfo-0.15-r1.ebuild: + ia64/sparc stable wrt #321147 + + 24 May 2010; File-MimeInfo-0.15-r1.ebuild: + ppc stable #321147 + + 23 May 2010; Torsten Veller + File-MimeInfo-0.15-r1.ebuild: + Stable on amd64 and x86 (#321147). EAPI=3. Add test dependencies + + 13 Jan 2010; Torsten Veller File-MimeInfo-0.15.ebuild, + File-MimeInfo-0.15-r1.ebuild: + Fix SRC_URI + + 02 Jan 2010; Brent Baude File-MimeInfo-0.15-r1.ebuild: + Marking File-MimeInfo-0.15-r1 ~ppc64 for bug 294277 + + 26 Dec 2009; Raúl Porcel + File-MimeInfo-0.15-r1.ebuild: + Add ~ia64/~sparc wrt #294277 + + 04 Dec 2009; Jeroen Roovers File-MimeInfo-0.15-r1.ebuild: + Marked ~hppa (bug #294277). + +*File-MimeInfo-0.15-r1 (23 Nov 2009) + + 23 Nov 2009; Torsten Veller + +File-MimeInfo-0.15-r1.ebuild: + Depend on dev-perl/File-DesktopEntry (#294277) + + 16 Aug 2009; Torsten Veller -files/mimeinfo.patch, + -files/test01.patch: + Remove unused patch + + 06 Jul 2009; Jeroen Roovers File-MimeInfo-0.15.ebuild: + Stable for HPPA too. + + 18 Nov 2008; Torsten Veller File-MimeInfo-0.14.ebuild, + File-MimeInfo-0.15.ebuild: + New virtuals: module-build + + 30 Sep 2008; Torsten Veller -File-MimeInfo-0.12.ebuild, + -File-MimeInfo-0.13-r1.ebuild, File-MimeInfo-0.15.ebuild: + Cleanup + + 15 Jul 2008; Raúl Porcel File-MimeInfo-0.15.ebuild: + ia64/sparc/x86 stable + +*File-MimeInfo-0.15 (29 Apr 2008) + + 29 Apr 2008; Yuval Yaari +File-MimeInfo-0.15.ebuild: + Version bump + + 13 Mar 2008; Jeroen Roovers File-MimeInfo-0.14.ebuild: + Marked ~hppa too. + + 10 Nov 2007; Samuli Suominen File-MimeInfo-0.14.ebuild: + amd64 stable + + 09 Aug 2007; Tobias Scherbaum + File-MimeInfo-0.14.ebuild: + Stable on ppc. + + 22 Jul 2007; Tom Gall + File-MimeInfo-0.14.ebuild: + stable on ppc64 + + 12 Jul 2007; Gustavo Zacarias + File-MimeInfo-0.14.ebuild: + Stable on sparc + + 11 Jul 2007; Raúl Porcel File-MimeInfo-0.14.ebuild: + ia64/x86 stable + +*File-MimeInfo-0.14 (12 Jun 2007) + + 12 Jun 2007; Michael Cummings + +File-MimeInfo-0.14.ebuild: + Version bump + + 15 Apr 2007; Markus Rothe + File-MimeInfo-0.13-r1.ebuild: + Stable on ppc64 + + 05 Mar 2007; Andrej Kacian + File-MimeInfo-0.13-r1.ebuild: + Stable on x86, bug #169152. + + 15 Jan 2007; Michael Cummings + File-MimeInfo-0.12.ebuild, -File-MimeInfo-0.13.ebuild, + File-MimeInfo-0.13-r1.ebuild: + Ebuild maintenance + + 21 Oct 2006; Tobias Scherbaum + File-MimeInfo-0.13-r1.ebuild: + ppc stable + + 21 Oct 2006; Aron Griffis + File-MimeInfo-0.13-r1.ebuild: + Mark 0.13-r1 stable on ia64 + + 20 Oct 2006; Michael Cummings + -File-MimeInfo-0.10.ebuild, -File-MimeInfo-0.11.ebuild: + Cleaning up old ebuilds + + 20 Oct 2006; Michael Cummings + File-MimeInfo-0.13-r1.ebuild: + Marking sparc stable + + 20 Oct 2006; Michael Cummings + File-MimeInfo-0.13-r1.ebuild: + Marking amd64 stable + + 16 Sep 2006; Tobias Scherbaum + File-MimeInfo-0.13.ebuild: + ppc stable + +*File-MimeInfo-0.13-r1 (06 Sep 2006) + + 06 Sep 2006; Michael Cummings + +files/mimeinfo.patch, +files/test01.patch, +File-MimeInfo-0.13-r1.ebuild: + Bump for a bug in how File-MimeInfo handles utf8 in weird circumstances. + Filed upstream as http://rt.cpan.org/Public/Bug/Display.html?id=20376 - + noticed when running filer ; Patched test01 for flakiness in detecting + plain/text. + + 07 Aug 2006; Michael Cummings + File-MimeInfo-0.13.ebuild: + Marking amd64 stable + + 05 Aug 2006; Michael Cummings + File-MimeInfo-0.10.ebuild, File-MimeInfo-0.11.ebuild, + File-MimeInfo-0.12.ebuild, File-MimeInfo-0.13.ebuild: + Adding perl dep; fixed DEPEND + + 10 Jul 2006; Aron Griffis File-MimeInfo-0.13.ebuild: + Mark 0.13 stable on ia64 + + 04 Jul 2006; Christian Hartmann + File-MimeInfo-0.10.ebuild, File-MimeInfo-0.11.ebuild, + File-MimeInfo-0.12.ebuild, File-MimeInfo-0.13.ebuild: + Fixed RDEPEND wrt bug #134781; fixed header + + 12 Jun 2006; Michael Cummings + File-MimeInfo-0.13.ebuild: + Actual stable mark - sorry + + 12 Jun 2006; Michael Cummings Manifest: + forgot to fix the digest + + 12 Jun 2006; Michael Cummings ChangeLog: + Marking stable sparc + +*File-MimeInfo-0.13 (26 Apr 2006) + + 26 Apr 2006; +File-MimeInfo-0.13.ebuild: + Version bump + + 30 Mar 2006; Aron Griffis File-MimeInfo-0.12.ebuild: + Mark 0.12 ~ia64 + + 21 Jan 2006; Markus Rothe File-MimeInfo-0.12.ebuild: + Stable on ppc64 + + 15 Jan 2006; Michael Hanselmann + File-MimeInfo-0.12.ebuild: + Stable on ppc. + + 13 Jan 2006; Michael Cummings + File-MimeInfo-0.12.ebuild: + Marking stable sparc x86 + + 24 Dec 2005; Michael Hanselmann + File-MimeInfo-0.11.ebuild: + Stable on ppc. + + 28 Nov 2005; Tom Gall File-MimeInfo-0.11.ebuild: + stable on ppc64 + + 22 Nov 2005; Gustavo Zacarias + File-MimeInfo-0.11.ebuild: + Stable on sparc + +*File-MimeInfo-0.12 (22 Nov 2005) + + 22 Nov 2005; Michael Cummings + File-MimeInfo-0.11.ebuild, +File-MimeInfo-0.12.ebuild: + Version bump, marking stable x86 + + 09 Jun 2005; File-MimeInfo-0.11.ebuild: + Added ~amd64 + +*File-MimeInfo-0.11 (25 Apr 2005) + + 25 Apr 2005; Michael Cummings + File-MimeInfo-0.10.ebuild, +File-MimeInfo-0.11.ebuild: + cleaning + + 23 Dec 2004; Yuta SATOH File-MimeInfo-0.10.ebuild: + added ~ppc64 + + 12 Dec 2004; Jason Wever File-MimeInfo-0.10.ebuild: + Stable on sparc. + + 02 Sep 2004; David Holm File-MimeInfo-0.10.ebuild: + Added to ~ppc. + + 10 Aug 2004; Ferris McCormick File-MimeInfo-0.10.ebuild: + Add ~sparc keyword (Bug 59941). Passes all tests for sparc and supports + filer (59943). + + 31 Mar 2004; Michael Cummings + File-MimeInfo-0.10.ebuild: + Marking stable + +*File-MimeInfo-0.10 (14 Feb 2004) + + 14 Feb 2004; Eric Sammer File-MimeInfo-0.10.ebuild: + Initial import of File-MimeInfo submitted by Sven Wegener + as a dependency for the yet to be added + app-misc/filer. Thanks to Sven Wegener. Part of bug #41605. + diff --git a/dev-perl/File-MimeInfo/File-MimeInfo-0.15-r2.ebuild b/dev-perl/File-MimeInfo/File-MimeInfo-0.15-r2.ebuild new file mode 100644 index 000000000..7cb84d1c0 --- /dev/null +++ b/dev-perl/File-MimeInfo/File-MimeInfo-0.15-r2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ + +EAPI=3 + +MODULE_AUTHOR=PARDUS +MODULE_SECTION=${PN} +inherit perl-module + +DESCRIPTION="Determine file type" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +PATCHES=( + "${FILESDIR}/${PV}/0001-Suggested-fix-for-RT-66841.patch" +) +RDEPEND=">=dev-perl/File-BaseDir-0.03 + >=dev-perl/File-DesktopEntry-0.04 + x11-misc/shared-mime-info" +DEPEND="${RDEPEND} + virtual/perl-Module-Build + test? ( dev-perl/Test-Pod + dev-perl/Test-Pod-Coverage )" + +SRC_TEST="do" diff --git a/dev-perl/File-MimeInfo/Manifest b/dev-perl/File-MimeInfo/Manifest new file mode 100644 index 000000000..ff3b982ff --- /dev/null +++ b/dev-perl/File-MimeInfo/Manifest @@ -0,0 +1,25 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX 0.15/0001-Suggested-fix-for-RT-66841.patch 1698 RMD160 2927d20cb86245b1de7cbf3b50f9d3420ed9853d SHA1 3bea5370822a9e6fe1e44626229f07b2fe33ee7b SHA256 9117a7eeadfcae04b0a79d0f66f1f9f24d48e5f49b10ec63dbdb2ed800da86bc +DIST File-MimeInfo-0.15.tar.gz 29269 RMD160 5914f6e737108f9fd01031b0224a76098bcb261a SHA1 e185dd52769ec3c77cbb1eb983e49b843e5e38e5 SHA256 b5486311ca5c7bae065060425af209157fc8ae5899ddb85197d2e27e1c18dc25 +EBUILD File-MimeInfo-0.15-r2.ebuild 678 RMD160 cf91e89c719278ab138343df6e28ae642493a982 SHA1 106990d2e03a7737f825998d8de41912f1047b19 SHA256 3182692b45dec46cd4dac2fd2c56cc4dc511d48f36841751398c5c6294e12eaf +MISC ChangeLog 8136 RMD160 a834a740fa473026b391ab005e35f9e68b40eea4 SHA1 cee1e24b93cd789e62337ebf832261b2ab8f530d SHA256 8b3c39482271ed332729ad9ae22db2fc3ec115c90da060348f3bf41ab0493d98 +MISC metadata.xml 239 RMD160 841616699b03b5a7707efe7490b8e5add6dfcd63 SHA1 0e5c9fb2688c8090828ae6e437e0d44a07634bbd SHA256 11c785a6fc1bb7627d5a693c43294544cbf635ef34f954c41876e2b25aa42ade +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iQIcBAEBCAAGBQJNxHLOAAoJEGAnLswKDLMBKg0QAJlFVb5mFmYxoc2G7E0jZ3wq +1NgWD6n+FS69XQ4l0GWepd/655gakB+ZBsKnvMZsOWDbc2D0PbsE+Vh9PHAwLijo +nDDCfhpusqKErU2Y7HGOo0XRfcNskCXpKK4Y9ukFqchbVhqI+OmiZe7RcHKLlxqP +PC6AnuED6StKvO9UeFCttzIneS+E3+1dbdOfWsvj+/n51/AFfMs02ZHZwdYehfGX +J+oTS0sQJeJdNhN+HInfO4VQ9Kv2iQxiyLrrzOzq0BV2rIBevW7k9TSuZF0dQ+TE +hQ31jTKuMEm8F/fFLCSOmpsGhLZZfu8/jWeetsOr2kCQSejAmnnHAISwyc6qbVhW +lgUGenmp/VFpX3R/hIAGdThPl+5D7uusi9yuZGlbBiWdY1brg7n1+ZFqU7j1lz9D +UKwX+xA9/5rWtWXdlnRb63+Ex/+aH/hlCbUGHLSnTmRJfxMjRPv/eVJTtU9FT00k +nQv/YaBEyfvzewInbJxdSCII1O9yTQPBGnqi823g8/vTH0WjWTY/fbqVWP5DiOUj ++WrS8rnWY/PsXlu+3QuS9hqHZLq1P8R1Uahgr1QO6K0M0mnay8issEYKw4zSbzDa +ZISEScYWEXLf4zp83w4mCcnqF2yunIv5SoRXdQBF52P8+jFlZbQs2v8AbvdbuP1v +6hn7+tLbAxr40Jek2hJC +=Fft9 +-----END PGP SIGNATURE----- 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 new file mode 100644 index 000000000..c1e3adb66 --- /dev/null +++ b/dev-perl/File-MimeInfo/files/0.15/0001-Suggested-fix-for-RT-66841.patch @@ -0,0 +1,48 @@ +From 807262f4aeb0694b6eabcc1acffecfa87e1df783 Mon Sep 17 00:00:00 2001 +From: Kent Fredric +Date: Sat, 7 May 2011 09:35:19 +1200 +Subject: [PATCH] Suggested fix for RT#66841 + +Replace regexp validation tests with similar tests that permit it to be +any one of a list of values. +--- + t/01_normal.t | 23 +++++++++++++++++------ + 1 files changed, 17 insertions(+), 6 deletions(-) + +diff --git a/t/01_normal.t b/t/01_normal.t +index 305da37..08c57f4 100644 +--- a/t/01_normal.t ++++ b/t/01_normal.t +@@ -18,12 +18,23 @@ use_ok('File::MimeInfo', qw/mimetype describe globs/); # 1 + + # test _glob_to_regexp + my $i = 0; +-for ( +- [ '*.pl', '(?-xism:^.*\.pl$)' ], # 4 +- [ '*.h++', '(?-xism:^.*\.h\+\+$)' ], # 5 +- [ '*.[tar].*', '(?-xism:^.*\.[tar]\..*$)'], # 6 +- [ '*.?', '(?-xism:^.*\..?$)'], # 7 +-) { is( File::MimeInfo::_glob_to_regexp($_->[0]), $_->[1], 'glob '.++$i ) } ++for my $glob ( ++ [ '*.pl', [ '(?-xism:^.*\.pl$)', '(?^u:^.*\.pl$)' ] ], # 4 ++ [ '*.h++', [ '(?-xism:^.*\.h\+\+$)', '(?^u:^.*\.h\+\+$)' ] ], # 5 ++ [ '*.[tar].*', [ '(?-xism:^.*\.[tar]\..*$)', '(?^u:^.*\.[tar]\..*$)' ] ], # 6 ++ [ '*.?', [ '(?-xism:^.*\..?$)', '(?^u:^.*\..?$)' ] ], # 7 ++ ) ++{ ++ my $converted = File::MimeInfo::_glob_to_regexp( $glob->[0] ); ++ my $number = ++$i; ++ if ( my ($match) = grep { $_ eq "$converted" } @{ $glob->[1] } ) { ++ pass( 'glob ' . $number . ' matches an expected value' ); ++ note explain $match; ++ next; ++ } ++ fail( 'glob ' . $number . ' matches an expected value' ); ++ diag explain { got => "$converted", expected_one_of => $glob->[1] }; ++} + + # test parsing file names + $i = 0; +-- +1.7.5.rc3 + diff --git a/dev-perl/File-MimeInfo/metadata.xml b/dev-perl/File-MimeInfo/metadata.xml new file mode 100644 index 000000000..ad62132ba --- /dev/null +++ b/dev-perl/File-MimeInfo/metadata.xml @@ -0,0 +1,8 @@ + + + + perl + + File-MimeInfo + + -- cgit v1.2.3