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
|
#!/usr/bin/make -f
export PYBUILD_NAME=pyvkfft
export PYOPENCL_CTX
%:
dh $@ --buildsystem=pybuild
execute_after_dh_auto_build:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
env PYTHONPATH=$(shell pybuild --build -i python3 -s custom --build-args 'echo {build_dir}') \
SPHINXBUILD="python3 -m sphinx" \
SPHINXOPTS="-D mathjax_path=MathJax.js" \
$(MAKE) -C doc html
endif
# do not work with my sbuild...
override_dh_auto_test:
# env PYTHONPATH=$(shell pybuild --build -i python3 -s custom --build-args 'echo {build_dir}') \
# python3 pyvkfft/scripts/pyvkfft_test.py --nproc 4 --backend pyopencl
execute_after_dh_installdocs:
dh_installdocs -p python3-pyvkfft-doc "doc/build/html"
execute_after_dh_auto_install:
find debian/python3-pyvkfft -name cuda.py -delete
|