r59243 - in /trunk/libdata-dump-streamer-perl: Build.PL Changes MANIFEST MANIFEST.SKIP META.yml Makefile.PL README Streamer.xs debian/changelog inc/ lib/Data/Dump/Streamer.pm lib/Data/Dump/Streamer.xs t/dump.t t/lexicals.t

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Jun 12 14:06:35 UTC 2010


Author: gregoa
Date: Sat Jun 12 14:06:19 2010
New Revision: 59243

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

Added:
    trunk/libdata-dump-streamer-perl/Build.PL
      - copied unchanged from r59242, branches/upstream/libdata-dump-streamer-perl/current/Build.PL
    trunk/libdata-dump-streamer-perl/inc/
      - copied from r59242, branches/upstream/libdata-dump-streamer-perl/current/inc/
    trunk/libdata-dump-streamer-perl/lib/Data/Dump/Streamer.xs
      - copied unchanged from r59242, branches/upstream/libdata-dump-streamer-perl/current/lib/Data/Dump/Streamer.xs
Removed:
    trunk/libdata-dump-streamer-perl/Makefile.PL
    trunk/libdata-dump-streamer-perl/Streamer.xs
Modified:
    trunk/libdata-dump-streamer-perl/Changes
    trunk/libdata-dump-streamer-perl/MANIFEST
    trunk/libdata-dump-streamer-perl/MANIFEST.SKIP
    trunk/libdata-dump-streamer-perl/META.yml
    trunk/libdata-dump-streamer-perl/README
    trunk/libdata-dump-streamer-perl/debian/changelog
    trunk/libdata-dump-streamer-perl/lib/Data/Dump/Streamer.pm
    trunk/libdata-dump-streamer-perl/t/dump.t
    trunk/libdata-dump-streamer-perl/t/lexicals.t

Modified: trunk/libdata-dump-streamer-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-streamer-perl/Changes?rev=59243&op=diff
==============================================================================
--- trunk/libdata-dump-streamer-perl/Changes (original)
+++ trunk/libdata-dump-streamer-perl/Changes Sat Jun 12 14:06:19 2010
@@ -1,3 +1,26 @@
+2.16 (2010-06-11)
+
+Manually add VERSION to Data::Dump::Streamer::Deparser to make CPAN
+indexer happy.
+
+2.15 (2010-06-11)
+
+Perl commit "538f5756c002f0583190831238bbf6bd54855cdc shift;
+optimization" changed B::Deparse
+
+Switch from ExtUtils::MakeMaker to Module::Build for
+configure_requires support
+
+2.14 (2010-06-08)
+
+Our Makefile.PL must abort if we're going to need to build B::Utils
+but we don't have ExtUtils::Depends because it doesn't work to let the
+build chain do this dependency resolution. Perhaps there is a version
+that this all "just works" in?
+
+t/dump.t required some styling state changes but was skipping them
+when some modules weren't installed.
+
 2.13 (2010-04-05)
 
 No really, *actually* removed re.pm debugging code

Modified: trunk/libdata-dump-streamer-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-streamer-perl/MANIFEST?rev=59243&op=diff
==============================================================================
--- trunk/libdata-dump-streamer-perl/MANIFEST (original)
+++ trunk/libdata-dump-streamer-perl/MANIFEST Sat Jun 12 14:06:19 2010
@@ -1,14 +1,15 @@
 .patch
+Build.PL
 Changes
+inc/My/Builder.pm
 INSTALL.SKIP
+lib/Data/Dump/Streamer.pm
+lib/Data/Dump/Streamer.xs
+lib/Data/Dump/Streamer/_/Printers.pm
 MANIFEST			This list of files
 MANIFEST.SKIP
 META.yml
-Makefile.PL
 README
-Streamer.xs
-lib/Data/Dump/Streamer.pm
-lib/Data/Dump/Streamer/_/Printers.pm
 t/as.t
 t/blessed.t
 t/dogpound.t

Modified: trunk/libdata-dump-streamer-perl/MANIFEST.SKIP
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-streamer-perl/MANIFEST.SKIP?rev=59243&op=diff
==============================================================================
--- trunk/libdata-dump-streamer-perl/MANIFEST.SKIP (original)
+++ trunk/libdata-dump-streamer-perl/MANIFEST.SKIP Sat Jun 12 14:06:19 2010
@@ -20,6 +20,14 @@
 \bBuild$
 \b_build/
 
+^Build$
+
+^\.git/
+
+^lib/Data/Dump/Streamer\.o$
+^lib/Data/Dump/Streamer\.c$
+^lib/Data/Dump/Streamer\.bs$
+
 # Avoid temp and backup files.
 ~$
 \.old$
@@ -38,3 +46,4 @@
 DDS\.pm
 \.(bs|c|def|obj|pdb)$
 ^dds\w+\.pl
+^MYMETA.yml$

