...
 
Commits (2)
pyraf (2.1.14+dfsg-6) unstable; urgency=medium
* Use pybuild for test (Closes: #893637)
-- Ole Streicher <olebole@debian.org> Wed, 21 Mar 2018 08:21:45 +0100
pyraf (2.1.14+dfsg-5) unstable; urgency=low
* Allow stderr in CI tests
......
#!/usr/bin/make -f
PYTHON2:=$(shell pyversions -vr)
PYTHON3:=$(shell py3versions -vr)
export PYBUILD_NAME = pyraf
%:
dh $@ --with python2,python3 --buildsystem=pybuild
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
test-python%:
HOME=/tmp/ PYTHONPATH=$(CURDIR)/.pybuild/pythonX.Y_$*/build python$* debian/tests/pyraf-test.py
override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%)
override_dh_auto_test:
dh_auto_test -- --system=custom --test-args '{interpreter} {dir}/debian/tests/pyraf-test.py'
endif
override_dh_clean:
......