r57271 - in /trunk/libsoftware-license-perl: Changes MANIFEST META.yml debian/changelog inc/Module/Install/ExtraTests.pm lib/Software/License.pm lib/Software/License/CC0_1_0.pm lib/Software/License/None.pm

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Sat May 1 23:17:33 UTC 2010


Author: jawnsy-guest
Date: Sat May  1 23:17:26 2010
New Revision: 57271

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=57271
Log:
New upstream release

Added:
    trunk/libsoftware-license-perl/lib/Software/License/CC0_1_0.pm
      - copied unchanged from r57270, branches/upstream/libsoftware-license-perl/current/lib/Software/License/CC0_1_0.pm
    trunk/libsoftware-license-perl/lib/Software/License/None.pm
      - copied unchanged from r57270, branches/upstream/libsoftware-license-perl/current/lib/Software/License/None.pm
Modified:
    trunk/libsoftware-license-perl/Changes
    trunk/libsoftware-license-perl/MANIFEST
    trunk/libsoftware-license-perl/META.yml
    trunk/libsoftware-license-perl/debian/changelog
    trunk/libsoftware-license-perl/inc/Module/Install/ExtraTests.pm
    trunk/libsoftware-license-perl/lib/Software/License.pm

Modified: trunk/libsoftware-license-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsoftware-license-perl/Changes?rev=57271&op=diff
==============================================================================
--- trunk/libsoftware-license-perl/Changes (original)
+++ trunk/libsoftware-license-perl/Changes Sat May  1 23:17:26 2010
@@ -1,4 +1,8 @@
 Revision history for Software-License
+
+0.016     2010-05-01
+          added the None and CC0_1_0 licenses for the far ends of the spectrum
+          (thanks to Brian Phillips for None)
 
 0.015     2010-03-26
           up the Test::More prereq

Modified: trunk/libsoftware-license-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsoftware-license-perl/MANIFEST?rev=57271&op=diff
==============================================================================
--- trunk/libsoftware-license-perl/MANIFEST (original)
+++ trunk/libsoftware-license-perl/MANIFEST Sat May  1 23:17:26 2010
@@ -16,6 +16,7 @@
 lib/Software/License/Artistic_1_0.pm
 lib/Software/License/Artistic_2_0.pm
 lib/Software/License/BSD.pm
+lib/Software/License/CC0_1_0.pm
 lib/Software/License/FreeBSD.pm
 lib/Software/License/GFDL_1_2.pm
 lib/Software/License/GPL_1.pm
@@ -26,6 +27,7 @@
 lib/Software/License/MIT.pm
 lib/Software/License/Mozilla_1_0.pm
 lib/Software/License/Mozilla_1_1.pm
+lib/Software/License/None.pm
 lib/Software/License/OpenSSL.pm
 lib/Software/License/Perl_5.pm
 lib/Software/License/QPL_1_0.pm

Modified: trunk/libsoftware-license-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsoftware-license-perl/META.yml?rev=57271&op=diff
==============================================================================
--- trunk/libsoftware-license-perl/META.yml (original)
+++ trunk/libsoftware-license-perl/META.yml Sat May  1 23:17:26 2010
@@ -27,4 +27,4 @@
 resources:
   license: http://dev.perl.org/licenses/
   repository: http://github.com/rjbs/software-license
-version: 0.015
+version: 0.016

Modified: trunk/libsoftware-license-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsoftware-license-perl/debian/changelog?rev=57271&op=diff
==============================================================================
--- trunk/libsoftware-license-perl/debian/changelog (original)
+++ trunk/libsoftware-license-perl/debian/changelog Sat May  1 23:17:26 2010
@@ -1,3 +1,9 @@
+libsoftware-license-perl (0.016-1) UNRELEASED; urgency=low
+
+  * New upstream release
+
+ -- Jonathan Yu <jawnsy at cpan.org>  Sat, 01 May 2010 19:51:01 -0400
+
 libsoftware-license-perl (0.015-1) unstable; urgency=low
 
   * New upstream release.

Modified: trunk/libsoftware-license-perl/inc/Module/Install/ExtraTests.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsoftware-license-perl/inc/Module/Install/ExtraTests.pm?rev=57271&op=diff
==============================================================================
--- trunk/libsoftware-license-perl/inc/Module/Install/ExtraTests.pm (original)
+++ trunk/libsoftware-license-perl/inc/Module/Install/ExtraTests.pm Sat May  1 23:17:26 2010
@@ -6,46 +6,60 @@
 use Module::Install::Base;
 
 BEGIN {
-  our $VERSION = '0.006';
+  our $VERSION = '0.007';
   our $ISCORE  = 1;
   our @ISA     = qw{Module::Install::Base};
 }
