[python-dtcwt] 14/22: Add support for the nodoc build profile
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Fri Sep 15 13:06:38 UTC 2017
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/master
in repository python-dtcwt.
commit 14292ced5406e3613987c2df595de42140c68c16
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Fri Sep 15 09:37:06 2017 +0100
Add support for the nodoc build profile
---
debian/control | 15 +++++++++------
debian/rules | 2 ++
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/debian/control b/debian/control
index a945ba1..d1981f2 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Section: science
Priority: optional
Build-Depends: debhelper (>= 10),
dh-python,
+ dpkg-dev (>= 1.17.14),
python-all,
python-coverage,
python-numpy,
@@ -13,13 +14,14 @@ Build-Depends: debhelper (>= 10),
python-six,
python3-all,
python3-coverage,
- python3-matplotlib,
+ python3-matplotlib <!nodoc>,
python3-numpy,
python3-pytest,
python3-setuptools,
- python3-sphinx,
- python3-sphinx-rtd-theme,
- python3-six
+ python3-sphinx <!nodoc>,
+ python3-sphinx-rtd-theme <!nodoc>,
+ python3-six,
+ sphinx-common
Standards-Version: 3.9.8
Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/python-dtcwt.git
Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/python-dtcwt.git
@@ -32,7 +34,7 @@ Architecture: all
Section: python
Depends: ${misc:Depends},
${python:Depends}
-Suggests: python-dtcwt-doc,
+Suggests: python-dtcwt-doc <!nodoc>,
python-pyopencl
Description: Dual-Tree Complex Wavelet Transform library for Python 2
The dtcwt library provides a Python implementation of the 1, 2 and 3-D
@@ -47,7 +49,7 @@ Architecture: all
Section: python
Depends: ${misc:Depends},
${python3:Depends}
-Suggests: python-dtcwt-doc,
+Suggests: python-dtcwt-doc <!nodoc>,
python3-pyopencl
Description: Dual-Tree Complex Wavelet Transform library for Python 3
The dtcwt library provides a Python implementation of the 1, 2 and 3-D
@@ -70,3 +72,4 @@ Description: documentation for dtcwt
accelerated GPU implementation using OpenCL.
.
This package provides the documentation.
+Build-Profiles: <!nodoc>
diff --git a/debian/rules b/debian/rules
index 1379fa6..a663cb8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,7 +15,9 @@ 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 (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
PYTHONPATH=. sphinx-build -N -bhtml docs/ build/html
+endif
override_dh_sphinxdoc:
dh_sphinxdoc --exclude=MathJax.js
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-dtcwt.git
More information about the debian-science-commits
mailing list