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
# -*- mode: makefile; coding: utf-8 -*-
%:
dh $@ --buildsystem=python_distutils --with python2
override_dh_strip:
dh_strip --dbg-package=python-pyfribidi-dbg
override_dh_installdocs:
dh_installdocs --link-doc=python-pyfribidi
PYVERS:=$(shell pyversions -vr)
override_dh_auto_test:
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
for py in $(PYVERS); do \
PYTHONPATH=`ls -d $(CURDIR)/build/lib.*-$$py` \
python$$py test_pyfribidi.py ;\
PYTHONPATH=`ls -d $(CURDIR)/build/lib_d.*-$$py || ls -d $(CURDIR)/build/lib.*-$$py-pydebug` \
python$$py-dbg test_pyfribidi.py ;\
done
endif
|