| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
UPSTREAM_GIT := https://opendev.org/openstack/blazar-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 *.egg-info |
| 12 |
|
| 13 |
override_dh_auto_test: |
| 14 |
echo "Do nothing..." |
| 15 |
|
| 16 |
override_dh_auto_install: |
| 17 |
echo "Do nothing..." |
| 18 |
|
| 19 |
override_dh_auto_build: |
| 20 |
echo "Do nothing..." |
| 21 |
|
| 22 |
override_dh_install: |
| 23 |
pkgos-dh_auto_install --no-py2 --in-tmp |
| 24 |
|
| 25 |
#ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS))) |
| 26 |
# pkgos-dh_auto_test --no-py2 |
| 27 |
#endif |
| 28 |
|
| 29 |
dh_install |
| 30 |
|
| 31 |
override_dh_python3: |
| 32 |
dh_python3 --shebang=/usr/bin/python3 |