[med-svn] [python-skbio] 01/09: Initial doc fixing

Kevin Murray daube-guest at moszumanska.debian.org
Mon Nov 30 02:37:52 UTC 2015


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

daube-guest pushed a commit to branch master
in repository python-skbio.

commit f98187add8a74d9b65746d722de8f791f2b008cf
Author: Kevin Murray <spam at kdmurray.id.au>
Date:   Mon Nov 30 00:29:37 2015 +1100

    Initial doc fixing
---
 debian/control                  | 18 +++++++++++++++---
 debian/python-skbio-doc.install |  1 +
 debian/rules                    |  7 +++++--
 3 files changed, 21 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index e7a37f8..465735c 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,7 @@ Build-Depends: debhelper (>= 9),
                dh-python,
                python-all-dev (>= 2.7),
                python3-all-dev,
+               python-sphinx,
                python-setuptools,
                python3-setuptools,
                python-numpy (>= 1:1.9.2),
@@ -30,18 +31,29 @@ Package: python-skbio
 Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         ${python:Depends}
+         ${python:Depends},
+Description: Python data structures, algorithms, educational resources for bioinformatics
+ Scikit-bio is a Python package providing data structures, algorithms, and
+ educational resources for bioinformatics.
+
+Package: python-skbio-doc
+Architecture: all
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         ${sphinxdoc:Depends},
+Recommends:  python-skbio (= ${binary:Version}) | python3-skbio (= ${binary:Version})
+Section: doc
 Description: Python data structures, algorithms, educational resources for bioinformatics
  Scikit-bio is a Python package providing data structures, algorithms, and
  educational resources for bioinformatics.
  .
- It is used as a dependency by various projects including QIIME
+ This is the HTML documentation for skbio (Python 2 or 3).
 
 Package: python3-skbio
 Architecture: any
 Depends: ${shlibs:Depends},
          ${misc:Depends},
-         ${python3:Depends}
+         ${python3:Depends},
 Description: Python3 data structures, algorithms, educational resources for bioinformatic
  Scikit-bio is a Python package providing data structures, algorithms, and
  educational resources for bioinformatics.
diff --git a/debian/python-skbio-doc.install b/debian/python-skbio-doc.install
new file mode 100644
index 0000000..89704cc
--- /dev/null
+++ b/debian/python-skbio-doc.install
@@ -0,0 +1 @@
+doc/_build/ usr/share/doc/python-skbio-doc/
diff --git a/debian/rules b/debian/rules
index abdc964..34737d1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,4 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
@@ -7,7 +6,11 @@
 export PYBUILD_NAME=skbio
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build:
+	dh_auto_build
+	export PYTHONPATH=. ; export http_proxy='127.0.0.1:9'; cd doc && make html
 
 override_dh_auto_test:
 	#Loads of failures at this point.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-skbio.git



More information about the debian-med-commit mailing list