r58990 - in /branches/upstream/libyaml-syck-perl/current: ./ inc/Module/ inc/Module/Install/ lib/JSON/ lib/YAML/

ansgar-guest at users.alioth.debian.org ansgar-guest at users.alioth.debian.org
Mon Jun 7 02:22:09 UTC 2010


Author: ansgar-guest
Date: Mon Jun  7 02:17:39 2010
New Revision: 58990

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=58990
Log:
[svn-upgrade] Integrating new upstream version, libyaml-syck-perl (1.10)

Modified:
    branches/upstream/libyaml-syck-perl/current/Changes
    branches/upstream/libyaml-syck-perl/current/META.yml
    branches/upstream/libyaml-syck-perl/current/inc/Module/Install.pm
    branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Base.pm
    branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Can.pm
    branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Compiler.pm
    branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Fetch.pm
    branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Include.pm
    branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Makefile.pm
    branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Metadata.pm
    branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Win32.pm
    branches/upstream/libyaml-syck-perl/current/inc/Module/Install/WriteAll.pm
    branches/upstream/libyaml-syck-perl/current/lib/JSON/Syck.pm
    branches/upstream/libyaml-syck-perl/current/lib/YAML/Syck.pm

Modified: branches/upstream/libyaml-syck-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libyaml-syck-perl/current/Changes?rev=58990&op=diff
==============================================================================
--- branches/upstream/libyaml-syck-perl/current/Changes (original)
+++ branches/upstream/libyaml-syck-perl/current/Changes Mon Jun  7 02:17:39 2010
@@ -1,3 +1,12 @@
+[Changes for 1.10 (JSON::Syck 0.32) - 2010-06-06]
+
+1.09 was released with version 0.97 of Module::Install. It had a
+critical bug that I reported which broke installations on perl 5.8.3
+and older.
+
+This release is equivalent to 1.09 aside from bumping Module::Install
+to 0.99 which fixed the bug.
+
 [Changes for 1.09 (JSON::Syck 0.32) - 2010-05-29]
 
 * Exactly equivalent to 1.08_01, aside from bumping the version

Modified: branches/upstream/libyaml-syck-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libyaml-syck-perl/current/META.yml?rev=58990&op=diff
==============================================================================
--- branches/upstream/libyaml-syck-perl/current/META.yml (original)
+++ branches/upstream/libyaml-syck-perl/current/META.yml Mon Jun  7 02:17:39 2010
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: 6.42
 distribution_type: module
-generated_by: 'Module::Install version 0.97'
+generated_by: 'Module::Install version 0.99'
 license: mit
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,4 +25,4 @@
   homepage: http://search.cpan.org/dist/YAML-Syck
   license: http://opensource.org/licenses/mit-license.php
   repository: http://github.com/avar/YAML-Syck
-version: 1.09
+version: 1.10

Modified: branches/upstream/libyaml-syck-perl/current/inc/Module/Install.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libyaml-syck-perl/current/inc/Module/Install.pm?rev=58990&op=diff
==============================================================================
--- branches/upstream/libyaml-syck-perl/current/inc/Module/Install.pm (original)
+++ branches/upstream/libyaml-syck-perl/current/inc/Module/Install.pm Mon Jun  7 02:17:39 2010
@@ -22,7 +22,6 @@
 use Cwd        ();
 use File::Find ();
 use File::Path ();
-use FindBin;
 
 use vars qw{$VERSION $MAIN};
 BEGIN {
@@ -32,7 +31,7 @@
 	# This is not enforced yet, but will be some time in the next few
 	# releases once we can make sure it won't clash with custom
 	# Module::Install extensions.
-	$VERSION = '0.97';
+	$VERSION = '0.99';
 
 	# Storage for the pseudo-singleton
 	$MAIN    = undef;
@@ -231,7 +230,8 @@
 sub new {
 	my ($class, %args) = @_;
 
-	FindBin->again;
+    delete $INC{'FindBin.pm'};
+    require FindBin;
 
 	# ignore the prefix on extension modules built from top level.
 	my $base_path = Cwd::abs_path($FindBin::Bin);

Modified: branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Base.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Base.pm?rev=58990&op=diff
==============================================================================
--- branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Base.pm (original)
+++ branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Base.pm Mon Jun  7 02:17:39 2010
@@ -4,7 +4,7 @@
 use strict 'vars';
 use vars qw{$VERSION};
 BEGIN {
-	$VERSION = '0.97';
+	$VERSION = '0.99';
 }
 
 # Suspend handler for "redefined" warnings

Modified: branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Can.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Can.pm?rev=58990&op=diff
==============================================================================
--- branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Can.pm (original)
+++ branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Can.pm Mon Jun  7 02:17:39 2010
@@ -9,7 +9,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '0.97';
+	$VERSION = '0.99';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }

Modified: branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Compiler.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Compiler.pm?rev=58990&op=diff
==============================================================================
--- branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Compiler.pm (original)
+++ branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Compiler.pm Mon Jun  7 02:17:39 2010
@@ -7,7 +7,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '0.97';
+	$VERSION = '0.99';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }

Modified: branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Fetch.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Fetch.pm?rev=58990&op=diff
==============================================================================
--- branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Fetch.pm (original)
+++ branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Fetch.pm Mon Jun  7 02:17:39 2010
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '0.97';
+	$VERSION = '0.99';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }

