Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 UPSTREAM_GITscip-debian debian python-oslo.db 18.0.0-3 `python-oslo.db`/rules/UPSTREAM_GIT. := https://github.com/openstack/oslo.db.git
4 include /usr/share/openstack-pkg-tools/pkgos.make
5
6 export OSLO_LOCK_PATHscip-debian debian python-oslo.db 18.0.0-3 `python-oslo.db`/rules/OSLO_LOCK_PATH.=$(CURDIRscip-debian debian python-oslo.db 18.0.0-3 `python-oslo.db`/rules/CURDIR.)/debian/
7
8 %scip-debian debian python-oslo.db 18.0.0-3 `python-oslo.db`/rules/`%`().:
9 dh $@ --buildsystem=pybuild --with python3,sphinxdoc
10
11 override_dh_auto_cleanscip-debian debian python-oslo.db 18.0.0-3 `python-oslo.db`/rules/override_dh_auto_clean().:
12 rm -rf build *.egg-info .stestr doc/source/reference/api .pybuild
13 find . -iname '*.pyc' -delete
14 for i in $$(find . -type d -iname __pycache__) ; do rm -rf $$i ; done
15
16 override_dh_auto_buildscip-debian debian python-oslo.db 18.0.0-3 `python-oslo.db`/rules/override_dh_auto_build().:
17 echo "Do nothing..."
18
19 override_dh_auto_installscip-debian debian python-oslo.db 18.0.0-3 `python-oslo.db`/rules/override_dh_auto_install().:
20 for i in $(PYTHON3Sscip-debian debian python-oslo.db 18.0.0-3 `python-oslo.db`/rules/PYTHON3S.) ; do \
21 python$$i setup.py install -f --install-layout=deb --root=$(CURDIRscip-debian debian python-oslo.db 18.0.0-3 `python-oslo.db`/rules/CURDIR.)/debian/tmp ; \
22 done
23 ifeq (,$(findstringscip-debian debian python-oslo.db 18.0.0-3 `python-oslo.db`/rules/findstring. nocheck, $(DEB_BUILD_OPTIONSscip-debian debian python-oslo.db 18.0.0-3 `python-oslo.db`/rules/DEB_BUILD_OPTIONS.)))
24 PYTHONPATH=$(CURDIR)/debian/tmp pkgos-dh_auto_test --no-py2 'oslo_db\.tests\.(?!.*test_enginefacade.*)'
25 endif
26
27 override_dh_auto_testscip-debian debian python-oslo.db 18.0.0-3 `python-oslo.db`/rules/override_dh_auto_test().:
28 echo "Do nothing..."
29
30 override_dh_sphinxdocscip-debian debian python-oslo.db 18.0.0-3 `python-oslo.db`/rules/override_dh_sphinxdoc().:
31 ifeq (,$(findstringscip-debian debian python-oslo.db 18.0.0-3 `python-oslo.db`/rules/findstring. nodoc, $(DEB_BUILD_OPTIONSscip-debian debian python-oslo.db 18.0.0-3 `python-oslo.db`/rules/DEB_BUILD_OPTIONS.)))
32 PYTHONPATH=. PYTHON=python3 python3 -m sphinx -b html doc/source debian/python-oslo.db-doc/usr/share/doc/python-oslo.db-doc/html
33 dh_sphinxdoc
34 endif