r65950 - in /trunk/dh-make-perl: TODO debian/changelog debian/control lib/Debian/Control/FromCPAN.pm
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sat Dec 18 15:34:51 UTC 2010
Author: gregoa
Date: Sat Dec 18 15:34:27 2010
New Revision: 65950
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=65950
Log:
Debian::Control::FromCPAN: also check test_requires and build_requires for
finding build dependencies; bump (build) dependency on
libmodule-depends-perl; closes: #601787.
Modified:
trunk/dh-make-perl/TODO
trunk/dh-make-perl/debian/changelog
trunk/dh-make-perl/debian/control
trunk/dh-make-perl/lib/Debian/Control/FromCPAN.pm
Modified: trunk/dh-make-perl/TODO
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/TODO?rev=65950&op=diff
==============================================================================
--- trunk/dh-make-perl/TODO (original)
+++ trunk/dh-make-perl/TODO Sat Dec 18 15:34:27 2010
@@ -23,3 +23,4 @@
wrt (not) changing versioning scheme.
* Add full support for debhelper compat version 8 (check if something is
missing to support).
+* Add a test case for finding (build) dependencies with META.yml.
Modified: trunk/dh-make-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/changelog?rev=65950&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/changelog (original)
+++ trunk/dh-make-perl/debian/changelog Sat Dec 18 15:34:27 2010
@@ -9,6 +9,11 @@
MIN_PERL_VERSION to determine the version of the package. Thanks to
Andrew Ruthven for reporting. (Closes: #596025)
* Update my email address.
+
+ [ gregor herrmann ]
+ * Debian::Control::FromCPAN: also check test_requires and build_requires for
+ finding build dependencies; bump (build) dependency on
+ libmodule-depends-perl; closes: #601787.
-- Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com> Wed, 08 Sep 2010 22:25:30 +0200
Modified: trunk/dh-make-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/control?rev=65950&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/control (original)
+++ trunk/dh-make-perl/debian/control Sat Dec 18 15:34:27 2010
@@ -14,7 +14,7 @@
libfile-touch-perl,
liblist-moreutils-perl,
perl (>= 5.10.1) | libmodule-corelist-perl (>= 2.14),
- libmodule-depends-perl,
+ libmodule-depends-perl (>= 0.15),
libparse-debcontrol-perl,
libparse-debianchangelog-perl,
libtest-compile-perl,
@@ -52,7 +52,7 @@
libemail-date-format-perl,
liblist-moreutils-perl,
perl (>= 5.10.1) | libmodule-corelist-perl (>= 2.14),
- libmodule-depends-perl,
+ libmodule-depends-perl (>= 0.15),
libparse-debcontrol-perl,
libparse-debianchangelog-perl,
libtie-ixhash-perl,
Modified: trunk/dh-make-perl/lib/Debian/Control/FromCPAN.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/Debian/Control/FromCPAN.pm?rev=65950&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/Debian/Control/FromCPAN.pm (original)
+++ trunk/dh-make-perl/lib/Debian/Control/FromCPAN.pm Sat Dec 18 15:34:27 2010
@@ -177,8 +177,14 @@
}
# build-time
- my ( $b_debs, $b_missing )
- = $self->find_debs_for_modules( $deps->{build_requires}, $apt_contents, $verbose );
+ my ( $b_debs, $b_missing ) = $self->find_debs_for_modules(
+ { %{ $deps->{build_requires} || {} },
+ %{ $deps->{test_requires} || {} },
+ %{ $deps->{configure_requires} || {} }
+ },
+ $apt_contents,
+ $verbose
+ );
if (@$b_debs) {
if ($verbose) {
More information about the Pkg-perl-cvs-commits
mailing list