| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export PYBUILD_NAME=mycli |
| 4 |
|
| 5 |
export SETUPTOOLS_SCM_PRETEND_VERSION=$(shell dpkg-parsechangelog | awk '/^Version: / { print $$2 }' | rev | cut -d- -f2- | rev) |
| 6 |
|
| 7 |
%: |
| 8 |
dh ${@} --buildsystem=pybuild |
| 9 |
|
| 10 |
execute_after_dh_auto_clean: |
| 11 |
# help pybuild |
| 12 |
rm -rf *.egg-info |
| 13 |
|
| 14 |
execute_after_dh_auto_install: |
| 15 |
# removing useless files |
| 16 |
rm -f debian/mycli/usr/lib/python3/dist-packages/mycli/AUTHORS |
| 17 |
rm -f debian/mycli/usr/lib/python3/dist-packages/mycli/SPONSORS |
| 18 |
|
| 19 |
override_dh_auto_test: |
| 20 |
# disabled, doesn't work yet |