[libbread-board-perl] 04/10: Build-depend on liblog-dispatch-perl: Needed (optionally) for testsuite.
Jonas Smedegaard
dr at jones.dk
Wed May 21 07:03:59 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository libbread-board-perl.
commit 27d86440b1b0f99de9a3080be943317a24e56702
Author: Jonas Smedegaard <dr at jones.dk>
Date: Wed May 21 08:26:12 2014 +0200
Build-depend on liblog-dispatch-perl: Needed (optionally) for testsuite.
---
debian/rules | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/debian/rules b/debian/rules
index 89c4dfc..a57c8af 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,18 +21,19 @@ include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/class/perl-makemaker.mk
include /usr/share/cdbs/1/rules/debhelper.mk
+pkg = $(DEB_SOURCE_PACKAGE)
+
DEB_UPSTREAM_PACKAGE = Bread-Board
DEB_UPSTREAM_URL = http://www.cpan.org/authors/id/D/DO/DOY
-pkg = $(DEB_SOURCE_PACKAGE)
-
-# Needed by upstream build process and (always) at runtime
+# Needed by upstream build and (always) at runtime
perl-deps = moose moosex-clone moosex-params-validate try-tiny
deps = $(patsubst %,$(comma) lib%-perl,$(perl-deps))
-# Needed by upstream testsuite
+# Needed (always/optionally) by upstream testsuite
perl-deps-test = test-fatal moose test-requires
deps-test = $(patsubst %,$(comma) lib%-perl,$(perl-deps-test))
+deps-test-opt = liblog-dispatch-perl
-CDBS_BUILD_DEPENDS +=, $(deps), $(deps-test)
+CDBS_BUILD_DEPENDS +=, $(deps), $(deps-test), $(deps-test-opt)
CDBS_DEPENDS_$(pkg) = $(deps)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libbread-board-perl.git
More information about the Pkg-perl-cvs-commits
mailing list