[dh-make-perl] 02/09: packages build-depending on Module::Build::Tiny get debhelper 9.20130630

Damyan Ivanov dmn at alioth.debian.org
Thu Aug 8 21:22:21 UTC 2013


This is an automated email from the git hooks/post-receive script.

dmn pushed a commit to branch master
in repository dh-make-perl.

commit 66b9a7b04ce2cf6bfad4ea15c8229ac8b8cb1aa5
Author: Damyan Ivanov <dmn at debian.org>
Date:   Thu Aug 8 22:21:52 2013 +0200

    packages build-depending on Module::Build::Tiny get debhelper 9.20130630
---
 TODO                                               |    2 --
 lib/DhMakePerl/Command/Packaging.pm                |    8 ++++++++
 t/dists/Strange-2.1/MYMETA.yml                     |   21 ++++++++++++++++++++
 t/dists/Strange-2.1/Makefile.PL                    |    3 +++
 .../control                                        |    3 ++-
 .../wanted-debian--refresh-email/control           |    3 ++-
 t/dists/Strange-2.1/wanted-debian--refresh/control |    3 ++-
 t/dists/Strange-2.1/wanted-debian/control          |    3 ++-
 8 files changed, 40 insertions(+), 6 deletions(-)

diff --git a/TODO b/TODO
index d3f92f2..f599df8 100644
--- a/TODO
+++ b/TODO
@@ -30,8 +30,6 @@
   directory has stuff lying around from a failed run. ~periapt
 * Add a switch for "app" (foo-bar) vs. "lib" (libfoo-bar-perl) packages?
 * debhelper:
-  (4) packages build-depending on libmodule-build-tiny-perl need debhelper
-      >= 9.20130630
   (5) there's still quite some special casing of debhelper versions 7.*
       in lib/DhMakePerl/Command/Packaging.pm (code + POD), like
       Module::AutoInstall, dh --with foo, etc.
diff --git a/lib/DhMakePerl/Command/Packaging.pm b/lib/DhMakePerl/Command/Packaging.pm
index ae17b09..75b7975 100644
--- a/lib/DhMakePerl/Command/Packaging.pm
+++ b/lib/DhMakePerl/Command/Packaging.pm
@@ -1412,6 +1412,11 @@ The following special cases are detected:
 If L<Module::AutoInstall> is discovered in L<inc/>, debhelper dependency is
 raised to 7.2.13.
 
+=item Module::Build::Tiny
+
+if L<Module::Build::Tiny> is present in the build-dependencies, debhelper
+dependency is raised to 9.20130630.
+
 =item dh --with=quilt
 
 C<dh --with=quilt> needs debhelper 7.0.8 and quilt 0.46-7.
