Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export PYBUILD_NAME=kombu
4 export PYBUILD_BEFORE_TEST=cp -r {dir}/t {dir}/setup.cfg {build_dir}
5 export PYBUILD_AFTER_TEST=rm -rf {build_dir}/t {build_dir}/setup.cfg {build_dir}/.pytest_cache {build_dir}/control
6 export PYBUILD_TEST_ARGS=\
7 --ignore t/unit/transport/test_gcpubsub.py \
8 -k 'not test_getting_master_from_sentinel and not test_getting_master_from_sentinel_single_node'
9
10 %:
11 dh $@ --with sphinxdoc --buildsystem=pybuild
12
13 execute_before_dh_sphinxdoc:
14 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
15 PYTHONPATH=$(CURDIR) python3 -m sphinx -b html -d $(CURDIR)/docs/.build/.doctrees -N $(CURDIR)/docs $(CURDIR)/debian/python-kombu-doc/usr/share/doc/python-kombu-doc/html
16 endif
17
18 override_dh_compress:
19 dh_compress -X .js -X .html