[SCM] librdf-query-client-perl Debian packaging branch, master, updated. debian/0.110-1-19-ga544bcb

Jonas Smedegaard dr at jones.dk
Sat Jun 29 19:54:39 UTC 2013


The following commit has been merged in the master branch:
commit f2883ec73330711317de7bc1ed131141c05f445e
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sat Jun 29 21:13:05 2013 +0200

    Build-depend on libhttp-lrdd-perl (in addition to recommend): Optionally used by testsuite. Support dropping these build-dependencies for profile builds, and document how in README.source.

diff --git a/debian/README.source b/debian/README.source
index f88449e..5c5203c 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -1,3 +1,6 @@
+Packaging notes
+===============
+
 CDBS+git-buildpackage
 ---------------------
 
@@ -8,4 +11,15 @@ debian/control.in file can be completely ignored.
 More info here: http://wiki.debian.org/CDBS+git-buildpackage
 
 
- -- Jonas Smedegaard <dr at jones.dk>  Mon, 18 Feb 2013 12:55:37 +0100
+Circular build-dependencies
+---------------------
+
+This package is problematic to bootstrap, as some of the declared
+build-dependencies cause bootstrapping loops.
+
+For a bootstrappable (but potentially crippled) build, set environment
+variables DEB_BUILD_PROFILE and DEB_MAINTAINER_MODE, and clean before
+building.  See also <https://wiki.debian.org/DebianBootstrap>.
+
+
+ -- Jonas Smedegaard <dr at jones.dk>  Fri, 07 Jun 2013 23:02:51 +0200
diff --git a/debian/rules b/debian/rules
index 66e2c61..7e2ca42 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,13 +32,13 @@ DEB_UPSTREAM_TARBALL_MD5 = 0e1e5b6c8b85f5eed70d3905bc97e7ab
 deps = libauthority-shared-perl, libhttp-message-perl, librdf-trine-perl
 deps +=, libwww-perl, libnamespace-clean-perl (>= 0.20)
 
-# needed (often) at runtime
-# Must be recommandation only, to avoid loop between
-# HTTP::LRDD, RDF::Query::Client and RDF::TrineShortcuts
-recommends = libhttp-lrdd-perl
+# Needed by upstream testsuite and (often) at runtime, except for
+# profile builds. See README.source for details.
+xdeps-recommend = libhttp-lrdd-perl
+deps-test += $(if $(DEB_BUILD_PROFILE),,$(comma) $(xdeps-recommend))
 
-CDBS_BUILD_DEPENDS +=, $(deps)
+CDBS_BUILD_DEPENDS +=, $(deps), $(deps-test)
 CDBS_DEPENDS_$(pkg) = $(deps)
-CDBS_RECOMMENDS_$(pkg) = $(recommends)
+CDBS_RECOMMENDS_$(pkg) = $(xdeps-recommend)
 
 DEB_INSTALL_EXAMPLES_$(pkg) = examples/*

-- 
librdf-query-client-perl Debian packaging



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