[med-svn] [Git][med-team/sourmash][master] d/rules: clean up better to improve reproducibility
Michael R. Crusoe (@crusoe)
gitlab at salsa.debian.org
Wed May 27 15:05:09 BST 2026
Michael R. Crusoe pushed to branch master at Debian Med / sourmash
Commits:
17bead69 by Michael R. Crusoe at 2026-05-27T16:04:32+02:00
d/rules: clean up better to improve reproducibility
- - - - -
2 changed files:
- debian/changelog
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+sourmash (4.9.4-7) unstable; urgency=medium
+
+ * d/rules: clean up better to improve reproducibility.
+
+ -- Michael R. Crusoe <crusoe at debian.org> Wed, 27 May 2026 16:03:41 +0200
+
sourmash (4.9.4-6) unstable; urgency=medium
* No-change rebuild to improve reproducibility.
=====================================
debian/rules
=====================================
@@ -15,11 +15,13 @@ export CARGO_HOME=$(CURDIR)/debian/cargo_home
export CARGO_REGISTRY=$(CURDIR)/debian/cargo_registry
export DEB_CARGO_CRATE=$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM)
export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow
+export PYBUILD_BEFORE_TEST=ulimit -n 65536
export PYBUILD_TEST_ARGS=-k 'not (test_sqlite_lca_db_create_readonly or test_compare_no_such_file or test_metagenome_kreport_out_fail or test_do_sourmash_index_multiscaled_rescale_fail)'
# test_sqlite_lca_db_create_readonly, fails when building as root
# test_compare_no_such_file. due to the ValueError being swallowed (?)
# test_metagenome_kreport_out_fail, same as test_compare_no_such_file
# test_do_sourmash_index_multiscaled_rescale_fail, same as above
+export PYBUILD_AFTER_TEST=rm -Rf {build_dir}/.hypothesis {dir}/fontlist*json
%:
dh $@ --buildsystem=pybuild
@@ -31,6 +33,7 @@ execute_after_dh_auto_clean:
rm -rf debian/cargo_registry
execute_before_dh_auto_configure:
+ cp Cargo.lock Cargo.lock.orig
$(CARGO) prepare-debian debian/cargo_registry --link-from-system
rm -f Cargo.lock
# needed because we patch Cargo.toml
@@ -39,11 +42,7 @@ execute_before_dh_auto_configure:
execute_after_dh_auto_install:
/usr/share/cargo/bin/dh-cargo-built-using sourmash
find debian -name .gitignore -delete
+ mv Cargo.lock.orig Cargo.lock
override_dh_python3:
dh_python3 --no-ext-rename
-
-override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- ulimit -n 65536; dh_auto_test
-endif
View it on GitLab: https://salsa.debian.org/med-team/sourmash/-/commit/17bead69dba11468c5609dfdfa344bb257ad8a15
--
View it on GitLab: https://salsa.debian.org/med-team/sourmash/-/commit/17bead69dba11468c5609dfdfa344bb257ad8a15
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260527/9f89d756/attachment-0001.htm>
More information about the debian-med-commit
mailing list