r48443 - in /trunk/libtest-cpan-meta-perl: Changes META.yml debian/changelog debian/copyright lib/Test/CPAN/Meta.pm lib/Test/CPAN/Meta/Version.pm t/03metaversion.t t/samples/07-META.yml
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Tue Dec 8 15:42:31 UTC 2009
Author: jawnsy-guest
Date: Tue Dec 8 15:42:26 2009
New Revision: 48443
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=48443
Log:
* New upstream release
* Add myself to Uploaders and Copyright
Modified:
trunk/libtest-cpan-meta-perl/Changes
trunk/libtest-cpan-meta-perl/META.yml
trunk/libtest-cpan-meta-perl/debian/changelog
trunk/libtest-cpan-meta-perl/debian/copyright
trunk/libtest-cpan-meta-perl/lib/Test/CPAN/Meta.pm
trunk/libtest-cpan-meta-perl/lib/Test/CPAN/Meta/Version.pm
trunk/libtest-cpan-meta-perl/t/03metaversion.t
trunk/libtest-cpan-meta-perl/t/samples/07-META.yml
Modified: trunk/libtest-cpan-meta-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-cpan-meta-perl/Changes?rev=48443&op=diff
==============================================================================
--- trunk/libtest-cpan-meta-perl/Changes (original)
+++ trunk/libtest-cpan-meta-perl/Changes Tue Dec 8 15:42:26 2009
@@ -1,4 +1,10 @@
# Changes log for Test::CPAN::Meta
+
+0.14 07/12/2009
+ - RT#46473: license url with fragment part (Kevin Ryde)
+ - RT#47393: "optional_features" as map rather than list (Kevin Ryde)
+ - above applied to 1.4, 1.3 and 1.2 version of the meta-spec.
+
0.13 24/05/2009
- added version checking to standard 94metatest.t
Modified: trunk/libtest-cpan-meta-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-cpan-meta-perl/META.yml?rev=48443&op=diff
==============================================================================
--- trunk/libtest-cpan-meta-perl/META.yml (original)
+++ trunk/libtest-cpan-meta-perl/META.yml Tue Dec 8 15:42:26 2009
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: Test-CPAN-Meta
-version: 0.13
+version: 0.14
abstract: A test module to validate a CPAN META.yml file.
author:
- Barbie <barbie at cpan.org>
@@ -24,10 +24,10 @@
provides:
Test::CPAN::Meta:
file: lib/Test/CPAN/Meta.pm
- version: 0.13
+ version: 0.14
Test::CPAN::Meta::Version:
file: lib/Test/CPAN/Meta/Version.pm
- version: 0.13
+ version: 0.14
no_index:
directory:
- t
Modified: trunk/libtest-cpan-meta-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-cpan-meta-perl/debian/changelog?rev=48443&op=diff
==============================================================================
--- trunk/libtest-cpan-meta-perl/debian/changelog (original)
+++ trunk/libtest-cpan-meta-perl/debian/changelog Tue Dec 8 15:42:26 2009
@@ -1,4 +1,8 @@
-libtest-cpan-meta-perl (0.13-2) UNRELEASED; urgency=low
+libtest-cpan-meta-perl (0.14-1) UNRELEASED; urgency=low
+
+ [ Jonathan Yu ]
+ * New upstream release
+ * Add myself to Uploaders and Copyright
[ Nathan Handler ]
* debian/watch: Update to ignore development releases.
@@ -10,7 +14,7 @@
* debian/control: Changed: (build-)depend on perl instead of perl-
modules.
- -- Ryan Niebur <ryan at debian.org> Fri, 25 Sep 2009 00:26:33 -0700
+ -- Jonathan Yu <jawnsy at cpan.org> Tue, 08 Dec 2009 07:30:46 -0500
libtest-cpan-meta-perl (0.13-1) unstable; urgency=low
Modified: trunk/libtest-cpan-meta-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-cpan-meta-perl/debian/copyright?rev=48443&op=diff
==============================================================================
--- trunk/libtest-cpan-meta-perl/debian/copyright (original)
+++ trunk/libtest-cpan-meta-perl/debian/copyright Tue Dec 8 15:42:26 2009
@@ -5,13 +5,14 @@
Upstream-Name: Test-CPAN-Meta
Files: *
-Copyright: Copyright (C) 2007-2008 Barbie for Miss Barbell Productions.
+Copyright: 2007-2008, Barbie <barbie at cpan.org>
License-Alias: Perl
License: Artistic | GPL-1+
Files: debian/*
-Copyright: 2008, Vincent Danjean <vdanjean at debian.org>
+Copyright: 2009, Jonathan Yu <jawnsy at cpan.org>
2009, Ryan Niebur <ryan at debian.org>
+ 2008, Vincent Danjean <vdanjean at debian.org>
License: Artistic | GPL-1+
License: Artistic
Modified: trunk/libtest-cpan-meta-perl/lib/Test/CPAN/Meta.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-cpan-meta-perl/lib/Test/CPAN/Meta.pm?rev=48443&op=diff
==============================================================================
--- trunk/libtest-cpan-meta-perl/lib/Test/CPAN/Meta.pm (original)
+++ trunk/libtest-cpan-meta-perl/lib/Test/CPAN/Meta.pm Tue Dec 8 15:42:26 2009
@@ -4,7 +4,7 @@
use strict;
use vars qw($VERSION);
-$VERSION = '0.13';
+$VERSION = '0.14';
#----------------------------------------------------------------------------
@@ -190,7 +190,7 @@
=head1 COPYRIGHT AND LICENSE
- Copyright (C) 2007,2008 Barbie for Miss Barbell Productions
+ Copyright (C) 2007-2010 Barbie for Miss Barbell Productions
This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
Modified: trunk/libtest-cpan-meta-perl/lib/Test/CPAN/Meta/Version.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-cpan-meta-perl/lib/Test/CPAN/Meta/Version.pm?rev=48443&op=diff
==============================================================================
--- trunk/libtest-cpan-meta-perl/lib/Test/CPAN/Meta/Version.pm (original)
+++ trunk/libtest-cpan-meta-perl/lib/Test/CPAN/Meta/Version.pm Tue Dec 8 15:42:26 2009
@@ -91,7 +91,7 @@
'conflicts' => $module_map2,
'optional_features' => {
- list => {
+ 'map' => {
':key' => { name => \&word,
'map' => { description => { value => \&string },
requires_packages => { value => \&string },
@@ -152,7 +152,7 @@
'conflicts' => $module_map2,
'optional_features' => {
- list => {
+ 'map' => {
':key' => { name => \&word,
'map' => { description => { value => \&string },
requires_packages => { value => \&string },
@@ -221,6 +221,22 @@
'build_requires' => $module_map1,
'conflicts' => $module_map2,
+ 'optional_features' => {
+ 'map' => {
+ ':key' => { name => \&word,
+ 'map' => { description => { value => \&string },
+ requires_packages => { value => \&string },
+ requires_os => { value => \&string },
+ excludes_os => { value => \&string },
+ requires => $module_map1,
+ recommends => $module_map1,
+ build_requires => $module_map1,
+ conflicts => $module_map2,
+ }
+ }
+ }
+ },
+
'provides' => {
'map' => { ':key' => { name => \&module,
'map' => { file => { mandatory => 1, value => \&file },
@@ -551,7 +567,7 @@
my $domain = qr¬((($atom(($atom|-)*$atom)?)\.)*([a-zA-Z](($atom|-)*$atom)?))¬;
my $ip = qr¬((\d+)(\.(\d+)){3})(:(\d+))?¬;
my $enc = qr¬%[a-fA-F\d]{2}¬;
-my $legal1 = qr¬[a-zA-Z\d\$\-_.+!*'(),]¬; #' - this comment is to avoid syntax highlighting issues
+my $legal1 = qr¬[a-zA-Z\d\$\-_.+!*'(),#]¬; #' - this comment is to avoid syntax highlighting issues
my $legal2 = qr¬[;:@&=]¬;
my $legal3 = qr¬((($legal1|$enc)|$legal2)*)¬;
my $path = qr¬\/$legal3(\/$legal3)*¬;
@@ -756,7 +772,7 @@
=head1 COPYRIGHT AND LICENSE
- Copyright (C) 2007,2008 Barbie for Miss Barbell Productions
+ Copyright (C) 2007-2010 Barbie for Miss Barbell Productions
This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
Modified: trunk/libtest-cpan-meta-perl/t/03metaversion.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-cpan-meta-perl/t/03metaversion.t?rev=48443&op=diff
==============================================================================
--- trunk/libtest-cpan-meta-perl/t/03metaversion.t (original)
+++ trunk/libtest-cpan-meta-perl/t/03metaversion.t Tue Dec 8 15:42:26 2009
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
use strict;
-use Test::More tests => 91;
+use Test::More tests => 92;
use Test::CPAN::Meta::Version;
my $spec = Test::CPAN::Meta::Version->new(spec => '1.3');
@@ -18,6 +18,8 @@
is($spec->url('url','test^example^com'),0);
is($spec->url('url',''),0);
is($spec->url('url',undef),0);
+
+is($spec->url('url','http://www.gnu.org/licenses/#GPL'),1,'valid URL: http://www.gnu.org/licenses/#GPL');
is($spec->urlspec('spec','http://module-build.sourceforge.net/META-spec-v1.3.html'),1,'valid specification URL');
is($spec->urlspec('spec','http://module-build.sourceforge.net/META-spec-v1.2.html'),0);
Modified: trunk/libtest-cpan-meta-perl/t/samples/07-META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-cpan-meta-perl/t/samples/07-META.yml?rev=48443&op=diff
==============================================================================
--- trunk/libtest-cpan-meta-perl/t/samples/07-META.yml (original)
+++ trunk/libtest-cpan-meta-perl/t/samples/07-META.yml Tue Dec 8 15:42:26 2009
@@ -38,16 +38,16 @@
generated_by: Hand 1.0
optional_features:
- - foo:
- description: test
- requires_packages: test
- requires_os: test
- excludes_os: test
- requires:
- Test::More: 0.47
- recommends:
- Test::More: 0.47
- build_requires:
- Test::More: 0.47
- conflicts:
- Test::More: 0.47
+ foo:
+ description: test
+ requires_packages: test
+ requires_os: test
+ excludes_os: test
+ requires:
+ Test::More: 0.47
+ recommends:
+ Test::More: 0.47
+ build_requires:
+ Test::More: 0.47
+ conflicts:
+ Test::More: 0.47
More information about the Pkg-perl-cvs-commits
mailing list