File: rules

package info (click to toggle)
construct 2.10.68%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 1,812 kB
  • sloc: python: 11,793; makefile: 135
file content (14 lines) | stat: -rwxr-xr-x 504 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
# -*- makefile -*-

# example_ files are generated in the build dir by the test run
export PYBUILD_AFTER_TEST := rm {build_dir}/example_*

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

# The gallery tests are not working, they rely on excluded blobs
# See copyright Files-Excluded for the list of excluded blobs
# Therefore, we exclude those tests from pytest execution
override_dh_auto_test:
	dh_auto_test -- --test-args="--ignore tests/gallery/ --ignore tests/deprecated_gallery/"