Nilesh Patra pushed to branch master at Debian Med / nitime
Commits: 5f0f5573 by Nilesh Patra at 2021-10-25T02:30:44+05:30 Switch to pytest instead of nose - - - - - e81a9fad by Nilesh Patra at 2021-10-25T02:46:20+05:30 Upload to unstable - - - - - 3 changed files: - debian/changelog - debian/control - debian/rules Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,9 @@ +nitime (0.9-2) unstable; urgency=medium + + * Switch to pytest instead of nose + + -- Nilesh Patra <[email protected]> Mon, 25 Oct 2021 02:30:56 +0530 + nitime (0.9-1.1) unstable; urgency=medium * Non-maintainer upload. ===================================== debian/control ===================================== @@ -14,7 +14,6 @@ Build-Depends: debhelper-compat (= 13), python3-matplotlib, python3-tk, python3-sphinx, - python3-nose, python3-networkx, python3-nibabel, python3-setuptools, @@ -34,7 +33,6 @@ Depends: ${python3:Depends}, python3-numpy, python3-scipy Recommends: python3-matplotlib, - python3-nose, python3-nibabel, python3-networkx Description: timeseries analysis for neuroscience data (nitime) ===================================== debian/rules ===================================== @@ -15,16 +15,10 @@ export HOME=$(CURDIR)/build %: dh $@ --with python3 --buildsystem pybuild -override_dh_auto_test: -ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) - : # Do not test just after build, lets install and then test -endif - override_dh_auto_install: dh_auto_install mkdir -p $(MPLCONFIGDIR) # just in case - echo "backend : Agg" >| $(MPLCONFIGDIR)/matplotlibrc : # Prune duplicate LICENSE file find debian/ -name LICENSE -delete : # Only now lets build docs @@ -38,19 +32,7 @@ ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS))) : # objects inventory is of no use for the package -rm doc/_build/html/objects.inv for f in `find . -name "*.html"`; do \ - sed -i '/cloudflare/d' $$f; \ - done -endif - -# All tests later on -# cd build to prevent use of local/not-built source tree -ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) - cd build; \ - for PYTHON in $(shell py3versions -r); do \ - echo "I: Running NiTime unittests using $$PYTHON"; \ - PYTHONPATH=$$(/bin/ls -d $(INSTALL_PATH)/usr/lib/$$PYTHON/*-packages) \ - MPLCONFIGDIR=/tmp/ \ - $$PYTHON /usr/bin/nosetests3 '--exclude=test_(coherence_linear_dependence|lazy_reload)' nitime; \ + sed -i -e '/cloudflare/d' -e '/jsdelivr/d' $$f; \ done endif View it on GitLab: https://salsa.debian.org/med-team/nitime/-/compare/ce7a1b0f9440269432eee5b2ffd2094c6e32ad75...e81a9fad335ba48c73eed42cd779c232dee1aeb6 -- View it on GitLab: https://salsa.debian.org/med-team/nitime/-/compare/ce7a1b0f9440269432eee5b2ffd2094c6e32ad75...e81a9fad335ba48c73eed42cd779c232dee1aeb6 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
