File: rules

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

export PYBUILD_NAME=astral
export PYBUILD_BEFORE_TEST=cp -r {dir}/src/test {build_dir}
export PYBUILD_TEST_ARGS=-m "not webtest"
export PYBUILD_AFTER_TEST=rm -r {build_dir}/test

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

override_dh_auto_clean:
	rm -rf .pytests_cache
	dh_auto_clean