Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 UPSTREAM_GIT := https://opendev.org/openstack/blazar-nova.git
4 include /usr/share/openstack-pkg-tools/pkgos.make
5
6 export PYBUILD_NAME=blazarnova
7
8 %:
9 dh $@ --buildsystem=pybuild --with python3
10
11 override_dh_auto_clean:
12 rm -rf build .stestr
13 for i in $$(find . -type d -iname __pycache__) ; do rm -rf $$i ; done
14 find . -iname '*.pyc' -delete
15
16 override_dh_auto_test:
17 echo "Do nothing..."
18
19 override_dh_auto_install:
20 echo "Do nothing..."
21
22 override_dh_install:
23 set -e ; set -x ; for i in $(PYTHON3S) ; do \
24 python$$i setup.py install --install-layout=deb --root $(CURDIR)/debian/tmp ; \
25 done
26
27 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
28 pkgos-dh_auto_test 'blazarnova\.tests.*'
29 endif
30
31 dh_install