[med-svn] [python3-fitbitscraper] 05/06: Added packaging of Sphinx documentation

Iain Learmonth irl-guest at moszumanska.debian.org
Sun Feb 2 14:05:57 UTC 2014


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

irl-guest pushed a commit to branch master
in repository python3-fitbitscraper.

commit a6ef924f6f109056e6ad60c68f025a3deb49e915
Author: Iain R. Learmonth <irl at fsfe.org>
Date:   Sun Feb 2 13:00:15 2014 +0000

    Added packaging of Sphinx documentation
---
 debian/control                  | 4 ++--
 debian/docs                     | 1 +
 debian/python-markdown-doc.docs | 1 +
 debian/rules                    | 3 ++-
 4 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 06c370d..fe6c091 100644
--- a/debian/control
+++ b/debian/control
@@ -3,15 +3,15 @@ Section: science
 Priority: optional
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Andreas Tille <tille at debian.org>, Iain R. Learmonth <irl at fsfe.org>
-Build-Depends: debhelper (>= 9), dh-python, python3 | python3-all | python3-dev | python3-all-dev, python3-setuptools
+Build-Depends: debhelper (>= 9), dh-python, python3 | python3-all | python3-dev | python3-all-dev, python3-setuptools, python-docutils, python-sphinx (>= 1.0.7+dfsg-1~)
 Standards-Version: 3.9.5
 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/<pkg>/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/<pkg>/trunk/
 Homepage: https://github.com/irl/python-fitbitscraper/
+X-Python3-Version: >= 3.2 
 
 Package: python3-fitbitscraper
 Architecture: any
-X-Python3-Version: >= 3.2 
 Depends: ${python3:Depends}, ${misc:Depends}
 Description: Python library for scraping the FitBit website for data
  A Python library for scraping steps data and sleep quality data from
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..6d28621
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+build/html
diff --git a/debian/python-markdown-doc.docs b/debian/python-markdown-doc.docs
new file mode 100644
index 0000000..6d28621
--- /dev/null
+++ b/debian/python-markdown-doc.docs
@@ -0,0 +1 @@
+build/html
diff --git a/debian/rules b/debian/rules
index 35fa728..79f2753 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,10 +6,11 @@ export PYBUILD_NAME=fitbitscraper
 override_dh_auto_install:
 	dh_auto_install
 	python setup.py install --root=debian/$(PYBUILD_NAME) --install-layout=deb --install-lib=/usr/share/$(PYBUILD_NAME) --install-scripts=/usr/share/$(PYBUILD_NAME)
+	PYTHONPATH=. http_proxy='localhost' sphinx-build -N -bhtml doc/ build/html
 
 override_dh_auto_build:
 
 %:
-	dh $@ --with python3 --buildsystem=pybuild
+	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
 
 

-- 
Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/python3-fitbitscraper.git



More information about the debian-med-commit mailing list