| 1 |
|
| 2 |
|
| 3 |
UPSTREAM_GITscip-debian debian blazar-nova 9.0.0-1 blazar-nova/rules/UPSTREAM_GIT. := https://opendev.org/openstack/blazar-nova.git |
| 4 |
include /usr/share/openstack-pkg-tools/pkgos.make |
| 5 |
|
| 6 |
export PYBUILD_NAMEscip-debian debian blazar-nova 9.0.0-1 blazar-nova/rules/PYBUILD_NAME.=blazarnova |
| 7 |
|
| 8 |
%scip-debian debian blazar-nova 9.0.0-1 blazar-nova/rules/`%`().: |
| 9 |
dh $@ --buildsystem=pybuild --with python3 |
| 10 |
|
| 11 |
override_dh_auto_cleanscip-debian debian blazar-nova 9.0.0-1 blazar-nova/rules/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_testscip-debian debian blazar-nova 9.0.0-1 blazar-nova/rules/override_dh_auto_test().: |
| 17 |
echo "Do nothing..." |
| 18 |
|
| 19 |
override_dh_auto_installscip-debian debian blazar-nova 9.0.0-1 blazar-nova/rules/override_dh_auto_install().: |
| 20 |
echo "Do nothing..." |
| 21 |
|
| 22 |
override_dh_installscip-debian debian blazar-nova 9.0.0-1 blazar-nova/rules/override_dh_install().: |
| 23 |
set -e ; set -x ; for i in $(PYTHON3Sscip-debian debian blazar-nova 9.0.0-1 blazar-nova/rules/PYTHON3S.) ; do \ |
| 24 |
python$$i setup.py install --install-layout=deb --root $(CURDIRscip-debian debian blazar-nova 9.0.0-1 blazar-nova/rules/CURDIR.)/debian/tmp ; \ |
| 25 |
done |
| 26 |
|
| 27 |
ifeq (,$(findstringscip-debian debian blazar-nova 9.0.0-1 blazar-nova/rules/findstring. nocheck, $(DEB_BUILD_OPTIONSscip-debian debian blazar-nova 9.0.0-1 blazar-nova/rules/DEB_BUILD_OPTIONS.))) |
| 28 |
pkgos-dh_auto_test 'blazarnova\.tests.*' |
| 29 |
endif |
| 30 |
|
| 31 |
dh_install |