Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 UPSTREAM_GIT := https://opendev.org/openstack/keystone-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 echo "No tests for now..."
29 # pkgos-dh_auto_test --no-py2
30 endif
31
32 dh_install
33 dh_missing --fail-missing
34
35 override_dh_python3:
36 dh_python3 --shebang=/usr/bin/python3