Modified: branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Include.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Include.pm?rev=58990&op=diff
==============================================================================
--- branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Include.pm (original)
+++ branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Include.pm Mon Jun  7 02:17:39 2010
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '0.97';
+	$VERSION = '0.99';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }

Modified: branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Makefile.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Makefile.pm?rev=58990&op=diff
==============================================================================
--- branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Makefile.pm (original)
+++ branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Makefile.pm Mon Jun  7 02:17:39 2010
@@ -4,10 +4,11 @@
 use strict 'vars';
 use ExtUtils::MakeMaker   ();
 use Module::Install::Base ();
+use Fcntl qw/:flock :seek/;
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '0.97';
+	$VERSION = '0.99';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
@@ -364,9 +365,9 @@
 		. ($self->postamble || '');
 
 	local *MAKEFILE;
-	open MAKEFILE, "< $makefile_name" or die "fix_up_makefile: Couldn't open $makefile_name: $!";
+	open MAKEFILE, "+< $makefile_name" or die "fix_up_makefile: Couldn't open $makefile_name: $!";
+	eval { flock MAKEFILE, LOCK_EX };
 	my $makefile = do { local $/; <MAKEFILE> };
-	close MAKEFILE or die $!;
 
 	$makefile =~ s/\b(test_harness\(\$\(TEST_VERBOSE\), )/$1'inc', /;
 	$makefile =~ s/( -I\$\(INST_ARCHLIB\))/ -Iinc$1/g;
@@ -386,7 +387,8 @@
 	# XXX - This is currently unused; not sure if it breaks other MM-users
 	# $makefile =~ s/^pm_to_blib\s+:\s+/pm_to_blib :: /mg;
 
-	open  MAKEFILE, "> $makefile_name" or die "fix_up_makefile: Couldn't open $makefile_name: $!";
+	seek MAKEFILE, 0, SEEK_SET;
+	truncate MAKEFILE, 0;
 	print MAKEFILE  "$preamble$makefile$postamble" or die $!;
 	close MAKEFILE  or die $!;
 
@@ -410,4 +412,4 @@
 
 __END__
 
-#line 539
+#line 541

Modified: branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Metadata.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Metadata.pm?rev=58990&op=diff
==============================================================================
--- branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Metadata.pm (original)
+++ branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Metadata.pm Mon Jun  7 02:17:39 2010
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '0.97';
+	$VERSION = '0.99';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }
@@ -616,8 +616,15 @@
 	return $v;
 }
 
-
-
+sub add_metadata {
+    my $self = shift;
+    my %hash = @_;
+    for my $key (keys %hash) {
+        warn "add_metadata: $key is not prefixed with 'x_'.\n" .
+             "Use appopriate function to add non-private metadata.\n" unless $key =~ /^x_/;
+        $self->{values}->{$key} = $hash{$key};
+    }
+}
 
 
 ######################################################################

Modified: branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Win32.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Win32.pm?rev=58990&op=diff
==============================================================================
--- branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Win32.pm (original)
+++ branches/upstream/libyaml-syck-perl/current/inc/Module/Install/Win32.pm Mon Jun  7 02:17:39 2010
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '0.97';
+	$VERSION = '0.99';
 	@ISA     = 'Module::Install::Base';
 	$ISCORE  = 1;
 }

Modified: branches/upstream/libyaml-syck-perl/current/inc/Module/Install/WriteAll.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libyaml-syck-perl/current/inc/Module/Install/WriteAll.pm?rev=58990&op=diff
==============================================================================
--- branches/upstream/libyaml-syck-perl/current/inc/Module/Install/WriteAll.pm (original)
+++ branches/upstream/libyaml-syck-perl/current/inc/Module/Install/WriteAll.pm Mon Jun  7 02:17:39 2010
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-	$VERSION = '0.97';;
+	$VERSION = '0.99';
 	@ISA     = qw{Module::Install::Base};
 	$ISCORE  = 1;
 }

Modified: branches/upstream/libyaml-syck-perl/current/lib/JSON/Syck.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libyaml-syck-perl/current/lib/JSON/Syck.pm?rev=58990&op=diff
==============================================================================
--- branches/upstream/libyaml-syck-perl/current/lib/JSON/Syck.pm (original)
+++ branches/upstream/libyaml-syck-perl/current/lib/JSON/Syck.pm Mon Jun  7 02:17:39 2010
@@ -5,7 +5,7 @@
 use YAML::Syck ();
 
 BEGIN {
-    $VERSION    = '0.32';
+    $VERSION    = '0.33';
     @EXPORT_OK  = qw( Load Dump LoadFile DumpFile );
     @ISA        = 'Exporter';
     *Load       = \&YAML::Syck::LoadJSON;

Modified: branches/upstream/libyaml-syck-perl/current/lib/YAML/Syck.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libyaml-syck-perl/current/lib/YAML/Syck.pm?rev=58990&op=diff
==============================================================================
--- branches/upstream/libyaml-syck-perl/current/lib/YAML/Syck.pm (original)
+++ branches/upstream/libyaml-syck-perl/current/lib/YAML/Syck.pm Mon Jun  7 02:17:39 2010
@@ -13,7 +13,7 @@
 use Exporter;
 
 BEGIN {
-    $VERSION = '1.09';
+    $VERSION = '1.10';
     @EXPORT  = qw( Dump Load DumpFile LoadFile );
     @ISA     = qw( Exporter );
 




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