[Debian-med-packaging] Bug#983840: dipy: move documentation dependencies to Build-Depends-Indep
Helmut Grohne
helmut at subdivi.de
Tue Mar 2 07:32:21 GMT 2021
Source: dipy
Version: 1.3.0-2
Tags: patch
User: debian-cross at lists.debian.org
Usertags: cross-satisfiability
Thank you for applying my last Build-Depends reduction. Unfortunately,
there are more unsatisfiable cross Build-Depends left. I've found
another opportunity for reduction though: Skipping the documentation
build during arch-only. Once doing so, we can demode sphinx and numpydoc
to Build-Depends-Indep. Doing so requires changing debian/rules though.
Please consider applying the attached patch as well.
Helmut
-------------- next part --------------
diff --minimal -Nru dipy-1.3.0/debian/changelog dipy-1.3.0/debian/changelog
--- dipy-1.3.0/debian/changelog 2021-01-20 11:52:53.000000000 +0100
+++ dipy-1.3.0/debian/changelog 2021-03-01 20:50:15.000000000 +0100
@@ -1,3 +1,10 @@
+dipy (1.3.0-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Demote documentation dependecies to B-D-I. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Mon, 01 Mar 2021 20:50:15 +0100
+
dipy (1.3.0-2) unstable; urgency=medium
* Team upload.
diff --minimal -Nru dipy-1.3.0/debian/control dipy-1.3.0/debian/control
--- dipy-1.3.0/debian/control 2021-01-20 11:52:53.000000000 +0100
+++ dipy-1.3.0/debian/control 2021-03-01 20:50:12.000000000 +0100
@@ -14,8 +14,6 @@
python3-h5py,
python3-scipy,
python3-matplotlib <!nocheck>,
- python3-sphinx,
- python3-numpydoc,
python3-nose <!nocheck>,
python3-nibabel (>= 3.0.0),
python3-pytest <!nocheck>,
@@ -25,6 +23,8 @@
python3-tqdm,
xvfb <!nocheck>,
xauth <!nocheck>
+Build-Depends-Indep: python3-sphinx,
+ python3-numpydoc,
Standards-Version: 4.5.1
Vcs-Browser: https://salsa.debian.org/med-team/dipy
Vcs-Git: https://salsa.debian.org/med-team/dipy.git
diff --minimal -Nru dipy-1.3.0/debian/rules dipy-1.3.0/debian/rules
--- dipy-1.3.0/debian/rules 2021-01-20 11:52:53.000000000 +0100
+++ dipy-1.3.0/debian/rules 2021-03-01 20:49:38.000000000 +0100
@@ -44,7 +44,7 @@
: # Prune duplicate LICENSE file
find debian/ -name LICENSE -delete
: # Only now lets build docs
-ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
+ifeq (python-dipy-doc_,$(filter python-dipy-doc,$(shell dh_listpackages))_$(filter nodoc,$(DEB_BUILD_OPTIONS)))
export PYTHONPATH=$(shell pybuild --print build_dir --interpreter python3) \
MPLCONFIGDIR=$(CURDIR)/build HOME=$(CURDIR)/build; \
cd doc; $(MAKE) html-after-examples SPHINXOPTS="$(SPHINXOPTS)"
More information about the Debian-med-packaging
mailing list