Bug#1121864: cif2cell: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Dec 3 20:02:05 GMT 2025


Source: cif2cell
Version: 2.1.0+dfsg-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
cif2cell could not be built reproducibly.

This is because the testsuite did not clean up after itself completely,
and these changes ended up in the binary package, but, of course, only
if the tests were not skipped.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-12-03 11:43:19.895215868 -0800
--- b/debian/rules	2025-12-03 12:01:06.387614234 -0800
@@ -4,7 +4,7 @@
 
 export PYBUILD_NAME = cif2cell
 export PYBUILD_BEFORE_TEST = cp -r binaries cifs {build_dir}
-export PYBUILD_AFTER_TEST = rm {build_dir}/POSCAR {build_dir}/SiC.cell
+export PYBUILD_AFTER_TEST = rm -rf {build_dir}/POSCAR {build_dir}/SiC.cell {build_dir}/cifs {build_dir}/binaries
 
 %:
 	dh $@ --buildsystem pybuild --with python3


More information about the debian-science-maintainers mailing list