[Python-modules-commits] [python-werkzeug] 07/07: Use Python 3 version of Sphinx for building docs
Ondrej Novy
onovy at debian.org
Mon Jan 8 16:46:18 UTC 2018
This is an automated email from the git hooks/post-receive script.
onovy pushed a commit to branch master
in repository python-werkzeug.
commit 0f461f9d6128a5cc9f59709486e12009635369f1
Author: Ondřej Nový <onovy at debian.org>
Date: Mon Jan 8 17:24:31 2018 +0100
Use Python 3 version of Sphinx for building docs
---
debian/changelog | 1 +
debian/control | 2 +-
debian/python-werkzeug-doc.docs | 1 -
debian/rules | 2 +-
4 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 41f36e8..5ebc025 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ python-werkzeug (0.14.1+dfsg1-1) UNRELEASED; urgency=medium
* New upstream release
* Don't reset http{,s}_proxy, pybuild sets it correctly
* d/rules: Use dh_missing --fail-missing
+ * Use Python 3 version of Sphinx for building docs
-- Ondřej Nový <onovy at debian.org> Sat, 09 Dec 2017 20:04:09 +0100
diff --git a/debian/control b/debian/control
index 9dbdc0e..84ca193 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Python Modules Packaging Team <python-modules-team at lists.alioth.debi
Uploaders: Piotr Ożarowski <piotr at debian.org>,
Ondřej Nový <onovy at debian.org>,
Standards-Version: 4.1.2
-Build-Depends: debhelper (>= 10), dh-python, python-sphinx,
+Build-Depends: debhelper (>= 10), dh-python, python3-sphinx,
python-all, python3-all,
python-setuptools, python3-setuptools,
python-doc,
diff --git a/debian/python-werkzeug-doc.docs b/debian/python-werkzeug-doc.docs
deleted file mode 100644
index 4ecc793..0000000
--- a/debian/python-werkzeug-doc.docs
+++ /dev/null
@@ -1 +0,0 @@
-docs/_build/html
diff --git a/debian/rules b/debian/rules
index c8a82fc..2e9f202 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,7 +28,7 @@ override_dh_auto_test:
override_dh_auto_install:
dh_auto_install
- make documentation
+ PYTHONPATH=. sphinx-build -b html docs/ debian/python-werkzeug-doc/usr/share/doc/python-werkzeug-doc/html/
override_dh_fixperms:
find debian/ -name '*\.png' -exec chmod -x '{}' \;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-werkzeug.git
More information about the Python-modules-commits
mailing list