| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export TZ=UTC |
| 4 |
export PYBUILD_NAME=dateparser |
| 5 |
export PYBUILD_BEFORE_TEST=cp -r {dir}/dateparser_data/ {build_dir} |
| 6 |
export PYBUILD_TEST_ARGS=tests \ |
| 7 |
-k 'not test_dateparser_data_integrity and not test_custom_language_detect_fast_text' |
| 8 |
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/dateparser_data/ |
| 9 |
|
| 10 |
%: |
| 11 |
dh $@ --buildsystem=pybuild |
| 12 |
|
| 13 |
override_dh_installchangelogs: |
| 14 |
dh_installchangelogs HISTORY.rst |
| 15 |
|
| 16 |
execute_after_dh_auto_install: |
| 17 |
rm -r debian/python3-dateparser/usr/lib/python3.*/dist-packages/dateparser_scripts/ |