Modified: trunk/libdata-dump-streamer-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-streamer-perl/META.yml?rev=59243&op=diff
==============================================================================
--- trunk/libdata-dump-streamer-perl/META.yml (original)
+++ trunk/libdata-dump-streamer-perl/META.yml Sat Jun 12 14:06:19 2010
@@ -1,18 +1,63 @@
---- #YAML:1.0
-name:                Data-Dump-Streamer
-version:             2.13
-abstract:            Accurately serialize a data structure as Perl code.
-license:             ~
-author:              
-    - Yves Orton (demerphq)
-generated_by:        ExtUtils::MakeMaker version 6.42
-distribution_type:   module
-requires:     
-    B::Deparse:                    0
-    B::Utils:                      0.05
-    Test::More:                    0
-    Text::Abbrev:                  0
-    Text::Balanced:                0
+---
+abstract: 'Accurately serialize a data structure as Perl code.'
+author: []
+build_requires:
+  B::Deparse: 0
+  Carp: 0
+  Config: 0
+  Data::Dumper: 0
+  Devel::Peek: 0
+  ExtUtils::CBuilder: 0
+  Symbol: 0
+  Test::More: 0
+  Text::Abbrev: 0
+  base: 0
+  overload: 0
+  re: 0
+  strict: 0
+  utf8: 0
+  vars: 0
+  warnings: 0
+configure_requires:
+  ExtUtils::Depends: 0
+  Module::Build: 0
+  perl: 5.006
+generated_by: 'Module::Build version 0.3603'
+license: perl
 meta-spec:
-    url:     http://module-build.sourceforge.net/META-spec-v1.3.html
-    version: 1.3
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4
+name: Data-Dump-Streamer
+provides:
+  Data::Dump::Streamer:
+    file: lib/Data/Dump/Streamer.pm
+    version: 2.17
+  Data::Dump::Streamer::Deparser:
+    file: lib/Data/Dump/Streamer.pm
+    version: 2.17
+recommends:
+  Algorithm::Diff: 0
+  Compress::Zlib: 0
+  MIME::Base64: 0
+  PadWalker: 0.99
+requires:
+  B: 0
+  B::Deparse: 0
+  B::Utils: 0
+  Data::Dumper: 0
+  DynaLoader: 0
+  Exporter: 0
+  Hash::Util: 0
+  IO::File: 0
+  Symbol: 0
+  Text::Abbrev: 0
+  Text::Balanced: 0
+  overload: 0
+  re: 0
+  strict: 0
+  vars: 0
+  warnings: 0
+  warnings::register: 0
+resources:
+  license: http://dev.perl.org/licenses/
+version: 2.17

Modified: trunk/libdata-dump-streamer-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-streamer-perl/README?rev=59243&op=diff
==============================================================================
--- trunk/libdata-dump-streamer-perl/README (original)
+++ trunk/libdata-dump-streamer-perl/README Sat Jun 12 14:06:19 2010
@@ -1,12 +1,10 @@
 INSTALLATION
     To install this module type the following:
 
-      perl Makefile.PL
-      make
-      make test
-      make install
-
-    On Win32 systems change make to nmake or dmake as appropriate.
+      perl Build.PL
+      ./Build
+      ./Build test
+      ./Build install
 
     The modules requires a functional C compiler, however PPM support
     for Win32 users will also be available sometime soon.
@@ -18,9 +16,8 @@
 DEPENDENCIES
     This module requires these other modules and libraries:
 
-      Text::Balanced
-      Test::More
-      B::Deparse
+      Module::Build
+      ExtUtils::Depends
       B::Utils
 
     and optionally for enhanced testing
@@ -41,4 +38,3 @@
     Contains code derived from works by Gisle Aas, Graham Barr,
     Jeff Pinyan, Richard Clamp, and Gurusamy Sarathy as well as
     material taken from the core.
-

