r39645 - in /trunk/libb-hooks-op-check-perl: ./ debian/ inc/Module/ inc/Module/Install/ lib/B/Hooks/OP/
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Fri Jul 10 04:46:15 UTC 2009
Author: jawnsy-guest
Date: Fri Jul 10 04:46:10 2009
New Revision: 39645
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=39645
Log:
No release necessary -- only fixes build on Win32
* New upstream release
* Added /me to Copyright
* Standards-Version 3.8.2
* Rewrote control description
Modified:
trunk/libb-hooks-op-check-perl/Changes
trunk/libb-hooks-op-check-perl/META.yml
trunk/libb-hooks-op-check-perl/Makefile.PL
trunk/libb-hooks-op-check-perl/debian/changelog
trunk/libb-hooks-op-check-perl/debian/control
trunk/libb-hooks-op-check-perl/debian/copyright
trunk/libb-hooks-op-check-perl/inc/Module/Install.pm
trunk/libb-hooks-op-check-perl/inc/Module/Install/Base.pm
trunk/libb-hooks-op-check-perl/inc/Module/Install/Can.pm
trunk/libb-hooks-op-check-perl/inc/Module/Install/Fetch.pm
trunk/libb-hooks-op-check-perl/inc/Module/Install/Makefile.pm
trunk/libb-hooks-op-check-perl/inc/Module/Install/Metadata.pm
trunk/libb-hooks-op-check-perl/inc/Module/Install/Win32.pm
trunk/libb-hooks-op-check-perl/inc/Module/Install/WriteAll.pm
trunk/libb-hooks-op-check-perl/lib/B/Hooks/OP/Check.pm
Modified: trunk/libb-hooks-op-check-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-op-check-perl/Changes?rev=39645&op=diff
==============================================================================
--- trunk/libb-hooks-op-check-perl/Changes (original)
+++ trunk/libb-hooks-op-check-perl/Changes Fri Jul 10 04:46:10 2009
@@ -1,3 +1,7 @@
+0.18 Mon, 06 Jul 2009 14:39:25 +0200
+ * Require ExtUtils::Depends 0.302, which fixes linking problems on strawberry
+ perl.
+
0.17 Sun, 19 Apr 2009 10:06:40 +0200
* Put the actual repository url in META.yml. D'OH!
Modified: trunk/libb-hooks-op-check-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-op-check-perl/META.yml?rev=39645&op=diff
==============================================================================
--- trunk/libb-hooks-op-check-perl/META.yml (original)
+++ trunk/libb-hooks-op-check-perl/META.yml Fri Jul 10 04:46:10 2009
@@ -6,10 +6,10 @@
ExtUtils::MakeMaker: 6.42
Test::More: 0
configure_requires:
- ExtUtils::Depends: 0
+ ExtUtils::Depends: 0.302
ExtUtils::MakeMaker: 6.42
distribution_type: module
-generated_by: 'Module::Install version 0.84'
+generated_by: 'Module::Install version 0.91'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -19,6 +19,7 @@
directory:
- inc
- t
+ - xt
requires:
parent: 0
perl: 5.8.1
@@ -26,4 +27,4 @@
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=B-Hooks-OP-Check
license: http://dev.perl.org/licenses/
repository: git://github.com/rafl/b-hooks-op-check.git
-version: 0.17
+version: 0.18
Modified: trunk/libb-hooks-op-check-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-op-check-perl/Makefile.PL?rev=39645&op=diff
==============================================================================
--- trunk/libb-hooks-op-check-perl/Makefile.PL (original)
+++ trunk/libb-hooks-op-check-perl/Makefile.PL Fri Jul 10 04:46:10 2009
@@ -1,7 +1,7 @@
+use 5.008001;
use strict;
use warnings;
-require 5.008001;
use inc::Module::Install;
use ExtUtils::Depends;
@@ -10,7 +10,8 @@
all_from 'lib/B/Hooks/OP/Check.pm';
requires 'parent';
-configure_requires 'ExtUtils::Depends';
+configure_requires 'ExtUtils::Depends' => 0.302; #minimum version that works on Win32+gcc
+test_requires 'Test::More';
test_requires 'Test::More';
my $pkg = ExtUtils::Depends->new('B::Hooks::OP::Check');
Modified: trunk/libb-hooks-op-check-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-op-check-perl/debian/changelog?rev=39645&op=diff
==============================================================================
--- trunk/libb-hooks-op-check-perl/debian/changelog (original)
+++ trunk/libb-hooks-op-check-perl/debian/changelog Fri Jul 10 04:46:10 2009
@@ -1,4 +1,11 @@
-libb-hooks-op-check-perl (0.17-2) UNRELEASED; urgency=low
+libb-hooks-op-check-perl (0.18-1) UNRELEASED; urgency=low
+
+ No release necessary -- only fixes build on Win32
+
+ * New upstream release
+ * Added /me to Copyright
+ * Standards-Version 3.8.2
+ * Rewrote control description
[ Nathan Handler ]
* debian/watch: Update to ignore development releases.
@@ -7,7 +14,7 @@
* debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
field (source stanza).
- -- Nathan Handler <nhandler at ubuntu.com> Sat, 06 Jun 2009 01:32:53 +0000
+ -- Jonathan Yu <frequency at cpan.org> Thu, 09 Jul 2009 20:43:40 -0400
libb-hooks-op-check-perl (0.17-1) unstable; urgency=low
Modified: trunk/libb-hooks-op-check-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-op-check-perl/debian/control?rev=39645&op=diff
==============================================================================
--- trunk/libb-hooks-op-check-perl/debian/control (original)
+++ trunk/libb-hooks-op-check-perl/debian/control Fri Jul 10 04:46:10 2009
@@ -1,10 +1,11 @@
Source: libb-hooks-op-check-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 7), libparent-perl, perl (>= 5.8.1), libextutils-depends-perl
+Build-Depends: debhelper (>= 7), perl (>= 5.8.1), libextutils-depends-perl,
+ libparent-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Jeremiah C. Foster <jeremiah at jeremiahfoster.com>
-Standards-Version: 3.8.1
+Standards-Version: 3.8.2
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libb-hooks-op-check-perl/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libb-hooks-op-check-perl/
Homepage: http://search.cpan.org/dist/B-Hooks-OP-Check/
@@ -12,12 +13,9 @@
Package: libb-hooks-op-check-perl
Architecture: any
Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends},
- libparent-perl, perl (>= 5.8.1)
-Description: module that provides OP check callbacks
- B::Hooks::OP::Check provides a C API into PL_check, part of perl's core.
- .
- This module provides a C API for XS modules to hook into the callbacks
- of "PL_check". PL_check is an array indexed by opcode number
- (op_type) that contains function pointers invoked as the last
- stage of optree compilation, per op.
-
+ libparent-perl, perl (>= 5.8.1)
+Description: Perl wrapper for OP check callbacks
+ B::Hooks::OP::Check provides an interface for XS modules to hook into the
+ callbacks of PL_check, which is part of perl's core. It allows a C function to
+ be invoked as the last stage of optree compilation, depending on the given op
+ code number (op_type).
Modified: trunk/libb-hooks-op-check-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-op-check-perl/debian/copyright?rev=39645&op=diff
==============================================================================
--- trunk/libb-hooks-op-check-perl/debian/copyright (original)
+++ trunk/libb-hooks-op-check-perl/debian/copyright Fri Jul 10 04:46:10 2009
@@ -9,22 +9,23 @@
License-Alias: Perl
License: Artistic | GPL-1+
-Files: inc/Module/Install.pm, inc/Module/Install/*
-Copyright: Copyright 2002 - 2009 by Brian Ingerson, Audrey Tang and Adam Kennedy
+Files: inc/Module/*
+Copyright: 2002-2009, Adam Kennedy <adamk at cpan.org>
+ 2002-2009, Audrey Tang <autrijus at autrijus.org>
+ 2002-2009, Brian Ingerson <ingy at cpan.org>
License-Alias: Perl
License: Artistic | GPL-1+
Files: ppport.h
-Copyright:
- Version 3.x, Copyright (c) 2004-2005, Marcus Holland-Moritz.
- Version 2.x, Copyright (C) 2001, Paul Marquess.
- Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
-License: GPL-1+ | Artistic
- This program is free software; you can redistribute it and/or
- modify it under the same terms as Perl itself.
+Copyright: 2004-2009, Marcus Holland-Moritz <mhx-cpan at gmx.net>
+ 2001, Paul Marquess <pmqs at cpan.org> (Version 2.x)
+ 1999, Kenneth Albanowski <kjahds at kjahds.com> (Version 1.x)
+License-Alias: Perl
+License: Artistic | GPL-1+
Files: debian/*
-Copyright: 2009, Jeremiah C. Foster <jeremiah at jeremiahfoster.com>
+Copyright: 2009, Jonathan Yu <frequency at cpan.org>
+ 2009, Jeremiah C. Foster <jeremiah at jeremiahfoster.com>
License: Artistic | GPL-1+
License: Artistic
Modified: trunk/libb-hooks-op-check-perl/inc/Module/Install.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-op-check-perl/inc/Module/Install.pm?rev=39645&op=diff
==============================================================================
--- trunk/libb-hooks-op-check-perl/inc/Module/Install.pm (original)
+++ trunk/libb-hooks-op-check-perl/inc/Module/Install.pm Fri Jul 10 04:46:10 2009
@@ -28,7 +28,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.84';
+ $VERSION = '0.91';
# Storage for the pseudo-singleton
$MAIN = undef;
@@ -353,7 +353,7 @@
if ( $] >= 5.006 ) {
open( FH, '<', $_[0] ) or die "open($_[0]): $!";
} else {
- open( FH, "< $_[0]" ) or die "open($_[0]): $!";
+ open( FH, "< $_[0]" ) or die "open($_[0]): $!";
}
my $string = do { local $/; <FH> };
close FH or die "close($_[0]): $!";
@@ -384,7 +384,7 @@
if ( $] >= 5.006 ) {
open( FH, '>', $_[0] ) or die "open($_[0]): $!";
} else {
- open( FH, "> $_[0]" ) or die "open($_[0]): $!";
+ open( FH, "> $_[0]" ) or die "open($_[0]): $!";
}
foreach ( 1 .. $#_ ) {
print FH $_[$_] or die "print($_[0]): $!";
Modified: trunk/libb-hooks-op-check-perl/inc/Module/Install/Base.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-op-check-perl/inc/Module/Install/Base.pm?rev=39645&op=diff
==============================================================================
--- trunk/libb-hooks-op-check-perl/inc/Module/Install/Base.pm (original)
+++ trunk/libb-hooks-op-check-perl/inc/Module/Install/Base.pm Fri Jul 10 04:46:10 2009
@@ -1,7 +1,11 @@
#line 1
package Module::Install::Base;
-$VERSION = '0.84';
+use strict 'vars';
+use vars qw{$VERSION};
+BEGIN {
+ $VERSION = '0.91';
+}
# Suspend handler for "redefined" warnings
BEGIN {
@@ -9,42 +13,34 @@
$SIG{__WARN__} = sub { $w };
}
-### This is the ONLY module that shouldn't have strict on
-# use strict;
-
-#line 41
+#line 42
sub new {
- my ($class, %args) = @_;
-
- foreach my $method ( qw(call load) ) {
- next if defined &{"$class\::$method"};
- *{"$class\::$method"} = sub {
- shift()->_top->$method(@_);
- };
+ my $class = shift;
+ unless ( defined &{"${class}::call"} ) {
+ *{"${class}::call"} = sub { shift->_top->call(@_) };
}
-
- bless( \%args, $class );
+ unless ( defined &{"${class}::load"} ) {
+ *{"${class}::load"} = sub { shift->_top->load(@_) };
+ }
+ bless { @_ }, $class;
}
-#line 62
+#line 61
sub AUTOLOAD {
- my $self = shift;
local $@;
- my $autoload = eval {
- $self->_top->autoload
- } or return;
- goto &$autoload;
+ my $func = eval { shift->_top->autoload } or return;
+ goto &$func;
}
-#line 79
+#line 75
sub _top {
$_[0]->{_top};
}
-#line 94
+#line 90
sub admin {
$_[0]->_top->{admin}
@@ -52,7 +48,7 @@
Module::Install::Base::FakeAdmin->new;
}
-#line 110
+#line 106
sub is_admin {
$_[0]->admin->VERSION;
@@ -63,6 +59,7 @@
package Module::Install::Base::FakeAdmin;
my $fake;
+
sub new {
$fake ||= bless(\@_, $_[0]);
}
@@ -78,4 +75,4 @@
1;
-#line 157
+#line 154
Modified: trunk/libb-hooks-op-check-perl/inc/Module/Install/Can.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-op-check-perl/inc/Module/Install/Can.pm?rev=39645&op=diff
==============================================================================
--- trunk/libb-hooks-op-check-perl/inc/Module/Install/Can.pm (original)
+++ trunk/libb-hooks-op-check-perl/inc/Module/Install/Can.pm Fri Jul 10 04:46:10 2009
@@ -2,16 +2,16 @@
package Module::Install::Can;
use strict;
-use Module::Install::Base;
-use Config ();
-use File::Spec ();
-use ExtUtils::MakeMaker ();
+use Config ();
+use File::Spec ();
+use ExtUtils::MakeMaker ();
+use Module::Install::Base ();
-use vars qw{$VERSION $ISCORE @ISA};
+use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '0.84';
+ $VERSION = '0.91';
+ @ISA = 'Module::Install::Base';
$ISCORE = 1;
- @ISA = qw{Module::Install::Base};
}
# check if we can load some module
Modified: trunk/libb-hooks-op-check-perl/inc/Module/Install/Fetch.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-op-check-perl/inc/Module/Install/Fetch.pm?rev=39645&op=diff
==============================================================================
--- trunk/libb-hooks-op-check-perl/inc/Module/Install/Fetch.pm (original)
+++ trunk/libb-hooks-op-check-perl/inc/Module/Install/Fetch.pm Fri Jul 10 04:46:10 2009
@@ -2,13 +2,13 @@
package Module::Install::Fetch;
use strict;
-use Module::Install::Base;
+use Module::Install::Base ();
-use vars qw{$VERSION $ISCORE @ISA};
+use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '0.84';
+ $VERSION = '0.91';
+ @ISA = 'Module::Install::Base';
$ISCORE = 1;
- @ISA = qw{Module::Install::Base};
}
sub get_file {
Modified: trunk/libb-hooks-op-check-perl/inc/Module/Install/Makefile.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-op-check-perl/inc/Module/Install/Makefile.pm?rev=39645&op=diff
==============================================================================
--- trunk/libb-hooks-op-check-perl/inc/Module/Install/Makefile.pm (original)
+++ trunk/libb-hooks-op-check-perl/inc/Module/Install/Makefile.pm Fri Jul 10 04:46:10 2009
@@ -2,14 +2,14 @@
package Module::Install::Makefile;
use strict 'vars';
-use Module::Install::Base;
-use ExtUtils::MakeMaker ();
-
-use vars qw{$VERSION $ISCORE @ISA};
+use ExtUtils::MakeMaker ();
+use Module::Install::Base ();
+
+use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '0.84';
+ $VERSION = '0.91';
+ @ISA = 'Module::Install::Base';
$ISCORE = 1;
- @ISA = qw{Module::Install::Base};
}
sub Makefile { $_[0] }
Modified: trunk/libb-hooks-op-check-perl/inc/Module/Install/Metadata.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-op-check-perl/inc/Module/Install/Metadata.pm?rev=39645&op=diff
==============================================================================
--- trunk/libb-hooks-op-check-perl/inc/Module/Install/Metadata.pm (original)
+++ trunk/libb-hooks-op-check-perl/inc/Module/Install/Metadata.pm Fri Jul 10 04:46:10 2009
@@ -2,18 +2,17 @@
package Module::Install::Metadata;
use strict 'vars';
-use Module::Install::Base;
+use Module::Install::Base ();
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '0.84';
- @ISA = qw{Module::Install::Base};
+ $VERSION = '0.91';
+ @ISA = 'Module::Install::Base';
$ISCORE = 1;
}
my @boolean_keys = qw{
sign
- mymeta
};
my @scalar_keys = qw{
@@ -440,21 +439,21 @@
/ixms ) {
my $license_text = $1;
my @phrases = (
- 'under the same (?:terms|license) as perl itself' => 'perl', 1,
- 'GNU general public license' => 'gpl', 1,
- 'GNU public license' => 'gpl', 1,
- 'GNU lesser general public license' => 'lgpl', 1,
- 'GNU lesser public license' => 'lgpl', 1,
- 'GNU library general public license' => 'lgpl', 1,
- 'GNU library public license' => 'lgpl', 1,
- 'BSD license' => 'bsd', 1,
- 'Artistic license' => 'artistic', 1,
- 'GPL' => 'gpl', 1,
- 'LGPL' => 'lgpl', 1,
- 'BSD' => 'bsd', 1,
- 'Artistic' => 'artistic', 1,
- 'MIT' => 'mit', 1,
- 'proprietary' => 'proprietary', 0,
+ 'under the same (?:terms|license) as (?:perl|the perl programming language) itself' => 'perl', 1,
+ 'GNU general public license' => 'gpl', 1,
+ 'GNU public license' => 'gpl', 1,
+ 'GNU lesser general public license' => 'lgpl', 1,
+ 'GNU lesser public license' => 'lgpl', 1,
+ 'GNU library general public license' => 'lgpl', 1,
+ 'GNU library public license' => 'lgpl', 1,
+ 'BSD license' => 'bsd', 1,
+ 'Artistic license' => 'artistic', 1,
+ 'GPL' => 'gpl', 1,
+ 'LGPL' => 'lgpl', 1,
+ 'BSD' => 'bsd', 1,
+ 'Artistic' => 'artistic', 1,
+ 'MIT' => 'mit', 1,
+ 'proprietary' => 'proprietary', 0,
);
while ( my ($pattern, $license, $osi) = splice(@phrases, 0, 3) ) {
$pattern =~ s{\s+}{\\s+}g;
@@ -506,17 +505,29 @@
}
}
+sub test_requires_from {
+ my $self = shift;
+ my $content = Module::Install::_readperl($_[0]);
+ my @requires = $content =~ m/^use\s+([^\W\d]\w*(?:::\w+)*)\s+([\d\.]+)/mg;
+ while ( @requires ) {
+ my $module = shift @requires;
+ my $version = shift @requires;
+ $self->test_requires( $module => $version );
+ }
+}
+
# Convert triple-part versions (eg, 5.6.1 or 5.8.9) to
# numbers (eg, 5.006001 or 5.008009).
# Also, convert double-part versions (eg, 5.8)
sub _perl_version {
my $v = $_[-1];
- $v =~ s/^([1-9])\.([1-9]\d?\d?)$/sprintf("%d.%03d",$1,$2)/e;
+ $v =~ s/^([1-9])\.([1-9]\d?\d?)$/sprintf("%d.%03d",$1,$2)/e;
$v =~ s/^([1-9])\.([1-9]\d?\d?)\.(0|[1-9]\d?\d?)$/sprintf("%d.%03d%03d",$1,$2,$3 || 0)/e;
$v =~ s/(\.\d\d\d)000$/$1/;
$v =~ s/_.+$//;
if ( ref($v) ) {
- $v = $v + 0; # Numify
+ # Numify
+ $v = $v + 0;
}
return $v;
}
@@ -526,21 +537,56 @@
######################################################################
-# MYMETA.yml Support
+# MYMETA Support
sub WriteMyMeta {
die "WriteMyMeta has been deprecated";
}
-sub write_mymeta {
- my $self = shift;
-
- # If there's no existing META.yml there is nothing we can do
- return unless -f 'META.yml';
+sub write_mymeta_yaml {
+ my $self = shift;
# We need YAML::Tiny to write the MYMETA.yml file
unless ( eval { require YAML::Tiny; 1; } ) {
return 1;
+ }
+
+ # Generate the data
+ my $meta = $self->_write_mymeta_data or return 1;
+
+ # Save as the MYMETA.yml file
+ print "Writing MYMETA.yml\n";
+ YAML::Tiny::DumpFile('MYMETA.yml', $meta);
+}
+
+sub write_mymeta_json {
+ my $self = shift;
+
+ # We need JSON to write the MYMETA.json file
+ unless ( eval { require JSON; 1; } ) {
+ return 1;
+ }
+
+ # Generate the data
+ my $meta = $self->_write_mymeta_data or return 1;
+
+ # Save as the MYMETA.yml file
+ print "Writing MYMETA.json\n";
+ Module::Install::_write(
+ 'MYMETA.json',
+ JSON->new->pretty(1)->canonical->encode($meta),
+ );
+}
+
+sub _write_mymeta_data {
+ my $self = shift;
+
+ # If there's no existing META.yml there is nothing we can do
+ return undef unless -f 'META.yml';
+
+ # We need Parse::CPAN::Meta to load the file
+ unless ( eval { require Parse::CPAN::Meta; 1; } ) {
+ return undef;
}
# Merge the perl version into the dependencies
@@ -558,7 +604,7 @@
}
# Load the advisory META.yml file
- my @yaml = YAML::Tiny::LoadFile('META.yml');
+ my @yaml = Parse::CPAN::Meta::LoadFile('META.yml');
my $meta = $yaml[0];
# Overwrite the non-configure dependency hashs
@@ -572,9 +618,7 @@
$meta->{build_requires} = { map { @$_ } @{ $val->{build_requires} } };
}
- # Save as the MYMETA.yml file
- print "Writing MYMETA.yml\n";
- YAML::Tiny::DumpFile('MYMETA.yml', $meta);
+ return $meta;
}
1;
Modified: trunk/libb-hooks-op-check-perl/inc/Module/Install/Win32.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-op-check-perl/inc/Module/Install/Win32.pm?rev=39645&op=diff
==============================================================================
--- trunk/libb-hooks-op-check-perl/inc/Module/Install/Win32.pm (original)
+++ trunk/libb-hooks-op-check-perl/inc/Module/Install/Win32.pm Fri Jul 10 04:46:10 2009
@@ -2,12 +2,12 @@
package Module::Install::Win32;
use strict;
-use Module::Install::Base;
+use Module::Install::Base ();
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '0.84';
- @ISA = qw{Module::Install::Base};
+ $VERSION = '0.91';
+ @ISA = 'Module::Install::Base';
$ISCORE = 1;
}
Modified: trunk/libb-hooks-op-check-perl/inc/Module/Install/WriteAll.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-op-check-perl/inc/Module/Install/WriteAll.pm?rev=39645&op=diff
==============================================================================
--- trunk/libb-hooks-op-check-perl/inc/Module/Install/WriteAll.pm (original)
+++ trunk/libb-hooks-op-check-perl/inc/Module/Install/WriteAll.pm Fri Jul 10 04:46:10 2009
@@ -2,11 +2,11 @@
package Module::Install::WriteAll;
use strict;
-use Module::Install::Base;
+use Module::Install::Base ();
use vars qw{$VERSION @ISA $ISCORE};
BEGIN {
- $VERSION = '0.84';
+ $VERSION = '0.91';;
@ISA = qw{Module::Install::Base};
$ISCORE = 1;
}
@@ -41,8 +41,18 @@
# The Makefile write process adds a couple of dependencies,
# so write the META.yml files after the Makefile.
- $self->Meta->write if $args{meta};
- $self->Meta->write_mymeta if $self->mymeta;
+ if ( $args{meta} ) {
+ $self->Meta->write;
+ }
+
+ # Experimental support for MYMETA
+ if ( $ENV{X_MYMETA} ) {
+ if ( $ENV{X_MYMETA} eq 'JSON' ) {
+ $self->Meta->write_mymeta_json;
+ } else {
+ $self->Meta->write_mymeta_yaml;
+ }
+ }
return 1;
}
Modified: trunk/libb-hooks-op-check-perl/lib/B/Hooks/OP/Check.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-hooks-op-check-perl/lib/B/Hooks/OP/Check.pm?rev=39645&op=diff
==============================================================================
--- trunk/libb-hooks-op-check-perl/lib/B/Hooks/OP/Check.pm (original)
+++ trunk/libb-hooks-op-check-perl/lib/B/Hooks/OP/Check.pm Fri Jul 10 04:46:10 2009
@@ -6,7 +6,7 @@
require 5.008001;
use parent qw/DynaLoader/;
-our $VERSION = '0.17';
+our $VERSION = '0.18';
sub dl_load_flags { 0x01 }
More information about the Pkg-perl-cvs-commits
mailing list