[SCM] libical-parser-sax-perl Debian packaging branch, master, updated. debian/1.09-2-16-g4ee364a
Jonas Smedegaard
dr at jones.dk
Fri Jun 28 09:10:19 UTC 2013
The following commit has been merged in the master branch:
commit 28a920caf05d30b28c6aef79d5c864f836525d86
Author: Jonas Smedegaard <dr at jones.dk>
Date: Fri Jun 28 10:42:25 2013 +0200
Tidy rules file: Tighten package-specific CDBS variables and targets, and wrap at 72 chars.
diff --git a/debian/rules b/debian/rules
index 69bfae2..81eefd0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,19 +21,23 @@ include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/class/perl-build.mk
include /usr/share/cdbs/1/rules/debhelper.mk
+pkg = $(DEB_SOURCE_PACKAGE)
+
DEB_UPSTREAM_PACKAGE = iCal-Parser-SAX
DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/iCal
DEB_UPSTREAM_TARBALL_MD5 = 4cd5339e3fa1c99e70a17d6b3748beb5
-# Needed both by upstream build process and (always/often) at runtime
-depends = libdatetime-perl, libio-string-perl, libxml-sax-perl, libxml-sax-writer-perl, libical-parser-perl
-recommends = libwww-perl
-CDBS_BUILD_DEPENDS += , $(depends), $(recommends), libtest-xml-perl
-CDBS_DEPENDS = $(depends)
-CDBS_RECOMMENDS = $(recommends)
+# Needed by upstream build process and (always/often) at runtime
+perl-deps = datetime io-string xml-sax xml-sax-writer ical-parser
+deps = $(patsubst %,$(comma) lib%-perl,$(perl-deps))
+deps-recommend = libwww-perl
+
+# Needed by upstream testsuite
+deps-test = libtest-xml-perl
-# Needed by upstream refression tests
-CDBS_BUILD_DEPENDS += , libtest-xml-perl
+CDBS_BUILD_DEPENDS += , $(deps), $(deps-recommend), $(deps-test)
+CDBS_DEPENDS_$(pkg) = $(deps)
+CDBS_RECOMMENDS = $(deps-recommend)
# remove the file that triggers network tests
configure/libical-parser-sax-perl::
--
libical-parser-sax-perl Debian packaging
More information about the Pkg-perl-cvs-commits
mailing list