Michael R. Crusoe pushed to branch master at Debian Med / python-bx
Commits: 6936d52b by Michael R. Crusoe at 2024-05-03T15:33:40+02:00 d/rules,d/pybuild.testfiles: cleaner way of handling the test data - - - - - 3 changed files: - debian/changelog - + debian/pybuild.testfiles - debian/rules Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,9 @@ +python-bx (0.11.0-5) UNRELEASED; urgency=medium + + * d/rules,d/pybuild.testfiles: cleaner way of handling the test data + + -- Michael R. Crusoe <[email protected]> Fri, 03 May 2024 15:24:24 +0200 + python-bx (0.11.0-4) unstable; urgency=medium * Team upload. ===================================== debian/pybuild.testfiles ===================================== @@ -0,0 +1,2 @@ +pytest.ini +test_data ===================================== debian/rules ===================================== @@ -7,15 +7,12 @@ export LC_ALL=C.UTF-8 export NOSE_VERBOSE=2 export PYBUILD_NAME=bx-python -export PYBUILD_BEFORE_TEST=export PYTHONPATH={install_dir} ; cp -r {dir}/test_data {build_dir}/ -export PYBUILD_AFTER_TEST=rm -Rf {build_dir}/test_data export DEB_BUILD_MAINT_OPTIONS=hardening=+all %: dh $@ --buildsystem=pybuild -override_dh_auto_clean: - dh_auto_clean +execute_after_dh_auto_clean: # C files are generated by Cython find -name "*.pyx" | sed 's/pyx$$/c/' | xargs $(RM) grep -rli "Generated by Cython" lib/ | xargs -r rm @@ -23,11 +20,7 @@ override_dh_auto_clean: rm -rf lib/bx_python.egg-info before-pybuild-autopkgtest: - find lib -name "*_tests.py" > debian/pybuild.testfiles - echo pytest.ini >> debian/pybuild.testfiles - -after-pybuild-autopkgtest: - rm debian/pybuild.testfiles + find lib -name "*_tests.py" >> debian/pybuild.testfiles override_dh_python3: dh_python3 --shebang=/usr/bin/python3 View it on GitLab: https://salsa.debian.org/med-team/python-bx/-/commit/6936d52bd3b842493efca1fbbb205a6fb332a871 -- View it on GitLab: https://salsa.debian.org/med-team/python-bx/-/commit/6936d52bd3b842493efca1fbbb205a6fb332a871 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
