[Debian-med-packaging] Bug#982965: bedops: reduce Build-Depends

Helmut Grohne helmut at subdivi.de
Wed Feb 17 13:01:42 GMT 2021


Source: bedops
Version: 2.4.39+dfsg-1
Tags: patch
User: debian-cross at lists.debian.org
Usertags: cross-satisfiability

bedops cannot be cross built from source, because it has unsatisfiable
dependencies. Instead of looking into such a difficult problem, I looked
into easily droppable dependencies and noticed that the documentation is
nicely split to an arch:all package. As such the relevant dependencies
can be demoted to Build-Depends-Indep. One important aspect is to
require the sphinx debhelper addon for indep and full builds only.
Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru bedops-2.4.39+dfsg/debian/changelog bedops-2.4.39+dfsg/debian/changelog
--- bedops-2.4.39+dfsg/debian/changelog	2020-04-27 15:58:12.000000000 +0200
+++ bedops-2.4.39+dfsg/debian/changelog	2021-02-17 13:20:39.000000000 +0100
@@ -1,3 +1,10 @@
+bedops (2.4.39+dfsg-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Demote documentation deps to B-D-I. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Wed, 17 Feb 2021 13:20:39 +0100
+
 bedops (2.4.39+dfsg-1) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru bedops-2.4.39+dfsg/debian/control bedops-2.4.39+dfsg/debian/control
--- bedops-2.4.39+dfsg/debian/control	2020-04-27 15:58:12.000000000 +0200
+++ bedops-2.4.39+dfsg/debian/control	2021-02-17 13:20:39.000000000 +0100
@@ -7,10 +7,11 @@
                help2man,
                libbz2-dev,
                libjansson-dev,
-               libjs-mathjax,
                python3-distutils,
-               python3-sphinx,
                zlib1g-dev
+Build-Depends-Indep: dh-sequence-sphinx,
+                     libjs-mathjax,
+                     python3-sphinx,
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/bedops
 Vcs-Git: https://salsa.debian.org/med-team/bedops.git
diff --minimal -Nru bedops-2.4.39+dfsg/debian/rules bedops-2.4.39+dfsg/debian/rules
--- bedops-2.4.39+dfsg/debian/rules	2020-04-27 15:57:44.000000000 +0200
+++ bedops-2.4.39+dfsg/debian/rules	2021-02-17 13:20:39.000000000 +0100
@@ -22,7 +22,7 @@
 docpkg := $(DEB_SOURCE)-doc
 
 %:
-	dh $@ --with sphinxdoc
+	dh $@
 
 override_dh_install-arch:
 	dh_install -a


More information about the Debian-med-packaging mailing list