[Debichem-devel] Bug#1078912: gpaw: annotate test dependencies <!nocheck>

Helmut Grohne helmut at subdivi.de
Sat Aug 17 11:28:47 BST 2024


Source: gpaw
Version: 24.1.0-1
Tags: patch
User: debian-cross at lists.debian.org
Usertags: cross-satisfiability

gpaw cannot be cross built from source as some of its dependencies such
as python3-pytest are not cross-satisfiable. Since most cross builds are
performed with the nocheck build profile, annotating test dependencies
is a simple method for improving the situation. I identified those
dependencies that are eligible for being annotated and am attaching a
patch about it. I verified that a nocheck build produces a bit-identical
result to a full build. Please consider applying the patch. Annotating
dependencies <!nocheck> also improves the operation of the testing
autoremover and reduces the key package set.

Helmut
-------------- next part --------------
diff --minimal -Nru gpaw-24.1.0/debian/changelog gpaw-24.1.0/debian/changelog
--- gpaw-24.1.0/debian/changelog	2024-03-02 18:15:21.000000000 +0100
+++ gpaw-24.1.0/debian/changelog	2024-08-17 11:43:37.000000000 +0200
@@ -1,3 +1,10 @@
+gpaw (24.1.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Annotate test dependencies <!nocheck> (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sat, 17 Aug 2024 11:43:37 +0200
+
 gpaw (24.1.0-1) unstable; urgency=medium
 
   * New upstream release
diff --minimal -Nru gpaw-24.1.0/debian/control gpaw-24.1.0/debian/control
--- gpaw-24.1.0/debian/control	2024-03-02 16:07:13.000000000 +0100
+++ gpaw-24.1.0/debian/control	2024-08-17 11:43:37.000000000 +0200
@@ -6,18 +6,18 @@
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
                dh-python,
-               gpaw-data,
-               libblas-dev,
+               gpaw-data <!nocheck>,
+               libblas-dev <!nocheck>,
                libelpa-dev (>= 2017.12.01),
                libfftw3-dev,
                libscalapack-mpi-dev (>= 2.0.2),
                libxc-dev,
                mpi-default-dev,
                python3-all-dev,
-               python3-ase (>= 3.22.1),
+               python3-ase (>= 3.22.1) <!nocheck>,
                python3-numpy,
-               python3-pytest,
-               python3-scipy,
+               python3-pytest <!nocheck>,
+               python3-scipy <!nocheck>,
                python3-setuptools
 Standards-Version: 4.6.2
 Rules-Requires-Root: no


More information about the Debichem-devel mailing list