[SCM] libtrycatch-perl Debian packaging branch, master, updated. debian/1.003000-1-23-g74e047d
Jonas Smedegaard
dr at jones.dk
Fri Apr 12 23:17:52 UTC 2013
The following commit has been merged in the master branch:
commit 502b122839de99eee45a20b7e188fdce8e154f0b
Author: Jonas Smedegaard <dr at jones.dk>
Date: Sat Apr 13 00:51:46 2013 +0200
Tidy rules file.
diff --git a/debian/rules b/debian/rules
index 616d287..e955ad3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
-# Copyright 2011, Jonas Smedegaard <dr at jones.dk>
+# Copyright © 2011 Jonas Smedegaard <dr at jones.dk>
# Description: Main Debian packaging script for TryCatch
#
# This program is free software; you can redistribute it and/or modify
@@ -26,17 +26,21 @@ DEB_UPSTREAM_PACKAGE = TryCatch
DEB_UPSTREAM_URL = http://search.cpan.org/CPAN/authors/id/A/AS/ASH
DEB_UPSTREAM_TARBALL_MD5 = 37dbff1d9ab3b09d2a41b706f7716957
-# Needed both by upstream build process and at runtime
-common-depends = libparse-method-signatures-perl, libb-hooks-endofscope-perl, libdevel-declare-perl
-common-depends += , libmoose-perl, libmoosex-types-perl, libscope-upper-perl, libvariable-magic-perl
-common-depends += , libsub-exporter-perl, libb-hooks-op-check-perl, libb-hooks-op-ppaddr-perl (>= 0.03)
+pkg = $(DEB_SOURCE_PACKAGE)
-CDBS_BUILD_DEPENDS += , $(common-depends)
-CDBS_DEPENDS_ALL = $(common-depends)
+# Needed by upstream build process and (always) at runtime
+deps-perl = parse-method-signatures b-hooks-endofscope devel-declare
+deps-perl += moose moosex-types scope-upper variable-magic
+deps-perl += sub-exporter b-hooks-op-check
+deps = $(patsubst %,$(comma) lib%-perl,$(deps-perl))
+deps +=, libb-hooks-op-ppaddr-perl (>= 0.03)
-# Needed by upstream tests
-CDBS_BUILD_DEPENDS += , libtest-exception-perl
+# Needed by upstream testsuite
+deps-test = libtest-exception-perl
+
+CDBS_BUILD_DEPENDS +=, $(deps), $(deps-test)
+CDBS_DEPENDS_$(pkg) = $(deps)
# Remove bogusly installed benchmarking(?) files
-common-binary-post-install-arch::
+binary-post-install/$(pkg)::
rm -f $(DEB_DESTDIR)/usr/lib/perl5/bench*
--
libtrycatch-perl Debian packaging
More information about the Pkg-perl-cvs-commits
mailing list