r50205 - in /trunk/libmodule-depends-perl/debian: changelog patches/meta_json.patch patches/series
ryan at users.alioth.debian.org
ryan at users.alioth.debian.org
Tue Jan 5 01:20:16 UTC 2010
Author: ryan
Date: Tue Jan 5 01:20:08 2010
New Revision: 50205
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=50205
Log:
Look at META.json too (Closes: #541164)
Added:
trunk/libmodule-depends-perl/debian/patches/meta_json.patch
Modified:
trunk/libmodule-depends-perl/debian/changelog
trunk/libmodule-depends-perl/debian/patches/series
Modified: trunk/libmodule-depends-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-depends-perl/debian/changelog?rev=50205&op=diff
==============================================================================
--- trunk/libmodule-depends-perl/debian/changelog (original)
+++ trunk/libmodule-depends-perl/debian/changelog Tue Jan 5 01:20:08 2010
@@ -14,8 +14,9 @@
* debian/watch: use dist-based URL.
* debian/rules: delete /usr/lib/perl5 only if it exists.
* Switch to YAML::XS to support JSON META.ymls (Closes: 541159)
+ * Look at META.json too (Closes: #541164)
- -- Ryan Niebur <ryan at debian.org> Mon, 04 Jan 2010 17:18:06 -0800
+ -- Ryan Niebur <ryan at debian.org> Mon, 04 Jan 2010 17:20:00 -0800
libmodule-depends-perl (0.14-3) unstable; urgency=low
Added: trunk/libmodule-depends-perl/debian/patches/meta_json.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-depends-perl/debian/patches/meta_json.patch?rev=50205&op=file
==============================================================================
--- trunk/libmodule-depends-perl/debian/patches/meta_json.patch (added)
+++ trunk/libmodule-depends-perl/debian/patches/meta_json.patch Tue Jan 5 01:20:08 2010
@@ -1,0 +1,22 @@
+--- a/lib/Module/Depends.pm
++++ b/lib/Module/Depends.pm
+@@ -73,15 +73,15 @@
+ sub _find_modules {
+ my $self = shift;
+
+- my $file = 'META.yml';
++ foreach my $file (qw/META.yml META.json/) {
+ if (-e $file) {
+ my $meta = LoadFile( $file );
+ $self->requires( $meta->{requires} );
+ $self->build_requires( $meta->{build_requires} );
++ return $self;
+ }
+- else {
+- $self->error( "No META.yml found in ". $self->dist_dir );
+- }
++ }
++ $self->error( "No META.yml found in ". $self->dist_dir );
+ return $self;
+ }
+
Modified: trunk/libmodule-depends-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-depends-perl/debian/patches/series?rev=50205&op=diff
==============================================================================
--- trunk/libmodule-depends-perl/debian/patches/series (original)
+++ trunk/libmodule-depends-perl/debian/patches/series Tue Jan 5 01:20:08 2010
@@ -1,1 +1,2 @@
+meta_json.patch
yaml_xs.patch
More information about the Pkg-perl-cvs-commits
mailing list