[Python-modules-commits] [python-latexcodec] 13/20: Add support for the nodoc build profile
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Jul 13 15:34:48 UTC 2017
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository python-latexcodec.
commit f4aa784369340d5e1098787c06afdb2fab718751
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Wed Jul 12 09:39:25 2017 +0100
Add support for the nodoc build profile
---
debian/control | 10 ++++++----
debian/rules | 6 +++++-
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/debian/control b/debian/control
index 5ab7b9a..ce0e93f 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,9 @@ Section: python
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Uploaders: Daniel Stender <stender at debian.org>
-Build-Depends: debhelper (>= 9),
+Build-Depends: debhelper (>= 9.20141010~),
dh-python,
+ dpkg-dev (>= 1.17.14),
python-all,
python3-all,
python-six,
@@ -13,7 +14,7 @@ Build-Depends: debhelper (>= 9),
python3-setuptools,
python-nose,
python3-nose,
- python3-sphinx
+ python3-sphinx <!nodoc>
Standards-Version: 3.9.8
Homepage: https://github.com/mcmtroffaes/latexcodec
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-latexcodec.git
@@ -25,7 +26,7 @@ Package: python-latexcodec
Architecture: all
Depends: ${misc:Depends},
${python:Depends}
-Suggests: python-latexcodec-doc
+Suggests: python-latexcodec-doc <!nodoc>
Description: LaTeX lexer and codec library for Python
latexcodec is a Python library for converting from and into
LaTeX encoding. It includes a codec module which contains classes
@@ -39,7 +40,7 @@ Package: python3-latexcodec
Architecture: all
Depends: ${misc:Depends},
${python3:Depends}
-Suggests: python-latexcodec-doc
+Suggests: python-latexcodec-doc <!nodoc>
Description: LaTeX lexer and codec library for Python3
latexcodec is a Python library for converting from and into
LaTeX encoding. It includes a codec module which contains classes
@@ -64,3 +65,4 @@ Description: LaTeX lexer and codec library for Python (docs)
incremental LaTeX decoders and encoders.
.
This package contains the documentation.
+Build-Profiles: <!nodoc>
diff --git a/debian/rules b/debian/rules
index f9682c7..f8b13c2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,13 +8,17 @@ export PYBUILD_NAME=latexcodec
override_dh_auto_clean:
dh_auto_clean
+ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
$(MAKE) -C doc 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
- PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
+ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+ PYTHONPATH=$(CURDIR) $(MAKE) -C doc html
+endif
override_dh_auto_test:
PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m nose -v" dh_auto_test
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-latexcodec.git
More information about the Python-modules-commits
mailing list