r61434 - in /trunk/libdata-dump-streamer-perl: Build.PL Changes META.yml debian/changelog debian/control debian/copyright inc/My/Builder.pm lib/Data/Dump/Streamer.pm

angelabad-guest at users.alioth.debian.org angelabad-guest at users.alioth.debian.org
Sun Aug 8 11:56:02 UTC 2010


Author: angelabad-guest
Date: Sun Aug  8 11:55:41 2010
New Revision: 61434

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

Modified:
    trunk/libdata-dump-streamer-perl/Build.PL
    trunk/libdata-dump-streamer-perl/Changes
    trunk/libdata-dump-streamer-perl/META.yml
    trunk/libdata-dump-streamer-perl/debian/changelog
    trunk/libdata-dump-streamer-perl/debian/control
    trunk/libdata-dump-streamer-perl/debian/copyright
    trunk/libdata-dump-streamer-perl/inc/My/Builder.pm
    trunk/libdata-dump-streamer-perl/lib/Data/Dump/Streamer.pm

Modified: trunk/libdata-dump-streamer-perl/Build.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-streamer-perl/Build.PL?rev=61434&op=diff
==============================================================================
--- trunk/libdata-dump-streamer-perl/Build.PL (original)
+++ trunk/libdata-dump-streamer-perl/Build.PL Sun Aug  8 11:55:41 2010
@@ -1,4 +1,5 @@
 #!perl
+
 use 5.006_000;
 BEGIN {
     push @INC, 'inc';

Modified: trunk/libdata-dump-streamer-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-streamer-perl/Changes?rev=61434&op=diff
==============================================================================
--- trunk/libdata-dump-streamer-perl/Changes (original)
+++ trunk/libdata-dump-streamer-perl/Changes Sun Aug  8 11:55:41 2010
@@ -1,9 +1,15 @@
+2.22 (2010-07-11)
+
+Build.PL fixed to accept DDS and NODDS again
+
 2.21 (2010-06-19)
 
-Resynchronize internal VERSION declarations.
-
-Skipped v2.20 because it some of the build code was truncating it to
-v2.2 and breaking
+Resynchronize internal VERSION declarations
+
+2.20
+
+Skipped version 2.20 because version numbers don't play nice when they
+end in zeros.
 
 2.19 (2010-06-19)
 

Modified: trunk/libdata-dump-streamer-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-streamer-perl/META.yml?rev=61434&op=diff
==============================================================================
--- trunk/libdata-dump-streamer-perl/META.yml (original)
+++ trunk/libdata-dump-streamer-perl/META.yml Sun Aug  8 11:55:41 2010
@@ -31,10 +31,10 @@
 provides:
   Data::Dump::Streamer:
     file: lib/Data/Dump/Streamer.pm
-    version: 2.21
+    version: 2.22
   Data::Dump::Streamer::Deparser:
     file: lib/Data/Dump/Streamer.pm
-    version: 2.21
+    version: 2.22
 recommends:
   Algorithm::Diff: 0
   Compress::Zlib: 0
@@ -60,4 +60,4 @@
   warnings::register: 0
 resources:
   license: http://dev.perl.org/licenses/
-version: 2.21
+version: 2.22

Modified: trunk/libdata-dump-streamer-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-streamer-perl/debian/changelog?rev=61434&op=diff
==============================================================================
--- trunk/libdata-dump-streamer-perl/debian/changelog (original)
+++ trunk/libdata-dump-streamer-perl/debian/changelog Sun Aug  8 11:55:41 2010
@@ -1,3 +1,14 @@
+libdata-dump-streamer-perl (2.22-1) UNRELEASED; urgency=low
+
+  * New upstream release
+  * Add myself to uploaders
+  * debian/control: 
+    - Remove perl (>= 5.10) | from Build-Depends
+    - Remove perl (>= 5.10) | from Depends
+  * Standards-Version: 3.9.1
+
+ -- Angel Abad <angelabad at gmail.com>  Sun, 08 Aug 2010 13:47:06 +0200
+
 libdata-dump-streamer-perl (2.21-1) unstable; urgency=low
 
   * New upstream release.

Modified: trunk/libdata-dump-streamer-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-streamer-perl/debian/control?rev=61434&op=diff
==============================================================================
--- trunk/libdata-dump-streamer-perl/debian/control (original)
+++ trunk/libdata-dump-streamer-perl/debian/control Sun Aug  8 11:55:41 2010
@@ -1,23 +1,21 @@
 Source: libdata-dump-streamer-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7), perl, libb-utils-perl,
