Skip to content
Snippets Groups Projects
Commit 3cc6cae2 authored by Stefano Rivera's avatar Stefano Rivera
Browse files

Support nodoc and nocheck build profiles.

parent c1e6f0ba
No related branches found
No related tags found
Loading
......@@ -8,6 +8,7 @@ configobj (5.0.6+git20201014.3e2f4cc-1) UNRELEASED; urgency=medium
* Update src test location.
* Build-Depend on python3-mock and python3-sphinx-rtd-theme, now required
upstream.
* Support nodoc and nocheck build profiles.
-- Stefano Rivera <stefanor@debian.org> Mon, 01 Aug 2022 18:46:16 +0200
......
......@@ -8,13 +8,15 @@ Uploaders:
Build-Depends:
debhelper-compat (= 13),
dh-python,
dh-sequence-python3,
dh-sequence-sphinxdoc <!nodoc>,
python3-all,
python3-mock,
python3-pytest,
python3-mock <!nocheck>,
python3-pytest <!nocheck>,
python3-setuptools,
python3-six,
python3-sphinx,
python3-sphinx-rtd-theme
python3-six <!nocheck>,
python3-sphinx <!nodoc>,
python3-sphinx-rtd-theme <!nodoc>
Standards-Version: 4.6.0
Homepage: http://www.voidspace.org.uk/python/configobj.html
Vcs-Git: https://salsa.debian.org/python-team/packages/configobj.git
......
......@@ -6,15 +6,15 @@ export PYBUILD_AFTER_BUILD={interpreter} {dir}/setup_validate.py build
export PYBUILD_AFTER_INSTALL=PYTHONPATH={destdir}{install_dir} {interpreter} {dir}/setup_validate.py install --root {destdir}
%:
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
dh $@ --buildsystem=pybuild
override_dh_auto_clean:
dh_auto_clean
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
execute_after_dh_auto_clean:
make -C docs clean
override_dh_auto_build:
dh_auto_build
execute_after_dh_auto_build:
make -C docs html
endif
override_dh_auto_test:
dh_auto_test -- --test-pytest --test-args "$(CURDIR)/src/tests"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment