[med-svn] [Git][med-team/snakemake][main] remove Py2 vs 3 crumb

Alexandre Detiste (@detiste-guest) gitlab at salsa.debian.org
Sat Apr 12 12:46:56 BST 2025



Alexandre Detiste pushed to branch main at Debian Med / snakemake


Commits:
2b723c75 by Alexandre Detiste at 2025-04-12T13:46:49+02:00
remove Py2 vs 3 crumb

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -4,10 +4,10 @@
 # export DH_VERBOSE = 1
 
 export PYBUILD_NAME=snakemake
-export PYBUILD_DESTDIR_python3=debian/snakemake
+export PYBUILD_DESTDIR=debian/snakemake
 # copy the tests and run them from there to avoid having to clean up after them
-export PYBUILD_BEFORE_TEST_python3=chmod +x {dir}/bin/snakemake; cp -r {dir}/bin {dir}/tests {build_dir}
-export PYBUILD_AFTER_TEST_python3=rm -fr {build_dir}/bin {build_dir}/tests
+export PYBUILD_BEFORE_TEST=chmod +x {dir}/bin/snakemake; cp -r {dir}/bin {dir}/tests {build_dir}
+export PYBUILD_AFTER_TEST=rm -fr {build_dir}/bin {build_dir}/tests
 export PYBUILD_TEST_ARGS=python{version} -m pytest -o faulthandler_timeout=60 -v {build_dir}/tests/test*.py -k 'not test_cwl and not test_cwl_singularity and not test_url_include and not test_wrapper and not test_issue1083 and not test_github_issue78 and not test_container and not test_singularity and not test_singularity_conda and not test_convert_to_cwl and not test_report and not test_report_zip and not test_archive and not test_jupyter_notebook and not test_conda and not test_upstream_conda and not test_conda_custom_prefix and not test_script and not test_issue635 and not test_issue1093 and not test_default_resources and not test_default_remote and not test_remote and not test_output_file_cache_remote and not test_tibanna and not test_module_complex and not test_module_complex2 and not test_module_with_script and not test_module_report and not test_modules_meta_wrapper and not test_tes and not test_deploy_script and not test_deploy_hashing and not test_peppy and not test_modules_peppy and not test_report_display_code and not test_wrapper_local_git_prefix and not test_github_issue1396 and not test_az_batch_executor and not test_modules_prefix and not test_ancient and not test_github_issue1062 and not test_symlink_time_handling and not test_env_modules and not test_github_issue1460 and not test_rule_inheritance_globals and not test_prebuilt_conda_script'
 
 # Skipped because they download executables (which is forbidden in Debian buildd and debci)
@@ -53,7 +53,7 @@ execute_after_dh_auto_build:
 execute_after_dh_installdocs:
 	find debian -name '__pycache__' -o name '.gitignore' | xargs rm -rf
 
-# the modules.sh is a workaround for #928826; putting it in PYBUILD_BEFORE_TEST_python3 doesn't work
+# the modules.sh is a workaround for #928826; putting it in PYBUILD_BEFORE_TEST doesn't work
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	. /etc/profile.d/modules.sh && PYBUILD_SYSTEM=custom dh_auto_test



View it on GitLab: https://salsa.debian.org/med-team/snakemake/-/commit/2b723c75f116540fd9b2aa7ae43f08bde72a6967

-- 
View it on GitLab: https://salsa.debian.org/med-team/snakemake/-/commit/2b723c75f116540fd9b2aa7ae43f08bde72a6967
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/20250412/c146d459/attachment-0001.htm>


More information about the debian-med-commit mailing list