1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#!/usr/bin/make -f
#export DH_VERBOSE=1
PYVERS := $(shell pyversions -r)
PY3VERS := $(shell py3versions -r)
%:
dh $@ --with python2,python3
override_dh_auto_build:
# python2.x is expected to done in the auto build...
for PYTHON in $(PY3VERS); do \
$$PYTHON setup.py build; \
done
dh_auto_build
override_dh_auto_install:
# python2.x is expected to done in the auto install...
for PYTHON in $(PY3VERS); do \
$$PYTHON setup.py install --skip-build --root debian/tmp \
--install-layout deb; \
done
dh_auto_install
|