1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
#!/usr/bin/make -f
export DH_VERBOSE=1
export PYBUILD_NAME=cfgrib
PY3VERS:= $(shell py3versions -s)
export PYTHONPATH=$(shell pwd)
# The magic debhelper rule
%:
dh $@ --buildsystem=pybuild
override_dh_auto_clean:
dh_auto_clean
rm -rf .eggs cfgrib.egg-info
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
for p in $(PY3VERS); do \
PY3VERNUM=`echo $$p | sed -e 's/python//' `; \
pybuild --test --test-pytest -i $$p -p $$PY3VERNUM ; \
done
endif
|