[Python-modules-commits] [webtest] 05/05: Generate documentation using Python 3's version of sphinx

Piotr Ożarowski piotr at moszumanska.debian.org
Fri Sep 29 11:00:01 UTC 2017


This is an automated email from the git hooks/post-receive script.

piotr pushed a commit to branch master
in repository webtest.

commit 45f60020ff70f81aa9b176a3fb9966c7c771211c
Author: Piotr Ożarowski <piotr at debian.org>
Date:   Fri Sep 29 12:56:20 2017 +0200

    Generate documentation using Python 3's version of sphinx
---
 debian/changelog | 1 +
 debian/control   | 2 +-
 debian/rules     | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 779ab56..5f65e9b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ webtest (2.0.28-1) unstable; urgency=medium
 
   * New upstream release
   * Standards-Version bumped to 4.1.1 (no changes needed)
+  * Generate documentation using Python 3's version of sphinx
 
  -- Piotr Ożarowski <piotr at debian.org>  Fri, 29 Sep 2017 12:52:31 +0200
 
diff --git a/debian/control b/debian/control
index 38b5f53..641454a 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends-Indep: dh-python, python-all, python3-all,
  python-setuptools, python-webob,
  python3-setuptools, python3-webob,
 # docs & tests
- python-sphinx (>= 1.0.7+dfsg-1~), python-six, python-bs4, python-waitress,
+ python3-sphinx, python3-six, python3-bs4, python3-waitress,
 # tests
 # python-unittest2, python-pyquery
 Standards-Version: 4.1.1
diff --git a/debian/rules b/debian/rules
index 0276c65..f75c5b7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ override_dh_auto_install:
 	dh_auto_install --buildsystem=pybuild
 	mkdir -p docs/_static # Sphinx needs it
 	dh_installdirs
-	http_proxy='http://127.0.0.1:9/' PYTHONPATH=. sphinx-build -N -q -E -b html docs/ debian/python-webtest-doc/usr/share/doc/python-webtest-doc/
+	http_proxy='http://127.0.0.1:9/' PYTHONPATH=. python3 -m sphinx -N -q -E -b html docs/ debian/python-webtest-doc/usr/share/doc/python-webtest-doc/
 	# it's not an extra license file
 	echo "python-webtest-doc: extra-license-file usr/share/doc/python-webtest-doc/_sources/license.txt" \
 		>> debian/python-webtest-doc/usr/share/lintian/overrides/python-webtest-doc

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/webtest.git



More information about the Python-modules-commits mailing list