File: rules

package info (click to toggle)
python-py 1.11.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,512 kB
  • sloc: python: 11,660; makefile: 119; sh: 7
file content (17 lines) | stat: -rwxr-xr-x 423 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export PYBUILD_NAME=py

%:
	dh $@ --buildsystem=pybuild

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	PYBUILD_SYSTEM=custom \
		PYBUILD_TEST_ARGS="{interpreter} -m pytest testing --ignore={dir}/testing/log/test_warning.py --ignore={dir}/testing/code/test_excinfo.py" \
		LC_ALL=C.UTF-8 \
		dh_auto_test
endif

override_dh_installchangelogs:
	dh_installchangelogs CHANGELOG.rst