[Debian-med-packaging] Bug#983700: sga: reduce Build-Depends

Helmut Grohne helmut at subdivi.de
Sun Feb 28 15:59:55 GMT 2021


Source: sga
Version: 0.10.15-5
Tags: patch
User: debian-cross at lists.debian.org
Usertags: cross-satisfiability

sga cannot satisfy its cross Build-Depends. Instead of looking into such
a difficult problem, I looked into easily droppable dependencies. It
turns out that it actually doesn't need the gawk implementation of awk.
Since awk is essential, we can drop the dependency. The Build-Depends
also include (nicely commented) runtime dependencies. I think it would
be reasonable to annotate them <!nocheck>. It does build without them.
Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru sga-0.10.15/debian/changelog sga-0.10.15/debian/changelog
--- sga-0.10.15/debian/changelog	2019-12-22 19:05:15.000000000 +0100
+++ sga-0.10.15/debian/changelog	2021-02-28 10:48:54.000000000 +0100
@@ -1,3 +1,12 @@
+sga (0.10.15-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + Drop gawk as it builds with any awk, which is essential.
+    + Annotate runtime dependencies <!nocheck>.
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sun, 28 Feb 2021 10:48:54 +0100
+
 sga (0.10.15-5) unstable; urgency=medium
 
   * Use 2to3 to port to Python3
diff --minimal -Nru sga-0.10.15/debian/control sga-0.10.15/debian/control
--- sga-0.10.15/debian/control	2019-12-22 19:05:15.000000000 +0100
+++ sga-0.10.15/debian/control	2021-02-28 10:48:51.000000000 +0100
@@ -9,14 +9,13 @@
                libsparsehash-dev,
                zlib1g-dev | libz-dev,
                libbamtools-dev,
-               gawk,
                help2man,
 # Run-Time Depends
 # (to prevent building on architectures where it won't be installable)
-               samtools,
-               python3,
-               python3-ruffus,
-               python3-pysam
+               samtools <!nocheck>,
+               python3 <!nocheck>,
+               python3-ruffus <!nocheck>,
+               python3-pysam <!nocheck>
 Standards-Version: 4.4.1
 Vcs-Browser: https://salsa.debian.org/med-team/sga
 Vcs-Git: https://salsa.debian.org/med-team/sga.git


More information about the Debian-med-packaging mailing list