r71232 - in /branches/upstream/libcpan-distnameinfo-perl/current: Changes META.yml SIGNATURE lib/CPAN/DistnameInfo.pm t/ext.t
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Sat Mar 12 01:58:27 UTC 2011
Author: jawnsy-guest
Date: Sat Mar 12 01:58:11 2011
New Revision: 71232
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=71232
Log:
[svn-upgrade] new version libcpan-distnameinfo-perl (0.12)
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/ext.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=71232&op=diff
==============================================================================
--- branches/upstream/libcpan-distnameinfo-perl/current/Changes (original)
+++ branches/upstream/libcpan-distnameinfo-perl/current/Changes Sat Mar 12 01:58:11 2011
@@ -1,3 +1,7 @@
+0.12 -- Fri Mar 11 17:36:55 CST 2011
+
+ * Grok dist names ending with something numeric containing underscores [Florian Ragwitz]
+
0.11 -- Tue Dec 14 08:52:15 CST 2010
* Remove potential -withoutworldwriteables suffix [Vincent Pit]
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=71232&op=diff
==============================================================================
--- branches/upstream/libcpan-distnameinfo-perl/current/META.yml (original)
+++ branches/upstream/libcpan-distnameinfo-perl/current/META.yml Sat Mar 12 01:58:11 2011
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: CPAN-DistnameInfo
-version: 0.11
+version: 0.12
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=71232&op=diff
==============================================================================
--- branches/upstream/libcpan-distnameinfo-perl/current/SIGNATURE (original)
+++ branches/upstream/libcpan-distnameinfo-perl/current/SIGNATURE Sat Mar 12 01:58:11 2011
@@ -14,18 +14,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-SHA1 1984003d6d56deaf9dd778af345fe5c4873f49e0 Changes
+SHA1 d75638f01f6bfab2fbdfd701842e3bf49be256f4 Changes
SHA1 49d042e197b5c18b654acd4bd9c1d22d7014d174 MANIFEST
-SHA1 23cd794bff82ab1ad8a6a37ea3eab575d21aee18 META.yml
+SHA1 33e232f9b9f97f8877f5de337c562f2c976c5c30 META.yml
SHA1 da8ac89bf8cf1d7b58fdc28503b380d94cebf6a3 Makefile.PL
SHA1 75225b292ce4d6d6bb0212fa8f249aaa8ee41ae8 README
-SHA1 70a94c365f32e7ace66f4ea039cb003103cc1865 lib/CPAN/DistnameInfo.pm
-SHA1 ddc339a19d1ded18dc0f6d958904348a8141e2be t/ext.t
+SHA1 3a53c8c9043d82cfee930482d05eb18a08af4192 lib/CPAN/DistnameInfo.pm
+SHA1 199d53d9e7a540c4702f161d933764dddedbc42c t/ext.t
SHA1 00af0a1012e1af4536120eab70958e51218c3b72 t/path.t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
-iEYEARECAAYFAk0H05YACgkQR0BL4gbYw3SKTQCdGZXbTSmg7UgoDORjT1eJygIf
-XYoAnRZ/gFsnFQMPV5Xqgj6q8cixMQH7
-=3Gxk
+iEUEARECAAYFAk16smwACgkQR0BL4gbYw3QoYgCdH1lrCdfLnoF4qqbYEAKoG1v9
+zHQAmJTWKilUZqrWBMeVi165Zzp+rYc=
+=krP1
-----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=71232&op=diff
==============================================================================
--- branches/upstream/libcpan-distnameinfo-perl/current/lib/CPAN/DistnameInfo.pm (original)
+++ branches/upstream/libcpan-distnameinfo-perl/current/lib/CPAN/DistnameInfo.pm Sat Mar 12 01:58:11 2011
@@ -1,7 +1,7 @@
package CPAN::DistnameInfo;
-$VERSION = "0.11";
+$VERSION = "0.12";
use strict;
sub distname_info {
@@ -32,6 +32,14 @@
$version = $2;
}
+ if ($version =~ /(.+_.*)-(\d.*)/) {
+ # Catch names like Task-Deprecations5_14-1.00.tar.gz where the 5_14 is
+ # part of the distname. However, names like libao-perl_0.03-1.tar.gz
+ # should still have 0.03-1 as their version.
+ $dist .= $1;
+ $version = $2;
+ }
+
# Normalize the Dist.pm-1.23 convention which CGI.pm and
# a few others use.
$dist =~ s{\.pm$}{};
Modified: branches/upstream/libcpan-distnameinfo-perl/current/t/ext.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libcpan-distnameinfo-perl/current/t/ext.t?rev=71232&op=diff
==============================================================================
--- branches/upstream/libcpan-distnameinfo-perl/current/t/ext.t (original)
+++ branches/upstream/libcpan-distnameinfo-perl/current/t/ext.t Sat Mar 12 01:58:11 2011
@@ -1,5 +1,5 @@
-use Test::More tests => 559;
+use Test::More tests => 560;
use Data::Dumper;
use CPAN::DistnameInfo;
@@ -574,3 +574,4 @@
Net-Vypress-Chat-0.72.1.tar.bz2 Net-Vypress-Chat 0.72.1
Gopher-Server-0.1.1.tar.bz2 Gopher-Server 0.1.1
HTML-Template-Dumper-0.1.tar.bz2 HTML-Template-Dumper 0.1
+Task-Deprecations5_14-1.00.tar.gz Task-Deprecations5_14 1.00
More information about the Pkg-perl-cvs-commits
mailing list