Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 UPSTREAM_GIT := https://opendev.org/openstack/mistral-tempest-plugin
4 include /usr/share/openstack-pkg-tools/pkgos.make
5
6 %:
7 dh $@ --buildsystem=pybuild --with python3
8
9 override_dh_auto_clean:
10 python3 setup.py clean
11 rm -rf build .stestr *.egg-info .pybuild
12 find . -iname '*.pyc' -delete
13 for i in $$(find . -type d -iname __pycache__) ; do rm -rf $$i ; done
14
15 override_dh_auto_test:
16 echo "Do nothing..."
17
18 override_dh_auto_install:
19 echo "Do nothing..."
20
21 override_dh_auto_build:
22 echo "Do nothing..."
23
24 override_dh_install:
25 pkgos-dh_auto_install --no-py2 --in-tmp
26
27 #ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
28 # pkgos-dh_auto_test --no-py2
29 #endif
30
31 dh_install
32 dh_missing --fail-missing
33
34 override_dh_python3:
35 dh_python3 --shebang=/usr/bin/python3