r4084 - in /packages/libmodule-corelist-perl/trunk: Changes META.yml Makefile.PL README corelist debian/changelog lib/Module/CoreList.pm

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sun Oct 8 16:16:58 UTC 2006


Author: gregoa-guest
Date: Sun Oct  8 16:16:57 2006
New Revision: 4084

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

Modified:
    packages/libmodule-corelist-perl/trunk/Changes
    packages/libmodule-corelist-perl/trunk/META.yml
    packages/libmodule-corelist-perl/trunk/Makefile.PL
    packages/libmodule-corelist-perl/trunk/README
    packages/libmodule-corelist-perl/trunk/corelist
    packages/libmodule-corelist-perl/trunk/debian/changelog
    packages/libmodule-corelist-perl/trunk/lib/Module/CoreList.pm

Modified: packages/libmodule-corelist-perl/trunk/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmodule-corelist-perl/trunk/Changes?rev=4084&op=diff
==============================================================================
--- packages/libmodule-corelist-perl/trunk/Changes (original)
+++ packages/libmodule-corelist-perl/trunk/Changes Sun Oct  8 16:16:57 2006
@@ -1,3 +1,7 @@
+2.09	Thu Oct  5 2006
+	- Make the dependency on version.pm optional
+	- Improve doc of corelist(1)
+
 2.08	Thu Sep  7 2006
 	- Add data for 5.9.4
 

Modified: packages/libmodule-corelist-perl/trunk/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmodule-corelist-perl/trunk/META.yml?rev=4084&op=diff
==============================================================================
--- packages/libmodule-corelist-perl/trunk/META.yml (original)
+++ packages/libmodule-corelist-perl/trunk/META.yml Sun Oct  8 16:16:57 2006
@@ -1,12 +1,11 @@
 # http://module-build.sourceforge.net/META-spec.html
 #XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
 name:         Module-CoreList
-version:      2.08
+version:      2.09
 version_from: lib/Module/CoreList.pm
 installdirs:  site
 requires:
     Test::More:                    0
-    version:                       0
 
 distribution_type: module
 generated_by: ExtUtils::MakeMaker version 6.30_01

Modified: packages/libmodule-corelist-perl/trunk/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmodule-corelist-perl/trunk/Makefile.PL?rev=4084&op=diff
==============================================================================
--- packages/libmodule-corelist-perl/trunk/Makefile.PL (original)
+++ packages/libmodule-corelist-perl/trunk/Makefile.PL Sun Oct  8 16:16:57 2006
@@ -8,7 +8,6 @@
     'VERSION_FROM' => 'lib/Module/CoreList.pm',
     'PREREQ_PM' => {
 	'Test::More' => '0',
-	'version' => '0',
     },
     'EXE_FILES' => [ 'corelist' ],
     'PL_FILES' => {},

Modified: packages/libmodule-corelist-perl/trunk/README
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmodule-corelist-perl/trunk/README?rev=4084&op=diff
==============================================================================
--- packages/libmodule-corelist-perl/trunk/README (original)
+++ packages/libmodule-corelist-perl/trunk/README Sun Oct  8 16:16:57 2006
@@ -1,4 +1,4 @@
-README for Module::CoreList 2.08
+README for Module::CoreList 2.09
 
 =head1 NAME
 

Modified: packages/libmodule-corelist-perl/trunk/corelist
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmodule-corelist-perl/trunk/corelist?rev=4084&op=diff
==============================================================================
--- packages/libmodule-corelist-perl/trunk/corelist (original)
+++ packages/libmodule-corelist-perl/trunk/corelist Sun Oct  8 16:16:57 2006
@@ -10,15 +10,18 @@
 
 =head1 SYNOPSIS
 
-    corelist -v [<PerlVersion>]
+    corelist -v
     corelist [-a] <ModuleName> | /<ModuleRegex>/ [<ModuleVersion>] ...
-    corelist [-v <PerlVersion>] [ <ModuleName> | /<ModuleNameRegex>/ ] ...
+    corelist [-v <PerlVersion>] [ <ModuleName> | /<ModuleRegex>/ ] ...
 
 =head1 OPTIONS
 
 =over
 
 =item -a modulename
+
+lists all versions of the given module (or the matching modules, in case you
+used a module regexp) in the perls Module::CoreList knows about.
 
     corelist -a utf8
 
@@ -53,8 +56,10 @@
 
 lists all of the perl release versions we got the CoreList for.
 
-If you pass a version argument (value of C<$]>, like 5.00503),
+If you pass a version argument (value of C<$]>, like C<5.00503> or C<5.008008>),
 you get a list of all the modules and their respective versions.
+(If you have the C<version> module, you can also use new-style version numbers,
+like C<5.8.8>.)
 
 In module filtering context, it can be used as Perl version filter.
 
@@ -67,7 +72,6 @@
 use Pod::Usage;
 use strict;
 use warnings;
-use version ();
 
 my %Opts;
 
@@ -178,6 +182,10 @@
 sub numify_version {
     my $ver = shift;
     if ( index( $ver, q{.}, index( $ver, q{.} ) ) >= 0 ) {
+	eval { require version };
+	if ($@) {
+	    die "You need to install version.pm to use dotted version numbers\n";
+	}
         $ver = version->new($ver)->numify;
     }
     return $ver;

Modified: packages/libmodule-corelist-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmodule-corelist-perl/trunk/debian/changelog?rev=4084&op=diff
==============================================================================
--- packages/libmodule-corelist-perl/trunk/debian/changelog (original)
+++ packages/libmodule-corelist-perl/trunk/debian/changelog Sun Oct  8 16:16:57 2006
@@ -1,3 +1,9 @@
+libmodule-corelist-perl (2.09-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Sun,  8 Oct 2006 18:15:52 +0200
+
 libmodule-corelist-perl (2.08-2) unstable; urgency=low
 
   * debian/control: Added libversion-perl to Dependency (closes: #390834)

Modified: packages/libmodule-corelist-perl/trunk/lib/Module/CoreList.pm
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmodule-corelist-perl/trunk/lib/Module/CoreList.pm?rev=4084&op=diff
==============================================================================
--- packages/libmodule-corelist-perl/trunk/lib/Module/CoreList.pm (original)
+++ packages/libmodule-corelist-perl/trunk/lib/Module/CoreList.pm Sun Oct  8 16:16:57 2006
@@ -1,7 +1,7 @@
 package Module::CoreList;
 use strict;
 use vars qw/$VERSION %released %patchlevel %version %families/;
-$VERSION = '2.08';
+$VERSION = '2.09';
 
 =head1 NAME
 




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