Étienne Mollier pushed to branch master at Debian Med / qiime


Commits:
252d5b5d by Étienne Mollier at 2025-12-02T20:37:26+01:00
d/{control,rules}: restore ability to run build-time tests.

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -12,6 +12,8 @@ Build-Depends: debhelper-compat (= 13),
                python3-all,
                python3-setuptools,
                python3-pytest <!nocheck>,
+               python3-flufl.lock <!nocheck>,
+               python3-tomlkit <!nocheck>,
                python3-platformdirs <!nocheck>,
                python3-bibtexparser <!nocheck>,
                python3-decorator <!nocheck>,


=====================================
debian/rules
=====================================
@@ -8,28 +8,11 @@ export PYBUILD_NAME = qiime
 include /usr/share/dpkg/default.mk
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
-
-export PYBUILD_DISABLE=python3.12
+export QIIMETEST=
+export LC_ALL=C.UTF-8
 
 %:
        dh $@ --buildsystem=pybuild
 
-# FIXME: the following hack is commented out, as the tip to solve the QIIMETEST
-# environment variable issue does not seem to work anymore.  No tests are run
-# at build time, they are delayed to the autopkgtest step.
-
-## For testing, we need to deploy the project in the build directory
-## so that qiime2 plugins are loaded
-#export PYBUILD_BEFORE_TEST=python{version} setup.py develop --install-dir 
{build_dir}
-## Un-deploy the project and delete site.py script
-#export PYBUILD_AFTER_TEST=rm -v {build_dir}/site.py; \
-#      python{version} setup.py develop --uninstall --install-dir {build_dir}
-
-override_dh_auto_test:
-#ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-#      LC_ALL=C.UTF-8 dh_auto_test -- -s custom --test-args="cd {build_dir}; 
QIIMETEST= pytest-3"
-#endif
-
-override_dh_auto_clean:
-       dh_auto_clean
+execute_after_dh_auto_clean:
        rm -rf qiime2.egg-info



View it on GitLab: 
https://salsa.debian.org/med-team/qiime/-/commit/252d5b5d098059e241b7ab5b4711c356e82cc678

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/qiime/-/commit/252d5b5d098059e241b7ab5b4711c356e82cc678
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

Reply via email to