Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 %:
4 dh $@ --buildsystem pybuild
5
6
7 override_dh_auto_test:
8 ifeq (,$(filter nocheck, $(DEB_BUILD_OPTIONS)))
9 # Running the tests require to generate some files first.
10 # Use the upstream Makefile and its test target to do that.
11 set -e; \
12 for python in $(shell py3versions -s); do \
13 make test PYTHON3=$$python; \
14 done
15 endif