Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 UPSTREAM_GIT := https://github.com/gabrielfalcao/sure.git
4 include /usr/share/openstack-pkg-tools/pkgos.make
5
6 %:
7 dh $@ --buildsystem=pybuild --with python3
8
9 override_dh_auto_clean:
10 rm -rf build
11 find . -iname '*.pyc' -delete
12 for i in $$(find . -type d -iname __pycache__) ; do rm -rf $$i ; done
13 rm -f .coverage
14
15 override_dh_auto_build:
16 echo "Do nothing..."
17
18 override_dh_auto_install:
19 pkgos-dh_auto_install --no-py2
20
21 override_dh_auto_test:
22 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
23 set -x ; set -e ; for i in $(PYTHON3S) ; do \
24 python$$i -m pytest -v tests -k "not test_context_is_not_optional and not test_depends_on_failing_due_nothing_found and not test_depends_on_failing_due_not_calling_a_previous_action" ; \
25 done
26 endif
27
28 override_dh_python3:
29 dh_python3 --shebang=/usr/bin/python3