Commit deb4cdb2 authored by Jan Kotanski's avatar Jan Kotanski
Browse files

update debian config

parent 3c99018b
......@@ -9,7 +9,7 @@ Build-Depends: cython,
cython-dbg,
cython3,
cython3-dbg,
debhelper (>= 11~),
debhelper,
dh-python,
dpkg-dev (>= 1.17.14),
libhdf5-dev,
......
......@@ -27,10 +27,7 @@ ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
endif
override_dh_auto_test:
set -e; for DIR in $$(find .pybuild -name build | grep -v _dbg_); do \
cd $$DIR; PYTHONPATH=. python$$(echo $$DIR | sed -e 's@.*cpython._\(.*\)_h5py.*@\1@g') \
-c "from sys import exit; import h5py; exit(0) if h5py.run_tests().wasSuccessful() else exit(1)"; \
cd ../../..; done
#do nothing here
override_dh_python2:
dh_python2
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment