r54883 - in /branches/upstream/libcpan-distnameinfo-perl/current: Changes META.yml SIGNATURE lib/CPAN/DistnameInfo.pm t/path.t

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sun Mar 28 16:51:50 UTC 2010


Author: gregoa
Date: Sun Mar 28 16:51:36 2010
New Revision: 54883

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=54883
Log:
[svn-upgrade] Integrating new upstream version, libcpan-distnameinfo-perl (0.10)

Modified:
    branches/upstream/libcpan-distnameinfo-perl/current/Changes
    branches/upstream/libcpan-distnameinfo-perl/current/META.yml
    branches/upstream/libcpan-distnameinfo-perl/current/SIGNATURE
    branches/upstream/libcpan-distnameinfo-perl/current/lib/CPAN/DistnameInfo.pm
    branches/upstream/libcpan-distnameinfo-perl/current/t/path.t

Modified: branches/upstream/libcpan-distnameinfo-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcpan-distnameinfo-perl/current/Changes?rev=54883&op=diff
==============================================================================
--- branches/upstream/libcpan-distnameinfo-perl/current/Changes (original)
+++ branches/upstream/libcpan-distnameinfo-perl/current/Changes Sun Mar 28 16:51:36 2010
@@ -1,3 +1,7 @@
+0.10 -- Sat Mar 27 15:04:54 CDT 2010
+
+  * Support -TRAIL in distribution version to indicate developer release
+
 0.09 -- Thu Dec 3 18:29:49 CST 2009
 
   * Normalize dist() for CGI.pm [Michael G. Schwern]

Modified: branches/upstream/libcpan-distnameinfo-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcpan-distnameinfo-perl/current/META.yml?rev=54883&op=diff
==============================================================================
--- branches/upstream/libcpan-distnameinfo-perl/current/META.yml (original)
+++ branches/upstream/libcpan-distnameinfo-perl/current/META.yml Sun Mar 28 16:51:36 2010
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               CPAN-DistnameInfo
-version:            0.09
+version:            0.10
 abstract:           Extract distribution name and version from a distribution filename
 author:
     - Graham Barr <gbarr at cpan.org>

Modified: branches/upstream/libcpan-distnameinfo-perl/current/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcpan-distnameinfo-perl/current/SIGNATURE?rev=54883&op=diff
==============================================================================
--- branches/upstream/libcpan-distnameinfo-perl/current/SIGNATURE (original)
+++ branches/upstream/libcpan-distnameinfo-perl/current/SIGNATURE Sun Mar 28 16:51:36 2010
@@ -14,18 +14,18 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 ba8b440387e678466bf4bdf756b432bfb3546ead Changes
+SHA1 3c5cd7b6aecbfca27add19bde5e71b53c0687a41 Changes
 SHA1 49d042e197b5c18b654acd4bd9c1d22d7014d174 MANIFEST
-SHA1 ca73862e893018878248a210babff98216779c8b META.yml
+SHA1 b8e100338e7e6bb1834ac8d49b088ec0657c394d META.yml
 SHA1 da8ac89bf8cf1d7b58fdc28503b380d94cebf6a3 Makefile.PL
 SHA1 75225b292ce4d6d6bb0212fa8f249aaa8ee41ae8 README
-SHA1 9fab06b434f5505b56cb0da20c17bd8d41c7afba lib/CPAN/DistnameInfo.pm
+SHA1 53baf9e53d4195a53046d16977390e785752d718 lib/CPAN/DistnameInfo.pm
 SHA1 ddc339a19d1ded18dc0f6d958904348a8141e2be t/ext.t
-SHA1 805c08cb361d5b713010d4b598b3a2476a5e0f44 t/path.t
+SHA1 8d17d389f6a2200376ca8ad2bb23196ac2f7597d t/path.t
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.10 (Darwin)
 
-iEYEARECAAYFAksYWEwACgkQR0BL4gbYw3RZtACdEEm7jmmUmrCC8yUgDFgqLO0t
-N1gAnRX5yQli2fvWsXpGe85UbuaWi/WW
-=Gz2Z
+iEYEARECAAYFAkuuZW4ACgkQR0BL4gbYw3SZkQCeIS4RS3kDHQK+T9Gbu+QZrA+U
+CmYAniuJS5fCaqW+th+K46j6hqL/9Xpe
+=DnWV
 -----END PGP SIGNATURE-----

Modified: branches/upstream/libcpan-distnameinfo-perl/current/lib/CPAN/DistnameInfo.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcpan-distnameinfo-perl/current/lib/CPAN/DistnameInfo.pm?rev=54883&op=diff
==============================================================================
--- branches/upstream/libcpan-distnameinfo-perl/current/lib/CPAN/DistnameInfo.pm (original)
+++ branches/upstream/libcpan-distnameinfo-perl/current/lib/CPAN/DistnameInfo.pm Sun Mar 28 16:51:36 2010
@@ -1,7 +1,7 @@
 
 package CPAN::DistnameInfo;
 
-$VERSION = "0.09";
+$VERSION = "0.10";
 use strict;
 
 sub distname_info {
@@ -51,7 +51,7 @@
     if ($file =~ /^perl-?\d+\.(\d+)(?:\D(\d+))?(-(?:TRIAL|RC)\d+)?$/) {
       $dev = 1 if (($1 > 6 and $1 & 1) or ($2 and $2 >= 50)) or $3;
     }
-    elsif ($version =~ /\d\D\d+_\d/) {
+    elsif ($version =~ /\d\D\d+_\d/ or $version =~ /-TRIAL/) {
       $dev = 1;
     }
   }

Modified: branches/upstream/libcpan-distnameinfo-perl/current/t/path.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcpan-distnameinfo-perl/current/t/path.t?rev=54883&op=diff
==============================================================================
--- branches/upstream/libcpan-distnameinfo-perl/current/t/path.t (original)
+++ branches/upstream/libcpan-distnameinfo-perl/current/t/path.t Sun Mar 28 16:51:36 2010
@@ -1,5 +1,5 @@
 
-use Test::More tests => 233;
+use Test::More tests => 260;
 use Data::Dumper;
 
 use CPAN::DistnameInfo;
@@ -253,3 +253,30 @@
 	version		2.34
 	cpanid		LDS
 	extension	tar.gz
+
+CPAN/authors/id/J/JE/JESSE/perl-5.12.0-RC0.tar.gz
+	filename	perl-5.12.0-RC0.tar.gz
+	dist		perl
+	maturity	developer
+	distvname	perl-5.12.0-RC0
+	version		5.12.0-RC0
+	cpanid		JESSE
+	extension	tar.gz
+
+CPAN/authors/id/G/GS/GSAR/perl-5.6.1-TRIAL3.tar.gz
+	filename	perl-5.6.1-TRIAL3.tar.gz
+	dist		perl
+	maturity	developer
+	distvname	perl-5.6.1-TRIAL3
+	version		5.6.1-TRIAL3
+	cpanid		GSAR
+	extension	tar.gz
+
+CPAN/authors/id/R/RJ/RJBS/Dist-Zilla-2.100860-TRIAL.tar.gz
+	filename	Dist-Zilla-2.100860-TRIAL.tar.gz
+	dist		Dist-Zilla
+	maturity	developer
+	distvname	Dist-Zilla-2.100860-TRIAL
+	version		2.100860-TRIAL
+	cpanid		RJBS
+	extension	tar.gz




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