@@ -1478,6 +1483,9 @@ sub discover_utility_deps {
     $self->explained_dependency( 'Module::AutoInstall', $deps,
         'debhelper (>= 7.2.13)' )
         if -e catfile( $self->main_dir, qw( inc Module AutoInstall.pm ) );
+    $self->explained_dependency( 'Module::Build::Tiny', $deps,
+        'debhelper (>= 9.20130630)' )
+        if $deps->has('libmodule-build-tiny-perl');
 
     for ( @{ $self->rules->lines } ) {
         $self->explained_dependency( 'dh --with', $deps,
diff --git a/t/dists/Strange-2.1/MYMETA.yml b/t/dists/Strange-2.1/MYMETA.yml
new file mode 100644
index 0000000..80881db
--- /dev/null
+++ b/t/dists/Strange-2.1/MYMETA.yml
@@ -0,0 +1,21 @@
+---
+abstract: ~
+author: []
+build_requires:
+  Module::Build::Tiny: 0
+configure_requires:
+  ExtUtils::MakeMaker: 0
+distribution_type: module
+dynamic_config: 0
+generated_by: 'ExtUtils::MakeMaker version 6.57_05'
+license: unknown
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4
+name: Strange
+no_index:
+  directory:
+    - t
+    - inc
+requires: {}
+version: 2.1
diff --git a/t/dists/Strange-2.1/Makefile.PL b/t/dists/Strange-2.1/Makefile.PL
index 25708d1..763e27b 100644
--- a/t/dists/Strange-2.1/Makefile.PL
+++ b/t/dists/Strange-2.1/Makefile.PL
@@ -7,4 +7,7 @@ WriteMakefile(
     'LIBS'	=> [''],   # e.g., '-lm' 
     'DEFINE'	=> '',     # e.g., '-DHAVE_SOMETHING' 
     'INC'	=> '',     # e.g., '-I/usr/include/other' 
+    'BUILD_REQUIRES'  => {
+        'Module::Build::Tiny' => 0,
+    },
 );
diff --git a/t/dists/Strange-2.1/wanted-debian--refresh--source-format=3.0_quilt/control b/t/dists/Strange-2.1/wanted-debian--refresh--source-format=3.0_quilt/control
index 595cab4..7951a33 100644
--- a/t/dists/Strange-2.1/wanted-debian--refresh--source-format=3.0_quilt/control
+++ b/t/dists/Strange-2.1/wanted-debian--refresh--source-format=3.0_quilt/control
@@ -2,7 +2,8 @@ Source: libstrange-perl
 Section: perl
 Priority: optional
 Maintainer: Joe Maintainer <joemaint at test.local>
-Build-Depends: debhelper (>= 9.20120312),
+Build-Depends: debhelper (>= 9.20130630),
+ libmodule-build-tiny-perl,
  perl
 Standards-Version: 3.9.4
 Homepage: https://metacpan.org/release/Strange/
diff --git a/t/dists/Strange-2.1/wanted-debian--refresh-email/control b/t/dists/Strange-2.1/wanted-debian--refresh-email/control
index b148cbe..4c3b261 100644
--- a/t/dists/Strange-2.1/wanted-debian--refresh-email/control
+++ b/t/dists/Strange-2.1/wanted-debian--refresh-email/control
@@ -2,7 +2,8 @@ Source: libstrange-perl
 Section: perl
 Priority: optional
 Maintainer: Florian Geekwurt <florian at geekwurt.org>
-Build-Depends: debhelper (>= 9.20120312),
+Build-Depends: debhelper (>= 9.20130630),
+ libmodule-build-tiny-perl,
  perl
 Standards-Version: 3.9.4
 Homepage: https://metacpan.org/release/Strange/
diff --git a/t/dists/Strange-2.1/wanted-debian--refresh/control b/t/dists/Strange-2.1/wanted-debian--refresh/control
index 595cab4..7951a33 100644
--- a/t/dists/Strange-2.1/wanted-debian--refresh/control
+++ b/t/dists/Strange-2.1/wanted-debian--refresh/control
@@ -2,7 +2,8 @@ Source: libstrange-perl
 Section: perl
 Priority: optional
 Maintainer: Joe Maintainer <joemaint at test.local>
-Build-Depends: debhelper (>= 9.20120312),
+Build-Depends: debhelper (>= 9.20130630),
+ libmodule-build-tiny-perl,
  perl
 Standards-Version: 3.9.4
 Homepage: https://metacpan.org/release/Strange/
diff --git a/t/dists/Strange-2.1/wanted-debian/control b/t/dists/Strange-2.1/wanted-debian/control
index 595cab4..7951a33 100644
--- a/t/dists/Strange-2.1/wanted-debian/control
+++ b/t/dists/Strange-2.1/wanted-debian/control
@@ -2,7 +2,8 @@ Source: libstrange-perl
 Section: perl
 Priority: optional
 Maintainer: Joe Maintainer <joemaint at test.local>
-Build-Depends: debhelper (>= 9.20120312),
+Build-Depends: debhelper (>= 9.20130630),
+ libmodule-build-tiny-perl,
  perl
 Standards-Version: 3.9.4
 Homepage: https://metacpan.org/release/Strange/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/dh-make-perl.git



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