[Python-modules-commits] [dask.distributed] 06/07: Add !nodoc build profile

Diane Trout diane at moszumanska.debian.org
Fri Dec 8 16:26:41 UTC 2017


This is an automated email from the git hooks/post-receive script.

diane pushed a commit to branch master
in repository dask.distributed.

commit 27eef64dbf91dbafd8a6e2b76897e39bc1a1cef3
Author: Diane Trout <diane at ghic.org>
Date:   Fri Dec 8 08:23:58 2017 -0800

    Add !nodoc build profile
---
 debian/changelog | 1 +
 debian/control   | 2 +-
 debian/rules     | 4 ++++
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 1cc272d..04b3518 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ dask.distributed (1.19.2+ds.1-1) unstable; urgency=medium
   * Add sphinx-rtd-theme-common dependency to
     python-distributed-doc. (Closes: #872224)
   * Use Debian doc packages for intersphinx objects.inv files.
+  * Add !nodoc build profile.
 
  -- Diane Trout <diane at ghic.org>  Thu, 12 Oct 2017 20:56:29 -0700
 
diff --git a/debian/control b/debian/control
index 9d386b6..cbc0e36 100644
--- a/debian/control
+++ b/debian/control
@@ -20,7 +20,7 @@ Build-Depends: coffeescript,
                python3-six,
                python3-sortedcollections,
                python3-sphinx,
-               python3-sphinx-rtd-theme,
+               python3-sphinx-rtd-theme <!nodoc>,
                python3-tblib,
                python3-toolz,
                python3-tornado,
diff --git a/debian/rules b/debian/rules
index d9f3200..89ca7a2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
 # This file was automatically generated by stdeb 0.8.5 at
 # Wed, 07 Dec 2016 10:38:33 -0800
 export PYBUILD_NAME=distributed
+
+DEB_BUILD_OPTIONS += $(filter nodoc,$(DEB_BUILD_PROFILES))
 %:
 	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
 
@@ -13,7 +15,9 @@ override_dh_auto_build:
 	chmod a-x distributed/tests/test_utils_test.py
 	dh_auto_build
 #	ln -s /usr/share/javascript/mathjax docs/source/_static
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
 	PYTHONPATH=. sphinx-build -N -bhtml docs/source build/html # HTML generator
+endif
 
 override_dh_auto_clean:
 	dh_auto_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/dask.distributed.git



More information about the Python-modules-commits mailing list