[SCM] librdf-trine-perl Debian packaging branch, master, updated. debian/1.005-1-5-gcf41e25

Jonas Smedegaard dr at jones.dk
Sat Jun 8 10:14:14 UTC 2013


The following commit has been merged in the master branch:
commit a118bfd61a4bea465f5f453c0e0eb5327f7e3ba9
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sat Jun 8 12:00:10 2013 +0200

    Build-depend on librdf-query-perl and (in addition to recommend) on librdf-rdfa-parser-perl and librdf-trine-node-literal-xml-perl. 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 602b58b..b632d3f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,15 +45,20 @@ deps-recommend = librdf-perl
 # Needed by upstream testsuite
 deps-test = libtest-exception-perl, libtest-json-perl, libtrycatch-perl
 
+# Needed by upstream testsuite (and some also at runtime) except for
+# profile builds. See README.source for details.
+xdeps = librdf-query-perl
+perl-xdeps-recommend = rdf-rdfa-parser rdf-trine-node-literal-xml
+xdeps-recommend += $(patsubst %,$(comma) lib%-perl,$(perl-xdeps-recommend))
+deps-test += $(if $(DEB_BUILD_PROFILE),,$(comma) $(xdeps)$(comma) $(xdeps-recommend))
+
 # Needed (often/seldom) at runtime
-perl-recommends = rdf-rdfa-parser rdf-trine-node-literal-xml
-recommends = $(patsubst %,$(comma) lib%-perl,$(perl-recommends))
-recommends +=, libxml-libxml-perl (>= 1.70)
+recommends = libxml-libxml-perl (>= 1.70)
 suggests = libdbd-pg-perl, libdbd-mysql-perl, libredis-perl
 
 CDBS_BUILD_DEPENDS +=, $(deps), $(deps-test), $(deps-recommend)
 CDBS_DEPENDS_$(pkg) = $(deps)
-CDBS_RECOMMENDS_$(pkg) = $(deps-recommend), $(recommends)
+CDBS_RECOMMENDS_$(pkg) = $(deps-recommend), $(xdeps-recommend), $(recommends)
 CDBS_SUGGESTS_$(pkg) = $(suggests)
 
 # install binaries as sample files (and only as such)

-- 
librdf-trine-perl Debian packaging



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