1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
export PYBUILD_NAME=wcwidth
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_build:
python3 bin/update-tables.py --no-check-last-modified
dh_auto_build
override_dh_auto_install:
set -ex ; for i in `py3versions -vr 2>/dev/null` ; do \
python$$i setup.py install --install-layout=deb --root $(CURDIR)/debian/tmp ; \
done
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
set -ex ; for i in `py3versions -vr 2>/dev/null` ; do \
PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python3/dist-packages python$$i -m pytest tests ; \
done
endif
override_dh_auto_test:
echo "Do nothing ..."
|