File: rules

package info (click to toggle)
dateparser 1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,000 kB
  • sloc: python: 52,653; makefile: 154; sh: 14
file content (16 lines) | stat: -rwxr-xr-x 472 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export TZ=UTC
export PYBUILD_NAME=dateparser
export PYBUILD_BEFORE_TEST=cp -r {dir}/dateparser_data/ {build_dir}
export PYBUILD_TEST_ARGS=tests \
    -k 'not test_dateparser_data_integrity and not test_custom_language_detect_fast_text'

%:
	dh $@ --buildsystem=pybuild

override_dh_installchangelogs:
	dh_installchangelogs HISTORY.rst

execute_after_dh_auto_install:
	rm -r debian/python3-dateparser/usr/lib/python3.*/dist-packages/dateparser_scripts/