[Python-modules-commits] [python-stdnum] 03/06: Use Python3 version to build Sphinx documentation

Arthur de Jong adejong at moszumanska.debian.org
Sat Jan 6 18:30:51 UTC 2018


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

adejong pushed a commit to branch master
in repository python-stdnum.

commit bc50e1ee96a555c879a6b62af4b86e2b44c5eb95
Author: Arthur de Jong <adejong at debian.org>
Date:   Sat Jan 6 18:11:54 2018 +0100

    Use Python3 version to build Sphinx documentation
---
 debian/changelog | 3 ++-
 debian/control   | 2 +-
 debian/rules     | 4 +++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 097b297..5439ad1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,8 +18,9 @@ python-stdnum (1.8.1-1) UNRELEASED; urgency=medium
       available for compatibility)
     - add tests for web services (not normally run to avoid unnecessary load)
     - fixes and improvement to the sample online validation service
+  * Use Python3 version to build Sphinx documentation
 
- -- Arthur de Jong <adejong at debian.org>  Sat, 06 Jan 2018 17:55:45 +0100
+ -- Arthur de Jong <adejong at debian.org>  Sat, 06 Jan 2018 18:11:54 +0100
 
 python-stdnum (1.7-1) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index 2b5d3ac..83640bb 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends: python-all (>= 2.6.6-3~), python3-all (>= 3.1.2-10~),
                debhelper (>= 9), dh-python,
                python-setuptools, python3-setuptools,
                python-nose (>= 1.2.0), python3-nose (>= 1.2.0),
-               python-sphinx (>= 1.0.7+dfsg)
+               python3-sphinx (>= 1.0.7+dfsg)
 X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.0
 Homepage: https://arthurdejong.org/python-stdnum/
diff --git a/debian/rules b/debian/rules
index 5b4cab6..692b856 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,9 +10,11 @@ export PYBUILD_NAME = stdnum
 %:
 	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
+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=. http_proxy='127.0.0.1:9' sphinx-build -N -b html docs/ build/html
+	PYTHONPATH=. sphinx-build -N -b html docs/ build/html
 
 override_dh_auto_test:
 	dh_auto_test -- --system=custom --test-args='TZ=Europe/Amsterdam {interpreter} setup.py nosetests'

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



More information about the Python-modules-commits mailing list