[Python-modules-commits] [dask] 06/11: Honor the nodoc build profile
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed May 31 11:49:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository dask.
commit d357c5abda35a8b6c1f39367458f0e9f872914f3
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Wed May 31 12:19:33 2017 +0100
Honor the nodoc build profile
- Add versioned dependency on dpkg-dev
- Mark docs dependencies as <!nodoc>
- Add build dependency on sphinx-common
- Add Build-Profiles field to the doc package
- Do not build the docs if nodoc is requested
Gbp-Dch: Full
---
debian/control | 19 +++++++++++--------
debian/rules | 4 ++++
2 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/debian/control b/debian/control
index 7b88d07..be2d88f 100644
--- a/debian/control
+++ b/debian/control
@@ -4,16 +4,18 @@ Section: python
Priority: optional
Build-Depends: debhelper (>= 9),
dh-python,
+ dpkg-dev (>= 1.17.14),
python3-all,
- python3-cloudpickle (>= 0.2.1),
+ python3-cloudpickle (>= 0.2.1) <!nodoc>,
python3-numpy,
- python3-numpydoc,
- python3-pandas (>= 0.18.0),
- python3-partd (>= 0.3.7),
+ python3-numpydoc <!nodoc>,
+ python3-pandas (>= 0.18.0) <!nodoc>,
+ python3-partd (>= 0.3.7) <!nodoc>,
python3-setuptools,
- python3-sphinx,
- python3-sphinx-rtd-theme,
- python3-toolz (>= 0.7.3)
+ python3-sphinx <!nodoc>,
+ python3-sphinx-rtd-theme <!nodoc>,
+ python3-toolz (>= 0.7.3) <!nodoc>,
+ sphinx-common
Standards-Version: 3.9.8
Homepage: http://github.com/dask/dask/
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/dask.git
@@ -32,7 +34,7 @@ Recommends: python3-cloudpickle (>= 0.2.1),
python3-partd (>= 0.3.6),
python3-psutil,
python3-toolz (>= 0.7.2)
-Suggests: python-dask-doc
+Suggests: python-dask-doc <!nodoc>
Description: Minimal task scheduling abstraction for Python 3
Dask is a flexible parallel computing library for analytics,
containing two components.
@@ -65,3 +67,4 @@ Description: Minimal task scheduling abstraction documentation
collections run on top of the dynamic task schedulers.
.
This contains the documentation
+Build-Profiles: <!nodoc>
diff --git a/debian/rules b/debian/rules
index 361baf3..282cc3b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,13 +6,17 @@ export PYBUILD_NAME=dask
override_dh_auto_clean:
dh_auto_clean
+ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
$(MAKE) -C docs clean
+endif
override_dh_auto_build: export http_proxy=127.0.0.1:9
override_dh_auto_build: export https_proxy=127.0.0.1:9
override_dh_auto_build:
dh_auto_build
+ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
+endif
# Test needs: skimage, scipy, s3fs, cachey, distributed, graphviz
# dask is a build-dep for distributed... so we can't run tests at build
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/dask.git
More information about the Python-modules-commits
mailing list