#!/usr/bin/make -f #export DH_VERBOSE=1 PYTHON3:=$(shell py3versions -vr) export PYBUILD_NAME=spectral-cube %: dh $@ --with python3 --buildsystem=pybuild spectral_cube/tests/data/vda.fits: cd spectral_cube/tests/data && python3 make_test_cubes.py ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) test-python%: spectral_cube/tests/data/vda.fits python$* setup.py test -vv --args -v override_dh_auto_test: $(PYTHON3:%=test-python%) endif