2017-04-29 11:05:14 +00:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
# See debhelper(7) (uncomment to enable)
|
|
|
|
# output every command that modifies files on the build system.
|
|
|
|
export DH_VERBOSE = 1
|
|
|
|
|
2017-04-30 11:03:21 +00:00
|
|
|
export PYTEST_RUNNER=false
|
2017-04-29 19:26:11 +00:00
|
|
|
|
2017-04-29 11:05:14 +00:00
|
|
|
%:
|
|
|
|
dh $@ --with python2 \
|
|
|
|
--with python3 \
|
|
|
|
--buildsystem=pybuild \
|
|
|
|
--parallel
|
|
|
|
|
|
|
|
#### CONFIGURE ####
|
|
|
|
#override_dh_auto_configure:
|
|
|
|
# @echo "Nothing to configure over here..."
|
|
|
|
|
|
|
|
#### BUILD ####
|
|
|
|
#override_dh_auto_build:
|
|
|
|
# # RELEASE
|
|
|
|
# for PYX in $(shell pyversions -rv) $(shell py3versions -rv) ; do \
|
|
|
|
# python$${PYX} setup.py build ; \
|
|
|
|
# python$${PYX} setup.py install --root=debian/numpy-stl ; \
|
|
|
|
# python$${PYX} setup.py clean ; \
|
|
|
|
# done
|
|
|
|
#
|
|
|
|
# # DEBUG
|
|
|
|
# for PYX in $(shell pyversions -rv) $(shell py3versions -rv) ; do \
|
|
|
|
# python$${PYX}-dbg setup.py build ; \
|
|
|
|
# python$${PYX}-dbg setup.py install --root=debian/numpy-stl ; \
|
|
|
|
# python$${PYX}-dbg setup.py clean ; \
|
|
|
|
# done
|
|
|
|
|
|
|
|
override_dh_auto_test:
|
|
|
|
@echo "Nothing to test over here..."
|
|
|
|
|
|
|
|
override_dh_install:
|
|
|
|
dh_install --fail-missing
|