File: rules

package info (click to toggle)
check-manifest 0.46-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 416 kB
  • sloc: python: 2,252; makefile: 44; sh: 9
file content (15 lines) | stat: -rwxr-xr-x 401 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export PYBUILD_NAME=check-manifest
# Needed because the testsuite assumes we're on a UTF-8 environment.
export LC_ALL = C.UTF-8

# See bug #941558.
export HOME = /tmp

export PYBUILD_BEFORE_TEST = cp {dir}/tests.py {build_dir}
export PYBUILD_AFTER_TEST = rm {build_dir}/tests.py
export PYBUILD_TEST_ARGS = --exclude=test_build_sdist

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