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