r34882 - in /trunk/libcpan-distnameinfo-perl: .gitignore Changes MANIFEST META.yml Makefile.PL SIGNATURE debian/changelog inc/ lib/CPAN/DistnameInfo.pm t/ext.t
bricas-guest at users.alioth.debian.org
bricas-guest at users.alioth.debian.org
Wed May 6 19:49:00 UTC 2009
Author: bricas-guest
Date: Wed May 6 19:48:52 2009
New Revision: 34882
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=34882
Log:
New upstream release
Removed:
trunk/libcpan-distnameinfo-perl/.gitignore
trunk/libcpan-distnameinfo-perl/inc/
Modified:
trunk/libcpan-distnameinfo-perl/Changes
trunk/libcpan-distnameinfo-perl/MANIFEST
trunk/libcpan-distnameinfo-perl/META.yml
trunk/libcpan-distnameinfo-perl/Makefile.PL
trunk/libcpan-distnameinfo-perl/SIGNATURE
trunk/libcpan-distnameinfo-perl/debian/changelog
trunk/libcpan-distnameinfo-perl/lib/CPAN/DistnameInfo.pm
trunk/libcpan-distnameinfo-perl/t/ext.t
Modified: trunk/libcpan-distnameinfo-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcpan-distnameinfo-perl/Changes?rev=34882&op=diff
==============================================================================
--- trunk/libcpan-distnameinfo-perl/Changes (original)
+++ trunk/libcpan-distnameinfo-perl/Changes Wed May 6 19:48:52 2009
@@ -1,3 +1,8 @@
+0.08 -- Wed May 6 09:21:47 CDT 2009
+
+ * make a better guess at the meaning of Dist-Name-undef.tar.gz
+ * add tests for the .tar.bz2 feature added in 0.07
+
0.07 -- Mon Jun 30 09:27:04 CDT 2008
* Added support for .tar.bz2 archive extension
Modified: trunk/libcpan-distnameinfo-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcpan-distnameinfo-perl/MANIFEST?rev=34882&op=diff
==============================================================================
--- trunk/libcpan-distnameinfo-perl/MANIFEST (original)
+++ trunk/libcpan-distnameinfo-perl/MANIFEST Wed May 6 19:48:52 2009
@@ -1,22 +1,9 @@
-.gitignore
Changes
-inc/attributes.pm
-inc/Module/Install.pm
-inc/Module/Install/Base.pm
-inc/Module/Install/Can.pm
-inc/Module/Install/Fetch.pm
-inc/Module/Install/Include.pm
-inc/Module/Install/Makefile.pm
-inc/Module/Install/Metadata.pm
-inc/Module/Install/Win32.pm
-inc/Test/Builder.pm
-inc/Test/Builder/Module.pm
-inc/Test/More.pm
lib/CPAN/DistnameInfo.pm
Makefile.PL
MANIFEST
-META.yml
README
-SIGNATURE
t/ext.t
t/path.t
+META.yml Module meta-data (added by MakeMaker)
+SIGNATURE Public-key signature (added by MakeMaker)
Modified: trunk/libcpan-distnameinfo-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcpan-distnameinfo-perl/META.yml?rev=34882&op=diff
==============================================================================
--- trunk/libcpan-distnameinfo-perl/META.yml (original)
+++ trunk/libcpan-distnameinfo-perl/META.yml Wed May 6 19:48:52 2009
@@ -1,20 +1,22 @@
----
-abstract: 'Extract distribution name and version from a distribution filename'
+--- #YAML:1.0
+name: CPAN-DistnameInfo
+version: 0.08
+abstract: Extract distribution name and version from a distribution filename
author:
- - 'Graham Barr <gbarr at pobox.com>'
+ - Graham Barr <gbarr at cpan.org>
+license: perl
+distribution_type: module
configure_requires:
- ExtUtils::MakeMaker: 6.30
-distribution_type: module
-generated_by: 'Module::Install version 0.75'
-license: perl
+ ExtUtils::MakeMaker: 0
+requires:
+ Test::More: 0
+resources:
+ repository: http://github.com/gbarr/CPAN-DistnameInfo
+no_index:
+ directory:
+ - t
+ - inc
+generated_by: ExtUtils::MakeMaker version 6.48
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.3.html
- version: 1.3
-name: CPAN-DistnameInfo
-no_index:
- directory:
- - inc
- - t
-requires:
- perl: 5.004
-version: 0.07
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
Modified: trunk/libcpan-distnameinfo-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcpan-distnameinfo-perl/Makefile.PL?rev=34882&op=diff
==============================================================================
--- trunk/libcpan-distnameinfo-perl/Makefile.PL (original)
+++ trunk/libcpan-distnameinfo-perl/Makefile.PL Wed May 6 19:48:52 2009
@@ -1,29 +1,28 @@
# -*- perl -*-
-use inc::Module::Install;
+BEGIN { require 5.004; }
-name ('CPAN-DistnameInfo');
-abstract ('Extract distribution name and version from a distribution filename');
-author ('Graham Barr <gbarr at pobox.com>');
-version_from ('lib/CPAN/DistnameInfo.pm');
-license ('perl');
-perl_version 5.004;
+use strict;
+use warnings;
+use ExtUtils::MakeMaker;
-include_deps ('Test::More');
+WriteMakefile(
+ ABSTRACT => 'Extract distribution name and version from a distribution filename',
+ AUTHOR => q[Graham Barr <gbarr at cpan.org>],
+ NAME => q[CPAN::DistnameInfo],
+ PREREQ_PM => {
+ 'Test::More' => 0,
+ },
+ VERSION_FROM => 'lib/CPAN/DistnameInfo.pm',
+ (eval { ExtUtils::MakeMaker->VERSION(6.21) } ? (LICENSE => 'perl') : ()),
+ ( eval { ExtUtils::MakeMaker->VERSION(6.46) } ? (
+ META_MERGE => {
+ resources => { ##
+ repository => 'http://github.com/gbarr/CPAN-DistnameInfo',
+ },
+ }
+ )
+ : ()
+ ),
+);
-check_nmake(); # check and download nmake.exe for Win32
-
-&Makefile->write;
-&Meta->write;
-
-sub MY::postamble {
- return <<'POSTAMBLE';
-
-distdir : manifest run_cpansign
-
-run_cpansign :
- cpansign -s
-
-POSTAMBLE
-
-}
Modified: trunk/libcpan-distnameinfo-perl/SIGNATURE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcpan-distnameinfo-perl/SIGNATURE?rev=34882&op=diff
==============================================================================
--- trunk/libcpan-distnameinfo-perl/SIGNATURE (original)
+++ trunk/libcpan-distnameinfo-perl/SIGNATURE Wed May 6 19:48:52 2009
@@ -14,31 +14,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-SHA1 4c48401da9c997e33bfe5b6d2f0f8ec65a19b99c .gitignore
-SHA1 f731824bbf8b194ccafe2011795ef3767a06816a Changes
-SHA1 7d78e8ed9c85142d17004fa5f871c8f3e52edf81 MANIFEST
-SHA1 e1659a64f1054eb8f8e23c0027a9487649027ef0 META.yml
-SHA1 46050206932076ef96c2db03598c4d3363e82102 Makefile.PL
+SHA1 888dddc336042de08354e978b4b48f0559209b79 Changes
+SHA1 9d61a41d0e065618905a31efc4be059df9181dcf MANIFEST
+SHA1 71f92629731b48bd6ec94d04bd7039ba1499b45d META.yml
+SHA1 da8ac89bf8cf1d7b58fdc28503b380d94cebf6a3 Makefile.PL
SHA1 75225b292ce4d6d6bb0212fa8f249aaa8ee41ae8 README
-SHA1 f0577f8f88a6703e9bca2d10196cfd293f3d6f2f inc/Module/Install.pm
-SHA1 5d574849849860b8cf06035cc6f1a306c66cb326 inc/Module/Install/Base.pm
-SHA1 c30f50bc2a1542dff17f84a54d9316f3c3c6299e inc/Module/Install/Can.pm
-SHA1 9b618efcd783f6ed4bab84fa22b31886fcc38d57 inc/Module/Install/Fetch.pm
-SHA1 808d4b2d764185a34c89e675bb4eaad18c075b14 inc/Module/Install/Include.pm
-SHA1 cd14c8de2a67b0f14df9bc20c27f3edabd359d1b inc/Module/Install/Makefile.pm
-SHA1 a2162aec678d21988fce47ab805cf01773196292 inc/Module/Install/Metadata.pm
-SHA1 4ae5d56e11e640bd9520634dde6d563926f6d98a inc/Module/Install/Win32.pm
-SHA1 f0ebc594cf8ba858ee9a840c344d9b7ea2c3c6f4 inc/Test/Builder.pm
-SHA1 6bb30e9867f6dbcada80acca07cb727fa09fc3a0 inc/Test/Builder/Module.pm
-SHA1 07c750f370de7a44ee7b0ed9ec30a7e89c24c9b9 inc/Test/More.pm
-SHA1 a3b43f30a4aa19adb8cda1ceaf5b19da0a5e1cae inc/attributes.pm
-SHA1 0fcf3bc169b122941373d279a84bf36ac00885f6 lib/CPAN/DistnameInfo.pm
-SHA1 f35a4261879a055eb9acff5b40305962aadb5473 t/ext.t
+SHA1 b20eb22fb6d4d2d3aa89efed246a93d2bf232967 lib/CPAN/DistnameInfo.pm
+SHA1 ddc339a19d1ded18dc0f6d958904348a8141e2be t/ext.t
SHA1 3df94b44b99e14612c993848aa181d5e52aec8c0 t/path.t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
-iEYEARECAAYFAkho9C0ACgkQR0BL4gbYw3R0qACff2VrAQHDh9rOJY8xsrNDzAUE
-lb8AnidUXLkm+UeQoE5sQjM+GDMyQwZX
-=T5LT
+iEYEARECAAYFAkoBnXwACgkQR0BL4gbYw3SzIwCfZLAiYE8YJH4+27r232DNLCIC
+AWgAn2j981Jf7ypYLpqkAAgfpbUqdFCL
+=z80z
-----END PGP SIGNATURE-----
Modified: trunk/libcpan-distnameinfo-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcpan-distnameinfo-perl/debian/changelog?rev=34882&op=diff
==============================================================================
--- trunk/libcpan-distnameinfo-perl/debian/changelog (original)
+++ trunk/libcpan-distnameinfo-perl/debian/changelog Wed May 6 19:48:52 2009
@@ -1,4 +1,7 @@
-libcpan-distnameinfo-perl (0.07-2) UNRELEASED; urgency=low
+libcpan-distnameinfo-perl (0.08-1) UNRELEASED; urgency=low
+
+ [ Brian Cassidy ]
+ * New upstream release
[ gregor herrmann ]
* debian/control: Changed: Switched Vcs-Browser field to ViewSVN
@@ -7,7 +10,7 @@
[ Ryan Niebur ]
* Remove Florian Ragwitz from Uploaders (Closes: #523208)
- -- Ryan Niebur <ryanryan52 at gmail.com> Wed, 08 Apr 2009 19:00:14 -0700
+ -- Brian Cassidy <brian.cassidy at gmail.com> Wed, 06 May 2009 16:48:06 -0300
libcpan-distnameinfo-perl (0.07-1) unstable; urgency=low
Modified: trunk/libcpan-distnameinfo-perl/lib/CPAN/DistnameInfo.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcpan-distnameinfo-perl/lib/CPAN/DistnameInfo.pm?rev=34882&op=diff
==============================================================================
--- trunk/libcpan-distnameinfo-perl/lib/CPAN/DistnameInfo.pm (original)
+++ trunk/libcpan-distnameinfo-perl/lib/CPAN/DistnameInfo.pm Wed May 6 19:48:52 2009
@@ -1,7 +1,7 @@
package CPAN::DistnameInfo;
-$VERSION = "0.07";
+$VERSION = "0.08";
use strict;
sub distname_info {
@@ -16,6 +16,10 @@
)(?<![._-][vV])
)+)(.*)
$/xs or return ($file,undef,undef);
+
+ if ($dist =~ /-undef\z/ and ! length $version) {
+ $dist =~ s/-undef\z//;
+ }
if ($version =~ /^(-[Vv].*)-(\d.*)/) {
Modified: trunk/libcpan-distnameinfo-perl/t/ext.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcpan-distnameinfo-perl/t/ext.t?rev=34882&op=diff
==============================================================================
--- trunk/libcpan-distnameinfo-perl/t/ext.t (original)
+++ trunk/libcpan-distnameinfo-perl/t/ext.t Wed May 6 19:48:52 2009
@@ -1,5 +1,5 @@
-use Test::More tests => 554;
+use Test::More tests => 559;
use Data::Dumper;
use CPAN::DistnameInfo;
@@ -10,8 +10,8 @@
$ret[2] = $ret[2] ? 'developer' : 'released';
my $d = CPAN::DistnameInfo->new($file);
my @tst = ($d->dist, $d->version, $d->maturity);
- ok(eq_array(\@tst, \@ret))
- or print Data::Dumper->Dump([\@ret,\@tst],[qw(expected got)]);
+ ok( eq_array(\@tst, \@ret), "output for $file" )
+ or diag(Data::Dumper->Dump([\@ret,\@tst],[qw(expected got)]));
}
__DATA__
@@ -569,3 +569,8 @@
CONFIG-V0.99.11.tar.gz CONFIG V0.99.11
collate/Unicode-Collate-Standard-V3_1_1-0.1.tar.gz Unicode-Collate-Standard-V3_1_1 0.1
P4-1.1733.tar.gz P4 1.1733
+Foo-Bar-undef.tar.gz Foo-Bar
+Foo-Bar-undef-1.0.tar.gz Foo-Bar-undef 1.0
+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
More information about the Pkg-perl-cvs-commits
mailing list