- libpadwalker-perl, perl (>= 5.10) | libio-compress-perl | libcompress-zlib-perl,
- libalgorithm-diff-perl, perl (>= 5.10) | libmodule-build-perl
+Build-Depends: debhelper (>= 7), libalgorithm-diff-perl, libb-utils-perl,
+ libpadwalker-perl, perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Damyan Ivanov <dmn at debian.org>, Gunnar Wolf <gwolf at debian.org>,
  Russ Allbery <rra at debian.org>, Niko Tyni <ntyni at debian.org>,
  Ryan Niebur <ryan at debian.org>, Jonathan Yu <jawnsy at cpan.org>,
- gregor herrmann <gregoa at debian.org>
-Standards-Version: 3.8.4
+ gregor herrmann <gregoa at debian.org>, Angel Abad <angelabad at gmail.com>
+Standards-Version: 3.9.1
 Homepage: http://search.cpan.org/dist/Data-Dump-Streamer/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libdata-dump-streamer-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libdata-dump-streamer-perl/
 
 Package: libdata-dump-streamer-perl
 Architecture: any
-Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}, libb-utils-perl,
- perl (>= 5.10) | libio-compress-perl | libcompress-zlib-perl
+Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}, libb-utils-perl
 Recommends: libpadwalker-perl
 Description: module for serializing a data structure as Perl code
  Data::Dump::Streamer is a Perl module that serializes scalars, objects or

Modified: trunk/libdata-dump-streamer-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-streamer-perl/debian/copyright?rev=61434&op=diff
==============================================================================
--- trunk/libdata-dump-streamer-perl/debian/copyright (original)
+++ trunk/libdata-dump-streamer-perl/debian/copyright Sun Aug  8 11:55:41 2010
@@ -1,4 +1,4 @@
-Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=59
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
 Maintainer: Joshua ben Jore <jjore at cpan.org>
 Source: http://search.cpan.org/dist/Data-Dump-Streamer/
 Name: Data-Dump-Streamer
