[pybtex] 16/20: Add support for the nodoc build profile
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sat Jul 22 21:04:55 UTC 2017
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository pybtex.
commit e4137f9ffab191c71b839a304891f47cc4707623
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Fri Jul 21 19:59:15 2017 +0100
Add support for the nodoc build profile
---
debian/control | 12 +++++++-----
debian/rules | 4 ++++
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/debian/control b/debian/control
index 2f432e0..7987c61 100644
--- a/debian/control
+++ b/debian/control
@@ -9,15 +9,16 @@ Build-Depends: debhelper (>= 9.20141010),
python-all,
python-latexcodec (>= 1.0.4),
python-nose,
- python-pygments,
+ python-pygments <!nodoc>,
python-setuptools,
- python-sphinx,
+ python-sphinx <!nodoc>,
python-yaml,
python3-all,
python3-latexcodec (>= 1.0.4),
python3-nose <!nocheck>,
python3-setuptools,
- python3-yaml
+ python3-yaml,
+ sphinx-common
Standards-Version: 4.0.0
Vcs-Browser: https://anonscm.debian.org/viewvc/python-apps/packages/pybtex/trunk/
Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/pybtex/trunk/
@@ -51,7 +52,7 @@ Section: python
Depends: ${misc:Depends},
${python:Depends},
python-pkg-resources
-Suggests: python-pybtex-doc
+Suggests: python-pybtex-doc <!nodoc>
Breaks: pybtex (<< 0.21-1)
Replaces: pybtex (<< 0.21-1)
Description: public modules for pybtex (Python 2)
@@ -77,7 +78,7 @@ Section: python
Depends: ${misc:Depends},
${python3:Depends},
python3-pkg-resources
-Suggests: python-pybtex-doc
+Suggests: python-pybtex-doc <!nodoc>
Description: public modules for pybtex (Python 3)
Pybtex reads citation information from a file and produces a formatted
bibliography. BibTeX style files are supported. Alternatively it is
@@ -118,3 +119,4 @@ Description: documentation for pybtex
* plain text
.
This package provides the documentation.
+Build-Profiles: <!nodoc>
diff --git a/debian/rules b/debian/rules
index 8643bd5..7b82e93 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,11 +17,15 @@ export PYBUILD_AFTER_INSTALL_python3=rm -rf {destdir}/usr/bin
override_dh_auto_clean:
dh_auto_clean
+ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
$(MAKE) -C docs clean
+endif
override_dh_auto_build:
dh_auto_build
+ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
+endif
.PHONY: override_dh_auto_install
override_dh_auto_install:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pybtex.git
More information about the debian-science-commits
mailing list