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 26 27
|
#!/usr/bin/make -f
PYTHONS:=$(shell pyversions -vr)
%:
dh $@ --buildsystem=python_distutils --with python2,sphinxdoc
override_dh_install:
set -e && for pyvers in $(PYTHONS); do \
python$$pyvers setup.py install --install-layout=deb \
--root $(CURDIR)/debian/python-concurrent.futures; \
done
override_dh_sphinxdoc:
sphinx-build -b html docs $(CURDIR)/debian/python-concurrent.futures/usr/share/doc/python-concurrent.futures/html
dh_sphinxdoc -O--buildsystem=python_distutils
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
set -e ; set -x ; \
for pyvers in $(PYTHONS) ; do \
PYTHONPATH=. python$$pyvers test_futures.py ; \
done
endif
override_dh_installexamples:
dh_installexamples -O--buildsystem=python_distutils crawl.py primes.py
|