Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 UPSTREAM_GIT := https://github.com/testing-cabal/testscenarios.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 dh_auto_clean
14
15 override_dh_auto_test:
16 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
17 set -e ; set -x ; for pyvers in $(PYTHON3S) ; do \
18 python$$pyvers -m testtools.run testscenarios.test_suite ; \
19 done
20 endif