File: rules

package info (click to toggle)
parsedatetime 2.6-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 568 kB
  • sloc: python: 5,161; makefile: 44
file content (13 lines) | stat: -rwxr-xr-x 323 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export PYBUILD_NAME = parsedatetime

export PYBUILD_BEFORE_TEST = cp -r {dir}/tests {build_dir}
export PYBUILD_TEST_ARGS = tests/Test*.py
export PYBUILD_AFTER_TEST = rm -rf {build_dir}/tests

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