[med-svn] [Git][med-team/sourmash][master] 2 commits: d/rules: cleanup
Michael R. Crusoe (@crusoe)
gitlab at salsa.debian.org
Sat Nov 2 08:51:36 GMT 2024
Michael R. Crusoe pushed to branch master at Debian Med / sourmash
Commits:
8b8f3ee0 by Michael R. Crusoe at 2024-11-02T09:36:14+01:00
d/rules: cleanup
- - - - -
667cb010 by Michael R. Crusoe at 2024-11-02T09:51:17+01:00
one more copyright
- - - - -
2 changed files:
- debian/copyright
- debian/rules
Changes:
=====================================
debian/copyright
=====================================
@@ -4,8 +4,8 @@ Upstream-Contact: C. Titus Brown <titus at idyll.org>
Source: https://github.com/dib-lab/sourmash
Files: *
-Copyright: C. Titus Brown <titus at idyll.org>
- 2016, The Regents of the University of California.
+Copyright: 2016, The Regents of the University of California.
+ 2016-2023, C. Titus Brown, Luiz Irber, and N. Tessa Pierce-Ward
License: BSD-3-clause
Files: debian/*
=====================================
debian/rules
=====================================
@@ -13,6 +13,11 @@ 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_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
+
%:
dh $@ --buildsystem=pybuild
@@ -20,28 +25,12 @@ export PYBUILD_TEST_ARGS=-k 'not (test_sqlite_lca_db_create_readonly or test_com
execute_after_dh_auto_clean:
rm -rf debian/cargo_registry
-
execute_before_dh_auto_configure:
$(CARGO) prepare-debian debian/cargo_registry --link-from-system
rm -f Cargo.lock
# needed because we patch Cargo.toml
cargo generate-lockfile --manifest-path src/core/Cargo.toml --offline
-# override_dh_auto_test:
-# ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-# dh_auto_install
-# PYBUILD_SYSTEM=custom PYBUILD_DESTDIR=debian/sourmash \
-# PYBUILD_TEST_ARGS="export PATH={destdir}/usr/bin/:$$PATH ; \
-# export PYTHONPATH={destdir}/usr/lib/python{version}/dist-packages/; \
-# cd {build_dir}; {interpreter} -m pytest \
-# -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)'" \
-# dh_auto_test
-# endif
-# 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
-
execute_after_dh_auto_install:
/usr/share/cargo/bin/dh-cargo-built-using sourmash
View it on GitLab: https://salsa.debian.org/med-team/sourmash/-/compare/1e81fd744ffd4e764bbb25648417b9da0701e060...667cb0101353712b0edc2288e5946dcb602538c4
--
View it on GitLab: https://salsa.debian.org/med-team/sourmash/-/compare/1e81fd744ffd4e764bbb25648417b9da0701e060...667cb0101353712b0edc2288e5946dcb602538c4
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20241102/604a09d9/attachment-0001.htm>
More information about the debian-med-commit
mailing list