Modified: trunk/libdata-dump-streamer-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-streamer-perl/debian/changelog?rev=59243&op=diff
==============================================================================
--- trunk/libdata-dump-streamer-perl/debian/changelog (original)
+++ trunk/libdata-dump-streamer-perl/debian/changelog Sat Jun 12 14:06:19 2010
@@ -1,3 +1,9 @@
+libdata-dump-streamer-perl (2.17-1) UNRELEASED; urgency=low
+
+  * New upstream release.
+
+ -- gregor herrmann <gregoa at debian.org>  Sat, 12 Jun 2010 16:03:52 +0200
+
 libdata-dump-streamer-perl (2.13-1) unstable; urgency=low
 
   [ Jonathan Yu ]

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=59243&op=diff
==============================================================================
--- trunk/libdata-dump-streamer-perl/lib/Data/Dump/Streamer.pm (original)
+++ trunk/libdata-dump-streamer-perl/lib/Data/Dump/Streamer.pm Sat Jun 12 14:06:19 2010
@@ -20,7 +20,6 @@
 require overload;
 use vars qw(
              $VERSION
-             $XS_VERSION
              $AUTOLOAD
              @ISA
              @EXPORT @EXPORT_OK @EXPORT_FAIL %EXPORT_TAGS
@@ -35,8 +34,7 @@
 
 BEGIN {
     #$Id: Streamer.pm 40 2007-12-22 00:37:55Z demerphq $#
-    $VERSION   ='2.13';
-    $XS_VERSION='2.07';
+    $VERSION   ='2.17';
     $VERSION = eval $VERSION; # used for beta stuff.
     @ISA       = qw(Exporter DynaLoader);
     @EXPORT=qw(Dump DumpLex DumpVars);
@@ -124,7 +122,7 @@
     sub alias_to { return shift }
 
     #warn $VERSION;
-    Data::Dump::Streamer->bootstrap($XS_VERSION);
+    Data::Dump::Streamer->bootstrap();
     if ($]>=5.009004) {
         eval q[
             use re qw(regexp_pattern);
@@ -581,11 +579,11 @@
 technically means polluting the root level namespace, and having it listed
 on CPAN, I have elected to have the installer not install it by default.
 If you wish it to be installed you must explicitly state so when
-Makefile.Pl is run:
-
-  perl Makefile.Pl DDS [Other MakeMaker options]
-
-Then a normal 'make test, make install' invocation will install DDS.
+Build.Pl is run:
+
+  perl Build.Pl DDS [Other Module::Build options]
+
+Then a normal './Build test, ./Build install' invocation will install DDS.
 
 Using DDS is identical to Data::Dump::Streamer.
 
@@ -3671,6 +3669,11 @@
 our @ISA=qw(B::Deparse);
 my %cache;
 
+our $VERSION = '2.17';
+if ( $VERSION ne $Data::Dump::Streamer::VERSION ) {
+    die "Incompatible Data::Dump::Streamer::Deparser v$VERSION vs Data::Dump::Streamer v$Data::Dump::Streamer::VERSION";
+}
+
 sub dds_usenames {
     my $self=shift;
     my $names=shift;

Modified: trunk/libdata-dump-streamer-perl/t/dump.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-streamer-perl/t/dump.t?rev=59243&op=diff
==============================================================================
--- trunk/libdata-dump-streamer-perl/t/dump.t (original)
+++ trunk/libdata-dump-streamer-perl/t/dump.t Sat Jun 12 14:06:19 2010
@@ -488,6 +488,7 @@
 }
 {
     my $h={'-'=>1,'-1efg'=>1};
+    $o->OptSpace("");
     same( "'-' hashkeys", $o, <<'EXPECT', ( $h ) );
 $HASH1={
          "-1efg"=>1,

Modified: trunk/libdata-dump-streamer-perl/t/lexicals.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdata-dump-streamer-perl/t/lexicals.t?rev=59243&op=diff
==============================================================================
--- trunk/libdata-dump-streamer-perl/t/lexicals.t (original)
+++ trunk/libdata-dump-streamer-perl/t/lexicals.t Sat Jun 12 14:06:19 2010
@@ -42,7 +42,9 @@
 
 
 {
-    test_dump( 'Lexicals!!', scalar(Dump()), ( get_sub() ), <<'EXPECT');
+    my $expect;
+    if ( $] >= 5.013_000 ) {
+        $expect = <<'EXPECT';
 my ($x,$z, at v, at y, at y_eclipse_1);
 $x = 'f o o 1 foo 1';
 $z = 1;
@@ -68,6 +70,42 @@
            $x . '!!';
          };
 $CODE2 = sub {
+           $x = shift();
+           $z = shift() if @_;
+         };
+$CODE3 = sub {
+           return join('+', $z, $x, @y_eclipse_1);
+         };
+
+EXPECT
+    }
+    else {
+        $expect = <<'EXPECT';
+my ($x,$z, at v, at y, at y_eclipse_1);
+$x = 'f o o 1 foo 1';
+$z = 1;
+ at v = (
+       'f',
+       ( 'o' ) x 2,
+       1
+     );
+ at y = (
+       'b',
+       'a',
+       'r'
+     );
+ at y_eclipse_1 = (
+                 'f',
+                 'u',
+                 ( 'z' ) x 2
+               );
+$CODE1 = sub {
+           my(@y) = ($x, ('A', 'B', 'C', 'D', 'E', 'F', 'G'), @y);
+           my(@v) = (('M', 'N', 'O', 'P', 'Q', 'R'), @v);
+           my $x = join(':', @y, @v, $z || 'undef');
+           $x . '!!';
+         };
+$CODE2 = sub {
            $x = shift @_;
            $z = shift @_ if @_;
          };
@@ -76,6 +114,9 @@
          };
 
 EXPECT
+    }
+
+    test_dump( 'Lexicals!!', scalar(Dump()), ( get_sub() ), $expect);
 }
 
 {




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