[python-dtcwt] 476/497: add documentation build

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Jul 21 18:06:40 UTC 2015


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

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

commit 1ca2f2c236943c706915d864fdbda995266513ee
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Jul 21 11:37:57 2015 +0100

    add documentation build
---
 debian/control | 12 ++++++++++++
 debian/rules   |  5 ++++-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index b3b3b21..a5fd37d 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Build-Depends: debhelper (>= 9),
                python-all (>= 2.6.6-3),
                python-nose,
                python-setuptools,
+               python-sphinx (>= 1.0.7+dfsg-1~),
                python3-all,
                python3-nose,
                python3-setuptools
@@ -39,3 +40,14 @@ Description: Python port of the Dual-Tree Complex Wavelet Transform (Python 3)
  wavelet transforms and their inverse in Python.
  .
  This package provides the Python 3 version of the library.
+
+Package: python-dtcwt-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends},
+         ${sphinxdoc:Depends}
+Description: Python port of the Dual-Tree Complex Wavelet Transform (Documentation)
+ This library provides support for computing 1D, 2D and 3D dual-tree complex 
+ wavelet transforms and their inverse in Python.
+ .
+ This package provides the documentation of the library.
diff --git a/debian/rules b/debian/rules
index 3ae293f..aeaaaa7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,5 +5,8 @@
 
 export PYBUILD_NAME=dtcwt
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	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

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



More information about the debian-science-commits mailing list