@@ -13,13 +13,14 @@
 License: Artistic or GPL-1+
 
 Files: debian/*
-Copyright: 2009-2010, Jonathan Yu <jawnsy at cpan.org>
- 2009, Ryan Niebur <ryan at debian.org>
- 2007-2009, Gunnar Wolf <gwolf at debian.org>
- 2008, Niko Tyni <ntyni at debian.org>
+Copyright: 2007-2009, Gunnar Wolf <gwolf at debian.org>
  2007, Alexis Sukrieh <sukria at debian.org>
  2007, Damyan Ivanov <dmn at debian.org>
  2007, Russ Allbery <rra at debian.org>
+ 2008, Niko Tyni <ntyni at debian.org>
+ 2009, Ryan Niebur <ryanryan52 at gmail.com>
+ 2010, Angel Abad <angelabad at gmail.com>
+ 2010, Jonathan Yu <jawnsy at cpan.org>
  2010, gregor herrmann <gregoa at debian.org>
 License: Artistic or GPL-1+
 
@@ -28,7 +29,7 @@
  it under the terms of the Artistic License, which comes with Perl.
  .
  On Debian GNU/Linux systems, the complete text of the Artistic License
- can be found in `/usr/share/common-licenses/Artistic'
+ can be found in `/usr/share/common-licenses/Artistic'.
 
 License: GPL-1+
  This program is free software; you can redistribute it and/or modify
@@ -36,6 +37,5 @@
  the Free Software Foundation; either version 1, or (at your option)
  any later version.
  .
- On Debian GNU/Linux systems, the complete text of the GNU General
- Public License can be found in `/usr/share/common-licenses/GPL'
-
+ On Debian GNU/Linux systems, the complete text of version 1 of the
+ General Public License can be found in `/usr/share/common-licenses/GPL-1'.

Modified: trunk/libdata-dump-streamer-perl/inc/My/Builder.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-streamer-perl/inc/My/Builder.pm?rev=61434&op=diff
==============================================================================
--- trunk/libdata-dump-streamer-perl/inc/My/Builder.pm (original)
+++ trunk/libdata-dump-streamer-perl/inc/My/Builder.pm Sun Aug  8 11:55:41 2010
@@ -6,8 +6,8 @@
 use Module::Build;
 our @ISA = 'Module::Build';
 
-sub ACTION_config {
-    my ( $self ) = @_;
+sub new {
+    my $class = shift @_;
 
     {
         my $B_Utils_required = 0.05;
@@ -28,49 +28,53 @@
         };
     }
 
+    # Handle both: `./Build.PL DDS' and `./Build.PL NODDS'
+    #
+    my $create_dds_alias;
+    if ( @ARGV && $ARGV[0] =~ /^(?:NO)?DDS$/i ) {
+        my $arg = uc shift @ARGV;
+        $create_dds_alias = 'DDS' eq $arg;
+    }
 
     print "Installing Data::Dump::Streamer\n";
-    my $override =
-        $ARGV[0] =~ /^(?:NO)?DDS$/i
-        ? shift( @ARGV )
-        : undef;
 
-    my $value;
-    if ( $override ) {
-        $value = $override =~ /^no/i ? 'no' : 'yes';
+    if ( ! defined $create_dds_alias
+         && -e '.answer'
+         && open my $fh, "<", '.answer') {
+        print "I will install (or not) the DDS shortcut as you requested previously.\n";
+        print "If you wish to override the previous answer then state so explicitly\n";
+        print "by saying 'perl Build.PL [NO]DDS'\n";
+        my $cached_value = <$fh>;
+        chomp $cached_value;
+        print "Previous answer was: $cached_value\n";
+        
+        $create_dds_alias = 'yes' eq lc $cached_value;
     }
-    else {
-        if ( -e '.answer' && open my $fh, "<", '.answer') {
-            print "I will install (or not) the DDS shortcut as you requested previously.\n";
-            print "If you wish to override the previous answer then state so explicitly\n";
-            print "by saying 'perl Makefile.PL [NO]DDS'\n";
-            $value = <$fh>;
-            chomp $value;
-            print "Previous answer was: $value\n";
+    
+    if ( ! defined $create_dds_alias ) {
+        my $default =
+            ( 0 == system( qq($^X -e "chdir '/';exit( eval { require DDS } ? 0: 1 )") )
+              || ( -e "./lib/DDS.pm") )
+            ? 'yes'
+            : 'no';
+        print "\n";
+        print "I can install a shortcut so you can use the package 'DDS'\n";
+        print "as though it was 'Data::Dump::Streamer'. This is handy for oneliners.\n";
+        print "*Note* that if you select 'no' below and you already\n";
+        print "have it installed then it will be removed.\n";
+        print "\n";
+        my $yn = !! $class->y_n("Would you like me to install the shortcut? (yes/no)",
+                                $default);
+        if (open my $fh, ">", '.answer') {
+            print $fh $yn ? "yes\n" : "no\n";
+            close $fh;
         }
-
-        if ( ! $value ) {
-            my $default =
-                ( eval("require DDS; 1")
-                  || ( -e "./lib/DDS.pm") )
-                ? 'yes'
-                : 'no';
-            print "\n";
-            print "I can install a shortcut so you can use the package 'DDS'\n";
-            print "as though it was 'Data::Dump::Streamer'. This is handy for oneliners.\n";
-            print "*Note* that if you select 'no' below and you already\n";
-            print "have it installed then it will be removed.\n";
-            print "\n";
-            $value = prompt("Would you like me to install the shortcut? (yes/no)",
-                            $default);
-            if (open my $fh, ">", '.answer') {
-                print $fh $value;
-                close $fh;
-            }
-        }
+        $create_dds_alias = $yn;
     }
 
-    if ( $value=~/yes/i ) {
+    my $self = $class->SUPER::new( @_ );
+
+    if ( $create_dds_alias  ) {
         print "I will also install DDS as an alias.\n";
         open my $ofh, ">", "./lib/DDS.pm"
             or die "Failed to open ./lib/DDS.pm: $!";
@@ -83,7 +87,7 @@
         unlink "./lib/DDS.pm";
     }
 
-    return;
+    return $self;
 }
 
 sub DDS {

Modified: trunk/libdata-dump-streamer-perl/lib/Data/Dump/Streamer.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-streamer-perl/lib/Data/Dump/Streamer.pm?rev=61434&op=diff
==============================================================================
--- trunk/libdata-dump-streamer-perl/lib/Data/Dump/Streamer.pm (original)
+++ trunk/libdata-dump-streamer-perl/lib/Data/Dump/Streamer.pm Sun Aug  8 11:55:41 2010
@@ -34,7 +34,7 @@
 
 BEGIN {
     #$Id: Streamer.pm 40 2007-12-22 00:37:55Z demerphq $#
-    $VERSION   ='2.21';
+    $VERSION   ='2.22';
     $VERSION = eval $VERSION; # used for beta stuff.
     @ISA       = qw(Exporter DynaLoader);
     @EXPORT=qw(Dump DumpLex DumpVars);
@@ -3669,7 +3669,7 @@
 our @ISA=qw(B::Deparse);
 my %cache;
 
-our $VERSION = '2.21';
+our $VERSION = '2.22';
 if ( $VERSION ne $Data::Dump::Streamer::VERSION ) {
     die "Incompatible Data::Dump::Streamer::Deparser v$VERSION vs Data::Dump::Streamer v$Data::Dump::Streamer::VERSION";
 }




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