File: rules

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

export PYBUILD_NAME=dateparser
export PYBUILD_BEFORE_TEST=cp -r {dir}/dateparser_data/ {build_dir}

%:
	dh $@ --with python3 --buildsystem=pybuild

override_dh_installchangelogs:
	dh_installchangelogs HISTORY.rst

override_dh_auto_test:
	dh_auto_test -O--buildsystem=pybuild -- --test-args "tests -k 'not test_dateparser_data_integrity'"

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