r77450 - in /trunk/libmodule-corelist-perl: Changes MANIFEST META.json META.yml corelist debian/changelog lib/Module/CoreList.pm
carnil at users.alioth.debian.org
carnil at users.alioth.debian.org
Fri Jul 15 06:17:16 UTC 2011
Author: carnil
Date: Fri Jul 15 06:17:14 2011
New Revision: 77450
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=77450
Log:
New upstream release
Added:
trunk/libmodule-corelist-perl/META.json
- copied unchanged from r77449, branches/upstream/libmodule-corelist-perl/current/META.json
Modified:
trunk/libmodule-corelist-perl/Changes
trunk/libmodule-corelist-perl/MANIFEST
trunk/libmodule-corelist-perl/META.yml
trunk/libmodule-corelist-perl/corelist
trunk/libmodule-corelist-perl/debian/changelog
trunk/libmodule-corelist-perl/lib/Module/CoreList.pm
Modified: trunk/libmodule-corelist-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-corelist-perl/Changes?rev=77450&op=diff
==============================================================================
--- trunk/libmodule-corelist-perl/Changes (original)
+++ trunk/libmodule-corelist-perl/Changes Fri Jul 15 06:17:14 2011
@@ -1,3 +1,6 @@
+2.53 Thu Jul 14 2011
+ - Added release date option '-r' to corelist
+
2.52 Mon Jul 4 2011
- [rt.cpan.org #69108] Extraneous modules listed
reported by Dee Newcum
Modified: trunk/libmodule-corelist-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-corelist-perl/MANIFEST?rev=77450&op=diff
==============================================================================
--- trunk/libmodule-corelist-perl/MANIFEST (original)
+++ trunk/libmodule-corelist-perl/MANIFEST Fri Jul 15 06:17:14 2011
@@ -10,3 +10,4 @@
t/deprecated.t
t/find_modules.t
t/pod.t
+META.json Module JSON meta-data (added by MakeMaker)
Modified: trunk/libmodule-corelist-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-corelist-perl/META.yml?rev=77450&op=diff
==============================================================================
--- trunk/libmodule-corelist-perl/META.yml (original)
+++ trunk/libmodule-corelist-perl/META.yml Fri Jul 15 06:17:14 2011
@@ -1,21 +1,22 @@
---- #YAML:1.0
-name: Module-CoreList
-version: 2.52
-abstract: what modules shipped with versions of perl
-author: []
-license: perl
-distribution_type: module
+---
+abstract: 'what modules shipped with versions of perl'
+author:
+ - unknown
+build_requires:
+ ExtUtils::MakeMaker: 0
configure_requires:
- ExtUtils::MakeMaker: 0
-build_requires:
- ExtUtils::MakeMaker: 0
+ ExtUtils::MakeMaker: 0
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 6.58, CPAN::Meta::Converter version 2.110930001'
+license: perl
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+name: Module-CoreList
+no_index:
+ directory:
+ - t
+ - inc
requires:
- Test::More: 0
-no_index:
- directory:
- - t
- - inc
-generated_by: ExtUtils::MakeMaker version 6.57_05
-meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ Test::More: 0
+version: 2.53
Modified: trunk/libmodule-corelist-perl/corelist
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-corelist-perl/corelist?rev=77450&op=diff
==============================================================================
--- trunk/libmodule-corelist-perl/corelist (original)
+++ trunk/libmodule-corelist-perl/corelist Fri Jul 15 06:17:14 2011
@@ -13,6 +13,7 @@
corelist -v
corelist [-a|-d] <ModuleName> | /<ModuleRegex>/ [<ModuleVersion>] ...
corelist [-v <PerlVersion>] [ <ModuleName> | /<ModuleRegex>/ ] ...
+ corelist [-r <PerlVersion>] ...
=head1 OPTIONS
@@ -23,26 +24,54 @@
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
-
- utf8 was first released with perl 5.006
- 5.006 undef
- 5.006001 undef
- 5.006002 undef
- 5.007003 1.00
- 5.008 1.00
- 5.008001 1.02
- 5.008002 1.02
- 5.008003 1.02
- 5.008004 1.03
- 5.008005 1.04
- 5.008006 1.04
- 5.008007 1.05
- 5.008008 1.06
- 5.009 1.02
- 5.009001 1.02
- 5.009002 1.04
- 5.009003 1.06
+ corelist -a Unicode
+
+ Unicode was first released with perl v5.6.2
+ v5.6.2 3.0.1
+ v5.8.0 3.2.0
+ v5.8.1 4.0.0
+ v5.8.2 4.0.0
+ v5.8.3 4.0.0
+ v5.8.4 4.0.1
+ v5.8.5 4.0.1
+ v5.8.6 4.0.1
+ v5.8.7 4.1.0
+ v5.8.8 4.1.0
+ v5.8.9 5.1.0
+ v5.9.0 4.0.0
+ v5.9.1 4.0.0
+ v5.9.2 4.0.1
+ v5.9.3 4.1.0
+ v5.9.4 4.1.0
+ v5.9.5 5.0.0
+ v5.10.0 5.0.0
+ v5.10.1 5.1.0
+ v5.11.0 5.1.0
+ v5.11.1 5.1.0
+ v5.11.2 5.1.0
+ v5.11.3 5.2.0
+ v5.11.4 5.2.0
+ v5.11.5 5.2.0
+ v5.12.0 5.2.0
+ v5.12.1 5.2.0
+ v5.12.2 5.2.0
+ v5.12.3 5.2.0
+ v5.12.4 5.2.0
+ v5.13.0 5.2.0
+ v5.13.1 5.2.0
+ v5.13.2 5.2.0
+ v5.13.3 5.2.0
+ v5.13.4 5.2.0
+ v5.13.5 5.2.0
+ v5.13.6 5.2.0
+ v5.13.7 6.0.0
+ v5.13.8 6.0.0
+ v5.13.9 6.0.0
+ v5.13.10 6.0.0
+ v5.13.11 6.0.0
+ v5.14.0 6.0.0
+ v5.14.1 6.0.0
+ v5.15.0 6.0.0
=item -d
@@ -67,6 +96,12 @@
like C<5.8.8>.)
In module filtering context, it can be used as Perl version filter.
+
+=item -r
+
+lists all of the perl releases and when they were released
+
+If you pass a perl version you get the release date for that version only.
=back
@@ -84,10 +119,34 @@
my %Opts;
-GetOptions(\%Opts, qw[ help|?! man! v|version:s a! d ] );
+GetOptions(\%Opts, qw[ help|?! man! r|release:s v|version:s a! d ] );
pod2usage(1) if $Opts{help};
pod2usage(-verbose=>2) if $Opts{man};
+
+if(exists $Opts{r} ){
+ if ( !$Opts{r} ) {
+ print "\nModule::CoreList has release info for the following perl versions:\n";
+ my $versions = { };
+ my $max_ver_len = max_mod_len(\%Module::CoreList::released);
+ for my $ver ( sort keys %Module::CoreList::released ) {
+ printf "%-${max_ver_len}s %s\n", format_perl_version($ver), $Module::CoreList::released{$ver};
+ }
+ print "\n";
+ exit 0;
+ }
+
+ my $num_r = numify_version( $Opts{r} );
+ my $version_hash = Module::CoreList->find_version($num_r);
+
+ if( !$version_hash ) {
+ print "\nModule::CoreList has no info on perl $Opts{r}\n\n";
+ exit 1;
+ }
+
+ printf "Perl %s was released on %s\n\n", format_perl_version($num_r), $Module::CoreList::released{$num_r};
+ exit 0;
+}
if(exists $Opts{v} ){
if( !$Opts{v} ) {
Modified: trunk/libmodule-corelist-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-corelist-perl/debian/changelog?rev=77450&op=diff
==============================================================================
--- trunk/libmodule-corelist-perl/debian/changelog (original)
+++ trunk/libmodule-corelist-perl/debian/changelog Fri Jul 15 06:17:14 2011
@@ -1,3 +1,9 @@
+libmodule-corelist-perl (2.53-1) UNRELEASED; urgency=low
+
+ * New upstream release
+
+ -- Salvatore Bonaccorso <carnil at debian.org> Fri, 15 Jul 2011 08:15:58 +0200
+
libmodule-corelist-perl (2.52-1) unstable; urgency=low
* New upstream release.
Modified: trunk/libmodule-corelist-perl/lib/Module/CoreList.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-corelist-perl/lib/Module/CoreList.pm?rev=77450&op=diff
==============================================================================
--- trunk/libmodule-corelist-perl/lib/Module/CoreList.pm (original)
+++ trunk/libmodule-corelist-perl/lib/Module/CoreList.pm Fri Jul 15 06:17:14 2011
@@ -2,7 +2,7 @@
use strict;
use vars qw/$VERSION %released %version %families %upstream
%bug_tracker %deprecated/;
-$VERSION = '2.52';
+$VERSION = '2.53';
=head1 NAME
More information about the Pkg-perl-cvs-commits
mailing list