+
+our $use_extratests = 0;
 
 sub extra_tests {
   my ($self) = @_;
 
   return unless -d 'xt';
-  return unless my @content = grep { $_ =~ /^[.]/ } <xt/*>;
+  return unless my @content = grep { $_ !~ /^[.]/ } <xt/*>;
 
-  die "unknown files found in ./xt" if grep { -f } @content;
+  die "unknown files found in ./xt" if grep { !-d } @content;
 
-  my %known   = map {; $_ => 1 } qw(author smoke release);
+  my %known   = map {; "xt/$_" => 1 } qw(author smoke release);
   my @unknown = grep { not $known{$_} } @content;
   die "unknown directories found in ./xt: @unknown" if @unknown;
 
-  {
-    no warnings qw(closure once);
-    package # The newline tells PAUSE, "DO NOT INDEXING!"
-    MY;
-    sub test_via_harness {
-      my ($self, $perl, $tests) = @_;
-      my $a_str = -d 'xt/author'  ? 'xt/author'  : '';
-      my $r_str = -d 'xt/release' ? 'xt/release' : '';
-      my $s_str = -d 'xt/smoke'   ? 'xt/smoke'   : '';
-      my $is_author = $Module::Install::AUTHOR ? 1 : 0;
+  $use_extratests = 1;
 
-      return qq{\t$perl "-Iinc" "-MModule::Install::ExtraTests" }
-           . qq{"-e" "Module::Install::ExtraTests::__harness('Test::Harness', $is_author, '$a_str', '$r_str', '$s_str', \$(TEST_VERBOSE), '\$(INST_LIB)', '\$(INST_ARCHLIB)')" $tests\n};
-    }
+  return;
+}
 
-    sub dist_test {
-      my ($self, @args) = @_;
-      my $text = $self->SUPER::dist_test(@args);
-      my @lines = split /\n/, $text;
-      $_ =~ s/ (\S*MAKE\S* test )/ RELEASE_TESTING=1 $1 / for grep { m/ test / } @lines;
-      return join "\n", @lines;
-    }
+{
+  no warnings qw(once);
+  package # The newline tells PAUSE, "DO NOT INDEXING!"
+  MY;
+  sub test_via_harness {
+    my $self = shift;
 
+    return $self->SUPER::test_via_harness(@_)
+      unless $use_extratests;
+
+    my ($perl, $tests) = @_;
+    my $a_str = -d 'xt/author'  ? 'xt/author'  : '';
+    my $r_str = -d 'xt/release' ? 'xt/release' : '';
+    my $s_str = -d 'xt/smoke'   ? 'xt/smoke'   : '';
+    my $is_author = $Module::Install::AUTHOR ? 1 : 0;
+
+    return qq{\t$perl "-Iinc" "-MModule::Install::ExtraTests" }
+         . qq{"-e" "Module::Install::ExtraTests::__harness('Test::Harness', $is_author, '$a_str', '$r_str', '$s_str', \$(TEST_VERBOSE), '\$(INST_LIB)', '\$(INST_ARCHLIB)')" $tests\n};
+  }
+
+  sub dist_test {
+    my ($self, @args) = @_;
+
+    return $self->SUPER::dist_test(@args)
+      unless $use_extratests;
+
+    my $text = $self->SUPER::dist_test(@args);
+    my @lines = split /\n/, $text;
+    $_ =~ s/ (\S*MAKE\S* test )/ RELEASE_TESTING=1 $1 / for grep { m/ test / } @lines;
+    return join "\n", @lines;
   }
 }
 

Modified: trunk/libsoftware-license-perl/lib/Software/License.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsoftware-license-perl/lib/Software/License.pm?rev=57271&op=diff
==============================================================================
--- trunk/libsoftware-license-perl/lib/Software/License.pm (original)
+++ trunk/libsoftware-license-perl/lib/Software/License.pm Sat May  1 23:17:26 2010
@@ -9,11 +9,11 @@
 
 =head1 VERSION
 
-version 0.015
-
-=cut
-
-our $VERSION = '0.015';
+version 0.016
+
+=cut
+
+our $VERSION = '0.016';
 
 use Data::Section -setup => { header_re => qr/\A__([^_]+)__\Z/ };
 use Sub::Install ();




More information about the Pkg-perl-cvs-commits mailing list