r56755 - in /trunk/libb-perlreq-perl: ./ debian/ debian/patches/ debian/source/ lib/B/ t/

ansgar-guest at users.alioth.debian.org ansgar-guest at users.alioth.debian.org
Sat Apr 24 10:51:34 UTC 2010


Author: ansgar-guest
Date: Sat Apr 24 10:49:28 2010
New Revision: 56755

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=56755
Log:
* New upstream release.
  + Build with perl 5.12.0. (Closes: #579010)
* Use source format 3.0 (quilt).
* debian/copyright: Formatting changes for current DEP-5 proposal.
* debian/copyright: Update years of copyright.
* Fix spelling error in the documentation.
  + new patch: spelling.patch
* Bump Standards-Version to 3.8.4.
* Add myself to Uploaders.

Added:
    trunk/libb-perlreq-perl/debian/patches/
    trunk/libb-perlreq-perl/debian/patches/series
    trunk/libb-perlreq-perl/debian/patches/spelling.patch
    trunk/libb-perlreq-perl/debian/source/
    trunk/libb-perlreq-perl/debian/source/format
Modified:
    trunk/libb-perlreq-perl/Changes
    trunk/libb-perlreq-perl/META.yml
    trunk/libb-perlreq-perl/README
    trunk/libb-perlreq-perl/debian/changelog
    trunk/libb-perlreq-perl/debian/control
    trunk/libb-perlreq-perl/debian/copyright
    trunk/libb-perlreq-perl/lib/B/PerlReq.pm
    trunk/libb-perlreq-perl/rpm-build-perl.spec
    trunk/libb-perlreq-perl/t/02-perlreq.t

Modified: trunk/libb-perlreq-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-perlreq-perl/Changes?rev=56755&op=diff
==============================================================================
--- trunk/libb-perlreq-perl/Changes (original)
+++ trunk/libb-perlreq-perl/Changes Sat Apr 24 10:49:28 2010
@@ -1,3 +1,6 @@
+* Tue Apr 20 2010 Alexey Tourbin <at at altlinux> 0.72-alt1
+- B/PerlReq.pm: implemented support for Moose::with()
+
 * Sun Sep 27 2009 Alexey Tourbin <at at altlinux> 0.71-alt1
 - PerlReq/Utils.pm: fixed RPM_PERL_LIB_PATH for whitespaces (ALT#21701)
 

Modified: trunk/libb-perlreq-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-perlreq-perl/META.yml?rev=56755&op=diff
==============================================================================
--- trunk/libb-perlreq-perl/META.yml (original)
+++ trunk/libb-perlreq-perl/META.yml Sat Apr 24 10:49:28 2010
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:               rpm-build-perl
-version:            0.71
+version:            0.72
 abstract:           Calculate dependencies for Perl sources
 author:
     - Alexey Tourbin <at at altlinux.org>

Modified: trunk/libb-perlreq-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-perlreq-perl/README?rev=56755&op=diff
==============================================================================
--- trunk/libb-perlreq-perl/README (original)
+++ trunk/libb-perlreq-perl/README Sat Apr 24 10:49:28 2010
@@ -1,10 +1,10 @@
-rpm-build-perl version 0.71
+rpm-build-perl version 0.72
 
 B::PerlReq - Perl compiler backend to extract Perl dependencies
 perl.req - list requirements for Perl scripts and libraries
 perl.prov - list what Perl source files provide
 
-Copyright (c) 2003, 2004, 2006, 2007, 2008 Alexey Tourbin, ALT Linux Team.
+Copyright (c) 2003, 2004, 2006, 2007, 2008, 2010  Alexey Tourbin, ALT Linux Team.
 
 This is free software; you can redistribute it and/or modify it under the terms
 of the GNU General Public License as published by the Free Software Foundation;

Modified: trunk/libb-perlreq-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-perlreq-perl/debian/changelog?rev=56755&op=diff
==============================================================================
--- trunk/libb-perlreq-perl/debian/changelog (original)
+++ trunk/libb-perlreq-perl/debian/changelog Sat Apr 24 10:49:28 2010
@@ -1,3 +1,17 @@
+libb-perlreq-perl (0.72-1) unstable; urgency=low
+
+  * New upstream release.
+    + Build with perl 5.12.0. (Closes: #579010)
+  * Use source format 3.0 (quilt).
+  * debian/copyright: Formatting changes for current DEP-5 proposal.
+  * debian/copyright: Update years of copyright.
+  * Fix spelling error in the documentation.
+    + new patch: spelling.patch
+  * Bump Standards-Version to 3.8.4.
+  * Add myself to Uploaders.
+
+ -- Ansgar Burchardt <ansgar at 43-1.org>  Sat, 24 Apr 2010 19:48:39 +0900
+
 libb-perlreq-perl (0.71-1) unstable; urgency=low
 
   [ Jonathan Yu ]

Modified: trunk/libb-perlreq-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-perlreq-perl/debian/control?rev=56755&op=diff
==============================================================================
--- trunk/libb-perlreq-perl/debian/control (original)
+++ trunk/libb-perlreq-perl/debian/control Sat Apr 24 10:49:28 2010
@@ -1,11 +1,12 @@
 Source: libb-perlreq-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 7.0.50)
+Build-Depends: debhelper (>= 7.0.50~)
 Build-Depends-Indep: perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Damyan Ivanov <dmn at debian.org>, Jonathan Yu <jawnsy at cpan.org>
-Standards-Version: 3.8.3
+Uploaders: Damyan Ivanov <dmn at debian.org>, Jonathan Yu <jawnsy at cpan.org>,
+ Ansgar Burchardt <ansgar at 43-1.org>
+Standards-Version: 3.8.4
 Homepage: http://search.cpan.org/dist/rpm-build-perl/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libb-perlreq-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libb-perlreq-perl/

Modified: trunk/libb-perlreq-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-perlreq-perl/debian/copyright?rev=56755&op=diff
==============================================================================
--- trunk/libb-perlreq-perl/debian/copyright (original)
+++ trunk/libb-perlreq-perl/debian/copyright Sat Apr 24 10:49:28 2010
@@ -1,11 +1,9 @@
-Format-Specification:
-    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
-Upstream-Maintainer: Alexey Tourbin <at at altlinux.org>
-Upstream-Source: http://search.cpan.org/dist/rpm-build-perl/
-Upstream-Name: rpm-build-perl
+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Maintainer: Alexey Tourbin <at at altlinux.org>
+Source: http://search.cpan.org/dist/rpm-build-perl/
+Name: rpm-build-perl
 
-Files: *
-Copyright: 2003-2008, Alexey Tourbin <at at altlinux.org>
+Copyright: 2003-2010, Alexey Tourbin <at at altlinux.org>
  1999, Ken Estes <kestes at staff.mail.com>
 License: GPL-2+
 

Added: trunk/libb-perlreq-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-perlreq-perl/debian/patches/series?rev=56755&op=file
==============================================================================
--- trunk/libb-perlreq-perl/debian/patches/series (added)
+++ trunk/libb-perlreq-perl/debian/patches/series Sat Apr 24 10:49:28 2010
@@ -1,0 +1,1 @@
+spelling.patch

Added: trunk/libb-perlreq-perl/debian/patches/spelling.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-perlreq-perl/debian/patches/spelling.patch?rev=56755&op=file
==============================================================================
--- trunk/libb-perlreq-perl/debian/patches/spelling.patch (added)
+++ trunk/libb-perlreq-perl/debian/patches/spelling.patch Sat Apr 24 10:49:28 2010
@@ -1,0 +1,17 @@
+From: Ansgar Burchardt <ansgar at 43-1.org>
+Date: Sat, 24 Apr 2010 19:41:54 +0900
+Origin: vendor
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=56888
+Subject: Fix spelling error
+
+--- libb-perlreq-perl.orig/perl.req
++++ libb-perlreq-perl/perl.req
+@@ -341,7 +341,7 @@
+ =item	B<-m>, B<--method>=I<method>
+ 
+ Use particular I<method> for dependency tracking.  Alternatively,
+-RPM_PERL_REQ_METHOD environement variable can be used to set the method.
++RPM_PERL_REQ_METHOD environment variable can be used to set the method.
+ 
+ The following methods are available:
+ 

Added: trunk/libb-perlreq-perl/debian/source/format
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-perlreq-perl/debian/source/format?rev=56755&op=file
==============================================================================
--- trunk/libb-perlreq-perl/debian/source/format (added)
+++ trunk/libb-perlreq-perl/debian/source/format Sat Apr 24 10:49:28 2010
@@ -1,0 +1,1 @@
+3.0 (quilt)

Modified: trunk/libb-perlreq-perl/lib/B/PerlReq.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-perlreq-perl/lib/B/PerlReq.pm?rev=56755&op=diff
==============================================================================
--- trunk/libb-perlreq-perl/lib/B/PerlReq.pm (original)
+++ trunk/libb-perlreq-perl/lib/B/PerlReq.pm Sat Apr 24 10:49:28 2010
@@ -12,7 +12,7 @@
 #	and micro hacks.
 
 package B::PerlReq;
-our $VERSION = '0.71';
+our $VERSION = '0.72';
 
 use 5.006;
 use strict;
@@ -256,6 +256,28 @@
 	$methods{$method}->($class, $method, @args);
 }
 
+sub grok_gv {
+	return unless exists $INC{"Moose.pm"};
+
+	my $op = shift;
+	return unless $op->next->name eq "entersub";
+
+	use B::Walker qw(padval);
+	return unless padval($op->padix)->NAME eq "with";
+
+	$op = $op->next->first->first->sibling;
+
+	while ($$op and $op->name eq "const") {
+		my $sv = const_sv($op);
+		$op = $op->sibling;
+		next unless $sv->can("PV");
+		my $mod = $sv->PV;
+		next unless $mod =~ /^\w+(?:::\w+)+\z/;
+		my $f = mod2path($mod);
+		Requires($f);
+	}
+}
+
 %B::Walker::Ops = (
 	'require'	=> \&grok_require,
 	'dofile'	=> \&grok_require,
@@ -264,6 +286,7 @@
 	'binmode'	=> \&grok_perlio,
 	'dbmopen'	=> sub { Requires("AnyDBM_File.pm") },
 	'leavetry'	=> sub { $B::Walker::BlockData{Eval} = $B::Walker::Level },
+	'gv'		=> \&grok_gv,
 );
 
 sub compile {

Modified: trunk/libb-perlreq-perl/rpm-build-perl.spec
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-perlreq-perl/rpm-build-perl.spec?rev=56755&op=diff
==============================================================================
--- trunk/libb-perlreq-perl/rpm-build-perl.spec (original)
+++ trunk/libb-perlreq-perl/rpm-build-perl.spec Sat Apr 24 10:49:28 2010
@@ -1,5 +1,5 @@
 Name: rpm-build-perl
-Version: 0.71
+Version: 0.72
 Release: alt1
 
 Summary: RPM helper scripts to calculate Perl dependencies
@@ -54,6 +54,9 @@
 %config /etc/rpm/macros.d/perl5.env
 
 %changelog
+* Tue Apr 20 2010 Alexey Tourbin <at at altlinux.ru> 0.72-alt1
+- B/PerlReq.pm: implemented support for Moose::with()
+
 * Sun Sep 27 2009 Alexey Tourbin <at at altlinux.ru> 0.71-alt1
 - PerlReq/Utils.pm: fixed RPM_PERL_LIB_PATH for whitespaces (ALT#21701)
 

Modified: trunk/libb-perlreq-perl/t/02-perlreq.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libb-perlreq-perl/t/02-perlreq.t?rev=56755&op=diff
==============================================================================
--- trunk/libb-perlreq-perl/t/02-perlreq.t (original)
+++ trunk/libb-perlreq-perl/t/02-perlreq.t Sat Apr 24 10:49:28 2010
@@ -36,7 +36,6 @@
 # Valid for perl-5.8.0 - perl-5.8.9.
 Requires "AutoLoader.pm"	=> "perl-base >= 1:5.6.1";
 Requires "Exporter.pm"		=> "perl(Exporter/Heavy.pm) perl-base >= 1:5.6.0";
-Requires "File/Basename.pm" 	=> "perl(re.pm) perl(warnings.pm) perl-base >= 1:5.6.0";
 Requires "IO/File.pm"		=> "perl(File/Spec.pm) perl(IO/Seekable.pm) perl(SelectSaver.pm) perl(Symbol.pm) perl-base >= 1:5.6.1";
 Requires "File/Glob.pm"		=> "perl(Text/ParseWords.pm) perl(XSLoader.pm)";
 Requires "Socket.pm"		=> "perl(warnings/register.pm) perl(XSLoader.pm)";




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