| 1 |
|
| 2 |
|
| 3 |
LAST_CHANGEscip-debian debian python-keystoneclient 1:5.8.0-4 python-keystoneclient/rules/LAST_CHANGE. = $(shellscip-debian debian python-keystoneclient 1:5.8.0-4 python-keystoneclient/rules/shell. dpkg-parsechangelog -S Date) |
| 4 |
BUILD_DATEscip-debian debian python-keystoneclient 1:5.8.0-4 python-keystoneclient/rules/BUILD_DATE. = $(shellscip-debian debian python-keystoneclient 1:5.8.0-4 python-keystoneclient/rules/shell. LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)") |
| 5 |
SPHINXOPTSscip-debian debian python-keystoneclient 1:5.8.0-4 python-keystoneclient/rules/SPHINXOPTS. := -D html_last_updated_fmt="$(BUILD_DATE)" |
| 6 |
|
| 7 |
include /usr/share/openstack-pkg-tools/pkgos.make |
| 8 |
|
| 9 |
export RES_OPTIONSscip-debian debian python-keystoneclient 1:5.8.0-4 python-keystoneclient/rules/RES_OPTIONS.=attempts:0 |
| 10 |
|
| 11 |
|
| 12 |
export EVENTLET_TESTSscip-debian debian python-keystoneclient 1:5.8.0-4 python-keystoneclient/rules/EVENTLET_TESTS.=True |
| 13 |
|
| 14 |
%scip-debian debian python-keystoneclient 1:5.8.0-4 python-keystoneclient/rules/`%`().: |
| 15 |
dh $@ --buildsystem=pybuild --with python3,sphinxdoc |
| 16 |
|
| 17 |
override_dh_auto_cleanscip-debian debian python-keystoneclient 1:5.8.0-4 python-keystoneclient/rules/override_dh_auto_clean().: |
| 18 |
rm -rf build .stestr *.egg-info doc/source/api .pybuild |
| 19 |
find . -iname '*.pyc' -delete |
| 20 |
for i in $$(find . -type d -iname __pycache__) ; do rm -rf $$i ; done |
| 21 |
|
| 22 |
override_dh_auto_buildscip-debian debian python-keystoneclient 1:5.8.0-4 python-keystoneclient/rules/override_dh_auto_build().: |
| 23 |
echo "Do nothing..." |
| 24 |
|
| 25 |
override_dh_auto_testscip-debian debian python-keystoneclient 1:5.8.0-4 python-keystoneclient/rules/override_dh_auto_test().: |
| 26 |
echo "Do nothing..." |
| 27 |
|
| 28 |
override_dh_auto_installscip-debian debian python-keystoneclient 1:5.8.0-4 python-keystoneclient/rules/override_dh_auto_install().: |
| 29 |
pkgos-dh_auto_installscip-debian debian debhelper . dh_auto_install(). --no-py2 --in-tmp |
| 30 |
|
| 31 |
ifeq (,$(filterscip-debian debian python-keystoneclient 1:5.8.0-4 python-keystoneclient/rules/filter. nocheck,$(DEB_BUILD_OPTIONSscip-debian debian python-keystoneclient 1:5.8.0-4 python-keystoneclient/rules/DEB_BUILD_OPTIONS.))) |
| 32 |
pkgos-dh_auto_test --no-py2 |
| 33 |
|
| 34 |
endif |
| 35 |
|
| 36 |
override_dh_cleanscip-debian debian python-keystoneclient 1:5.8.0-4 python-keystoneclient/rules/override_dh_clean().: |
| 37 |
dh_cleanscip-debian debian debhelper . dh_clean(). |
| 38 |
|
| 39 |
override_dh_sphinxdocscip-debian debian python-keystoneclient 1:5.8.0-4 python-keystoneclient/rules/override_dh_sphinxdoc().: |
| 40 |
ifeq (,$(findstringscip-debian debian python-keystoneclient 1:5.8.0-4 python-keystoneclient/rules/findstring. nodoc, $(DEB_BUILD_OPTIONSscip-debian debian python-keystoneclient 1:5.8.0-4 python-keystoneclient/rules/DEB_BUILD_OPTIONS.))) |
| 41 |
PYTHONPATH=. python3 -m sphinx -b html doc/source $(CURDIR)/debian/python-keystoneclient-doc/usr/share/doc/python-keystoneclient-doc/html |
| 42 |
dh_sphinxdoc |
| 43 |
endif |
| 44 |
|
| 45 |
override_dh_python3scip-debian debian python-keystoneclient 1:5.8.0-4 python-keystoneclient/rules/override_dh_python3().: |
| 46 |
dh_python3scip-debian debian debhelper . dh_python3(). --shebang=/usr/bin/python3 |