[Python-modules-commits] [pg8000] 03/04: Try to fix doc package.

Dominik George natureshadow-guest at moszumanska.debian.org
Thu Oct 13 10:59:06 UTC 2016


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

natureshadow-guest pushed a commit to branch master
in repository pg8000.

commit 06149d2e471ff64256cae22165a5b5d66fcaa9dd
Author: Dominik George <nik at naturalnet.de>
Date:   Thu Oct 13 11:15:38 2016 +0200

    Try to fix doc package.
---
 debian/changelog                  | 3 ++-
 debian/python-pg8000-doc.doc-base | 8 ++++++++
 debian/python-pg8000-doc.docs     | 1 +
 debian/python-pg8000-doc.links    | 2 ++
 debian/rules                      | 4 ++++
 5 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 08b064d..93c1080 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,8 +8,9 @@ pg8000 (1.10.6-1) unstable; urgency=medium
     + Bump Standards-Version (no changes needed).
   * Move to team maintenance under DPMT.
   * Add myself to Uploaders.
+  * Enable sphinxdoc and build -doc package.
 
- -- Dominik George <nik at naturalnet.de>  Wed, 12 Oct 2016 10:31:13 +0200
+ -- Dominik George <nik at naturalnet.de>  Thu, 13 Oct 2016 11:15:09 +0200
 
 pg8000 (1.10.2-1) unstable; urgency=low
 
diff --git a/debian/python-pg8000-doc.doc-base b/debian/python-pg8000-doc.doc-base
new file mode 100644
index 0000000..38cfa39
--- /dev/null
+++ b/debian/python-pg8000-doc.doc-base
@@ -0,0 +1,8 @@
+Document: python-pg8000-api-reference
+Title: Pg8000: API reference and quick start
+Abstract: API reference and guides for the pg8000 Python Postgres library
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-pg8000-doc/html/index.html
+Files: /usr/share/doc/python-pg8000-doc/html/*
diff --git a/debian/python-pg8000-doc.docs b/debian/python-pg8000-doc.docs
new file mode 100644
index 0000000..f85adaf
--- /dev/null
+++ b/debian/python-pg8000-doc.docs
@@ -0,0 +1 @@
+build/sphinx/html/
diff --git a/debian/python-pg8000-doc.links b/debian/python-pg8000-doc.links
new file mode 100644
index 0000000..e374343
--- /dev/null
+++ b/debian/python-pg8000-doc.links
@@ -0,0 +1,2 @@
+usr/share/javascript/jquery/jquery.js usr/share/doc/python-pg8000-doc/html/_static/jquery.js
+usr/share/javascript/underscore/underscore.js usr/share/doc/python-pg8000-doc/html/_static/underscore.js
diff --git a/debian/rules b/debian/rules
index 29b3c45..cb93517 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,3 +8,7 @@ export PYBUILD_NAME=pg8000
 
 %:
 	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_installdocs:
+	python setup.py build_sphinx
+	dh_installdocs

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



More information about the Python-modules-commits mailing list