[libpoe-component-server-simplehttp-perl] 07/11: Rewrite makefile.pl-defaults-yes.patch.

gregor herrmann gregoa at debian.org
Sat Dec 30 21:31:25 UTC 2017


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

gregoa pushed a commit to branch master
in repository libpoe-component-server-simplehttp-perl.

commit 9f9f42f823e79a0f34ec4df610b4c7fe85aefbe8
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Dec 30 22:25:16 2017 +0100

    Rewrite makefile.pl-defaults-yes.patch.
---
 debian/patches/makefile.pl-defaults-yes.patch | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

diff --git a/debian/patches/makefile.pl-defaults-yes.patch b/debian/patches/makefile.pl-defaults-yes.patch
index f948790..fe94821 100644
--- a/debian/patches/makefile.pl-defaults-yes.patch
+++ b/debian/patches/makefile.pl-defaults-yes.patch
@@ -2,21 +2,18 @@ Description: change default in Makefile.PL prompts to yes
 Origin: vendor
 Forwarded: not-needed
 Author: gregor herrmann <gregoa at debian.org>
-Last-Update: 2016-08-18
+Last-Update: 2017-12-30
 
 --- a/Makefile.PL
 +++ b/Makefile.PL
-@@ -27,11 +27,11 @@
- build_requires	 'POE::Filter::HTTP::Parser'	=> 1.06;
- build_requires	 'Test::POE::Client::TCP'	=> 0.10;
+@@ -65,8 +65,8 @@
+ );
  
--my $value = prompt( 'Do you want to test streaming ( requires POE::Component::Client::HTTP ) [y/N]?', 'N' );
-+my $value = prompt( 'Do you want to test streaming ( requires POE::Component::Client::HTTP ) [y/N]?', 'Y' );
- build_requires   'POE::Component::Client::HTTP' => 0.82 if $value =~ /^Y$/i;
+ # inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.032
+-test_requires('POE::Component::Client::HTTP', '0.82') if prompt_default_no('Do you want to test streaming ( requires POE::Component::Client::HTTP )');
+-requires('POE::Component::SSLify', '0.04') if prompt_default_no('Do you want SSL support ( requires POE::Component::SSLify )');
++test_requires('POE::Component::Client::HTTP', '0.82'); # if prompt_default_no('Do you want to test streaming ( requires POE::Component::Client::HTTP )');
++requires('POE::Component::SSLify', '0.04'); # if prompt_default_no('Do you want SSL support ( requires POE::Component::SSLify )');
  
- # Ask users if they want SSL support
--$value = prompt( 'Do you want SSL support ( requires POE::Component::SSLify ) [y/N]?', 'N' );
-+$value = prompt( 'Do you want SSL support ( requires POE::Component::SSLify ) [y/N]?', 'Y' );
  
- # Add to the prereqs PoCo::SSLify?
- requires 'POE::Component::SSLify' => '0.04' if $value =~ /^Y$/i;
+ unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpoe-component-server-simplehttp-perl.git



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