summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy T. Bouse <jbouse@debian.org>2014-09-22 14:59:12 -0400
committerJeremy T. Bouse <jbouse@debian.org>2014-09-23 13:29:49 -0400
commitb17cca8f072ffaa2684b2670c19159e92e5bb375 (patch)
tree65d60523d29ba0969cf74e6fd85b9a549775d35e
parent8c1c23293817fa89fd807160a391ac6ed0be3771 (diff)
downloadpython-paramiko-b17cca8f072ffaa2684b2670c19159e92e5bb375.tar
python-paramiko-b17cca8f072ffaa2684b2670c19159e92e5bb375.tar.gz
Move from epydoc to sphinx for doc build
-rw-r--r--debian/control5
-rw-r--r--debian/paramiko-doc.links2
-rwxr-xr-xdebian/rules2
3 files changed, 6 insertions, 3 deletions
diff --git a/debian/control b/debian/control
index f9ee4fb..64cf741 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,8 @@ Build-Depends: debhelper (>> 9),
python-crypto (>= 2.1.0-2),
python-ecdsa (>= 0.11),
python-setuptools,
- python-epydoc,
+ python-sphinx,
+ python-alabaster,
python3-all,
python3-crypto,
python3-ecdsa (>= 0.11),
@@ -26,7 +27,7 @@ Package: paramiko-doc
Package-Type: deb
Section: doc
Architecture: all
-Depends: ${misc:Depends}
+Depends: libjs-jquery, libjs-underscore, ${misc:Depends}
Breaks: python-paramiko (<< 1.10.1-1~)
Replaces: python-paramiko (<< 1.10.1-1~)
Description: Make ssh v2 connections with Python (Documentation)
diff --git a/debian/paramiko-doc.links b/debian/paramiko-doc.links
new file mode 100644
index 0000000..dd85f47
--- /dev/null
+++ b/debian/paramiko-doc.links
@@ -0,0 +1,2 @@
+usr/share/javascript/jquery/jquery.js usr/share/doc/paramiko-doc/html/_static/jquery.js
+usr/share/javascript/underscore/underscore.js usr/share/doc/paramiko-doc/html/_static/underscore.js
diff --git a/debian/rules b/debian/rules
index f6bd7b6..9c04662 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ export PYBUILD_NAME=paramiko
override_dh_installdocs:
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
- epydoc --no-private -o html/ paramiko
+ sphinx-build sites/docs html
endif
dh_installdocs