1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export PYBUILD_NAME = wordcloud
export PYBUILD_AFTER_INSTALL = \
dh_link /usr/share/fonts/truetype/noto/NotoMono-Regular.ttf {install_dir}/$(PYBUILD_NAME)/DroidSansMono.ttf
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_clean:
set -ex; \
if [ -e "${CURDIR}/wordcloud/query_integral_image.c" ]; then \
rm "${CURDIR}/wordcloud/query_integral_image.c"; \
fi
execute_after_auto_configure:
cython3 wordcloud/*.pyx
# skip tests when building, depends on autopkgtest
override_dh_auto_test:
|