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

borgbackup cannot be cross built from source, because its Build-Depends
are not satisfiable. Instead of looking into such a difficult problem, I
looked for easily droppable dependencies and noticed that the pytest
dependencies are only used for (surprise!) testing. As such, they can be
annotated <!nocheck>. A nocheck build with them dropped results in the
exact same binary artifacts as a regular build as borgbackup is normally
reproducible. Please consider applying the attached patch.

Helmut
diff --minimal -Nru borgbackup-1.1.15/debian/changelog 
borgbackup-1.1.15/debian/changelog
--- borgbackup-1.1.15/debian/changelog  2021-01-21 09:31:35.000000000 +0100
+++ borgbackup-1.1.15/debian/changelog  2021-02-14 13:42:09.000000000 +0100
@@ -1,3 +1,10 @@
+borgbackup (1.1.15-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Annotate test dependencies <!nocheck>. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 14 Feb 2021 13:42:09 +0100
+
 borgbackup (1.1.15-3) unstable; urgency=medium
 
   * Tighteen xxhash dependency to make sure a recent enough
diff --minimal -Nru borgbackup-1.1.15/debian/control 
borgbackup-1.1.15/debian/control
--- borgbackup-1.1.15/debian/control    2021-01-21 09:31:04.000000000 +0100
+++ borgbackup-1.1.15/debian/control    2021-02-14 13:42:08.000000000 +0100
@@ -20,8 +20,8 @@
                python3-guzzle-sphinx-theme,
                python3-llfuse (<< 2.0) [!hurd-any],
 #               python3-msgpack,
-               python3-pytest,
-               python3-pytest-cov,
+               python3-pytest <!nocheck>,
+               python3-pytest-cov <!nocheck>,
                python3-setuptools,
                python3-setuptools-scm (>= 1.7),
                python3-sphinx (>= 1.0.7),

Reply via email to