[Debian-med-packaging] Bug#980336: dipy: reduce Build-Depends

Helmut Grohne helmut at subdivi.de
Sun Jan 17 07:34:40 GMT 2021


Source: dipy
Version: 1.2.0-2
Tags: patch
User: debian-cross at lists.debian.org
Usertags: cross-satisfiability

dipy cannot be cross built, because it has unsatisfiable cross
Build-Depends. Rather than look into this difficult problem, I looked
for easily droppable dependencies. As it turns out, a regular build of
dipy exactly reproduces the binary artifacts resulting from a nocheck
build where the following dependencies have been turned into
Build-Conflicts:
 * python3-matplotlib
 * python3-nose
 * xvfb
 * xauth

These can likely all be tagged <!nocheck> in addition to the ones
already thus tagged (thanks!). The xvfb and xauth ones are quite
evidently conditionalized in debian/rules already. nose falls into the
testing category as well. I'm less sure why matplotlib does not affect a
build. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru dipy-1.2.0/debian/changelog dipy-1.2.0/debian/changelog
--- dipy-1.2.0/debian/changelog	2020-11-02 08:57:11.000000000 +0100
+++ dipy-1.2.0/debian/changelog	2021-01-17 08:30:55.000000000 +0100
@@ -1,3 +1,10 @@
+dipy (1.2.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Tag more test dependencies <!nocheck>. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sun, 17 Jan 2021 08:30:55 +0100
+
 dipy (1.2.0-2) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru dipy-1.2.0/debian/control dipy-1.2.0/debian/control
--- dipy-1.2.0/debian/control	2020-11-02 08:57:11.000000000 +0100
+++ dipy-1.2.0/debian/control	2021-01-17 08:30:54.000000000 +0100
@@ -13,17 +13,17 @@
                python3-numpy,
                python3-h5py,
                python3-scipy,
-               python3-matplotlib,
+               python3-matplotlib <!nocheck>,
                python3-sphinx,
                python3-numpydoc,
-               python3-nose,
+               python3-nose <!nocheck>,
                python3-nibabel (>= 3.0.0),
                python3-pytest <!nocheck>,
                python3-pandas <!nocheck>,
                python3-tables <!nocheck>,
                python3-sklearn <!nocheck>,
-               xvfb,
-               xauth
+               xvfb <!nocheck>,
+               xauth <!nocheck>,
 Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/dipy
 Vcs-Git: https://salsa.debian.org/med-team/dipy.git


More information about the Debian-med-packaging mailing list