[fiona] 16/19: Build documentation correctly in pbuilder

Johan Van de Wauw johanvdw-guest at moszumanska.debian.org
Fri Nov 28 23:54:19 UTC 2014


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

johanvdw-guest pushed a commit to branch master
in repository fiona.

commit f18f738bc501fd675c2b9976a9dad3a84f793047
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date:   Sat Nov 29 00:23:32 2014 +0100

    Build documentation correctly in pbuilder
---
 debian/rules | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 7135bf4..36b9145 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,7 @@ export PYBUILD_NAME=fiona
 #test_cli are disabled because they test the tool after installation
 export PYBUILD_BEFORE_TEST = mv {dir}/tests/test_cli.py {dir}/tests/test_cli.py.disabled
 export PYBUILD_AFTER_TEST = mv {dir}/tests/test_cli.py.disabled {dir}/tests/test_cli.py
+export PYBUILD_AFTER_BUILD_python2 = PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html 
 
 %:
 	dh  $@ --with python2,python3,sphinxdoc --buildsystem pybuild
@@ -18,9 +19,5 @@ override_dh_install:
 	rm -rf debian/python-fiona/usr/bin
 	rm -rf debian/python3-fiona/usr/bin
 
-override_dh_auto_build:
-	dh_auto_build
-	PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html 
-
 debian/fiona.1:
 	help2man fiona -N -n "command line tools for reading/writing geospatial vector data" >debian/fiona.1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/fiona.git



More information about the Pkg-grass-devel mailing list