[SCM] libhtml-treebuilder-libxml-perl Debian packaging branch, master, updated. debian/0.17-1-73-gccf58dd

Jonas Smedegaard dr at jones.dk
Wed Jul 17 16:33:47 UTC 2013


The following commit has been merged in the master branch:
commit e2c108b811d043d99d059f1fe1e4bfde054b6576
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Wed Jul 17 18:22:44 2013 +0200

    Update package relations: Build-depend on libweb-scraper-perl: Optionally used by testsuite. Support dropping this 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 19bc18d..8ed8ba8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,12 +30,18 @@ DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/HTML
 bdeps = perl (>= 5.13.11) | libmodule-build-perl (>= 0.380000)
 
 # Needed by upstream build and (always) at runtime
-#  * LWP::UserAgent, URI and Web::Scraper used only in skipped benchmark tool
+#  * LWP::UserAgent and URI used only in skipped benchmark tool
+#  * Web::Scraper used (at runtime) only in skipped benchmark tool
 deps = libhtml-treebuilder-xpath-perl (>= 0.14), libxml-libxml-perl
 
 # Needed by upstream testsuite
 deps-test = perl (>= 5.14) | libtest-simple-perl (>= 0.98)
 deps-test +=, libtest-exception-perl
 
+# Needed by upstream testsuite, except for profile builds.
+# See README.source for details.
+xdeps-recommend = libweb-scraper-perl
+deps-test += $(if $(DEB_BUILD_PROFILE),,$(comma) $(xdeps-recommend))
+
 CDBS_BUILD_DEPENDS +=, $(bdeps), $(deps), $(deps-test)
 CDBS_DEPENDS_$(pkg) = $(deps)

-- 
libhtml-treebuilder-libxml-perl Debian packaging



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