[libweb-machine-perl] 02/03: Update package relations: Build-depend on libjson-perl libjson-xs-perl: Needed for optional parts of testsuite.

Jonas Smedegaard dr at jones.dk
Thu Mar 10 15:40:24 UTC 2016


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

js pushed a commit to branch master
in repository libweb-machine-perl.

commit ffcbab77c6870f472dade215f9c262633cce6c2b
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Thu Mar 10 16:38:04 2016 +0100

    Update package relations: Build-depend on libjson-perl libjson-xs-perl: Needed for optional parts of testsuite.
---
 debian/rules | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 7fd3d46..699b92c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,11 +35,12 @@ perl-deps = http-headers-actionpack http-message hash-multivalue
 perl-deps += io-handle-util module-runtime plack sub-exporter try-tiny
 deps = $(patsubst %,$(comma) lib%-perl,$(perl-deps))
 
-# Needed by upstream testsuite
+# Needed (always/optionally) by upstream testsuite
 perl-bdeps-test = net-http test-failwarnings test-fatal
 bdeps-test = $(patsubst %,$(comma) lib%-perl,$(perl-bdeps-test))
+bdeps-test-opt = libjson-perl, libjson-xs-perl
 
-CDBS_BUILD_DEPENDS +=, $(deps), $(bdeps-test)
+CDBS_BUILD_DEPENDS +=, $(deps), $(bdeps-test), $(bdeps-test-opt)
 CDBS_DEPENDS_$(pkg) = $(deps)
 
 DEB_INSTALL_EXAMPLES_$(pkg) += examples/*

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



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