[h5py] 04/08: Move documentation generation to arch-indep targets.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Jan 24 11:54:26 UTC 2016


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

ghisvail-guest pushed a commit to branch debian/sid
in repository h5py.

commit 782930c7f168f2c4727798119d7d462145a8ee9a
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Fri Jan 22 19:23:45 2016 +0000

    Move documentation generation to arch-indep targets.
---
 debian/control |  2 +-
 debian/rules   | 13 ++++++++-----
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index 6c286ee..99ef2e8 100644
--- a/debian/control
+++ b/debian/control
@@ -18,7 +18,6 @@ Build-Depends: cython (>= 0.17-1~),
                python-pkgconfig,
                python-setuptools,
                python-six,
-               python-sphinx (>= 1.0.7+dfsg-1~),
                python3-all-dbg,
                python3-all-dev,
                python3-numpy (>= 1:1.7.1-1~),
@@ -26,6 +25,7 @@ Build-Depends: cython (>= 0.17-1~),
                python3-pkgconfig,
                python3-setuptools,
                python3-six
+Build-Depends-Indep: python-sphinx (>= 1.0.7+dfsg-1~)
 Standards-Version: 3.9.6
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/h5py.git
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/h5py.git
diff --git a/debian/rules b/debian/rules
index 38b358e..ad52fd9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,11 +8,7 @@ export PYBUILD_AFTER_INSTALL_python2=dh_numpy
 export PYBUILD_AFTER_INSTALL_python3=dh_numpy3
 
 %:
-	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
-
-override_dh_auto_build:
-	dh_auto_build
-	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_auto_clean:
 	dh_auto_clean
@@ -25,3 +21,10 @@ override_dh_auto_clean:
 	$(RM) h5py/_hdf5.pxd 
 	$(RM) h5py/defs.pxd
 	$(RM) h5py/defs.pyx
+
+override_dh_auto_build-indep:
+	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html
+
+override_dh_installdocs-indep:
+	dh_installdocs --indep
+	dh_sphinxdoc --indep

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



More information about the debian-science-commits mailing list