File: rules

package info (click to toggle)
python-tzlocal 5.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 288 kB
  • sloc: python: 601; makefile: 27
file content (9 lines) | stat: -rwxr-xr-x 255 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/usr/bin/make -f

# We can't rely on pybuild for this, as it follows symlinks rather than copying
# them.
export PYBUILD_BEFORE_TEST=cp -a {dir}/tests {build_dir}/tests
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests

%:
	dh $@ --buildsystem=pybuild