[spyder] 11/13: Update build override for the documentation

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Jan 24 18:33:36 UTC 2017


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

ghisvail-guest pushed a commit to branch master
in repository spyder.

commit e810ddb1aa95b51181dfdaf6866bb3699251f9f6
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Jan 24 12:38:06 2017 +0000

    Update build override for the documentation
    
    Following https://wiki.debian.org/Python/LibraryStyleGuide
    
    Gbp-Dch: full
---
 debian/rules | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 5c88d52..01023f0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,10 +12,12 @@ export PYBUILD_AFTER_INSTALL=rm -rf {destdir}/usr/bin/ {destdir}/usr/share
 %:
 	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='localhost' sphinx-build -N -bhtml doc/ build/html  # HTML generator
-	PYTHONPATH=. http_proxy='localhost' sphinx-build -N -bman doc/ build/man  # HTML generator
+	PYTHONPATH=. sphinx-build -N -b html doc build/html
+	PYTHONPATH=. sphinx-build -N -b man doc build/man
 
 override_dh_auto_install:
 	dh_auto_install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/spyder.git



More information about the debian-science-commits mailing list