[pyevolve] 67/81: Build documentation using dh_sphinxdoc
Christian Kastner
chrisk-guest at moszumanska.debian.org
Sun Aug 17 21:12:44 UTC 2014
This is an automated email from the git hooks/post-receive script.
chrisk-guest pushed a commit to branch master
in repository pyevolve.
commit 7707f86a750498bfbe572bb2fa86d1461c6e05ab
Author: Christian Kastner <debian at kvr.at>
Date: Tue Mar 4 10:55:23 2014 +0100
Build documentation using dh_sphinxdoc
---
debian/control | 4 ++--
debian/python-pyevolve-doc.links | 1 -
debian/rules | 5 +----
3 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/debian/control b/debian/control
index dc7d68b..1a52427 100644
--- a/debian/control
+++ b/debian/control
@@ -46,10 +46,10 @@ Package: python-pyevolve-doc
Section: doc
Architecture: all
Depends:
+ ${sphinxdoc:Depends},
${misc:Depends}
Recommends:
- python-pyevolve,
- libjs-jquery
+ python-pyevolve
Description: Documentation for the Pyevolve genetic algorithm framework
Pyevolve was developed to be a complete genetic algorithm framework written in
pure Python. It provides an easy-to-use API, implementing the most common
diff --git a/debian/python-pyevolve-doc.links b/debian/python-pyevolve-doc.links
deleted file mode 100644
index 7f198a5..0000000
--- a/debian/python-pyevolve-doc.links
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/javascript/jquery/jquery.js usr/share/doc/python-pyevolve-doc/html/_static/jquery.js
diff --git a/debian/rules b/debian/rules
index f5d72fc..5a15825 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,7 @@ export UPNAME UPVER SVNURL SVNREV
%:
- dh $@ --with python2
+ dh $@ --with python2,sphinxdoc
# Override needed for docs and egg-info
override_dh_auto_clean:
@@ -29,11 +29,8 @@ override_dh_auto_clean:
override_dh_auto_build:
dh_auto_build
cd docs && sphinx-build -E -a -b html ./source ./html
- rm -rf docs/html/.buildinfo
- rm -rf docs/html/.doctrees
rm -rf docs/html/_sources
rm -f docs/html/objects.inv
- rm -f docs/html/_static/jquery.js
# Override needed for multiple binary package;
# script must be renamed, line endings converted to Unix
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyevolve.git
More information about the debian-science-commits
mailing list