Source: cython
Version: 0.29.21-3
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: cross-satisfiability

cython cannot be cross built, because its build dependencies are not
satisfiable. Instead of looking into such a difficult problem, I looked
for easily droppable dependencies and found two. The documentation is
shipped in an arch:all package and the build nicely degrades when sphinx
is absent. Therefore python3-sphinx can be moved to Build-Depends-Indep.
Similarly, not running the tests means that gdb goes unused, which in
turn means that it can be annotated <!nocheck>. Please consider applying
the attached patch.

Helmut
diff --minimal -Nru cython-0.29.21/debian/changelog 
cython-0.29.21/debian/changelog
--- cython-0.29.21/debian/changelog     2020-10-18 16:30:27.000000000 +0200
+++ cython-0.29.21/debian/changelog     2021-01-31 14:30:04.000000000 +0100
@@ -1,3 +1,12 @@
+cython (0.29.21-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + Demote python3-sphinx to Build-Depends-Indep.
+    + Annotate gdb dependency <!nocheck>.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 31 Jan 2021 14:30:04 +0100
+
 cython (0.29.21-3) unstable; urgency=medium
 
   * Team upload
diff --minimal -Nru cython-0.29.21/debian/control cython-0.29.21/debian/control
--- cython-0.29.21/debian/control       2020-10-18 16:29:42.000000000 +0200
+++ cython-0.29.21/debian/control       2021-01-31 14:30:01.000000000 +0100
@@ -7,11 +7,11 @@
                dh-python,
                dpkg-dev (>= 1.16.1~),
                help2man (>= 1.37.1~),
-               python3-sphinx,
                python3-all-dev,
                python3-all-dbg,
                python3-numpy (>= 1:1.12.1-3.1) <!nocheck>,
-               gdb,
+               gdb <!nocheck>,
+Build-Depends-Indep: python3-sphinx,
 Standards-Version: 4.5.0
 Homepage: http://cython.org/
 Vcs-Git: https://salsa.debian.org/python-team/packages/cython.git

Reply via email to