[Python-modules-commits] [pg8000] 02/04: Revert "Revert "Add sphinxdoc.""

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 5fc75d7dae1d30f0d02b531c1d3fb934bb8b485a
Author: Dominik George <nik at naturalnet.de>
Date:   Thu Oct 13 11:06:59 2016 +0200

    Revert "Revert "Add sphinxdoc.""
    
    This reverts commit 841f27f347c17f878662fc81a180710915f9811a.
---
 debian/control | 21 +++++++++++++++++++++
 debian/rules   |  2 +-
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 22683fd..a5a2d58 100644
--- a/debian/control
+++ b/debian/control
@@ -11,9 +11,11 @@ Build-Depends:
  python-all,
  python-setuptools,
  python-six,
+ python-sphinx,
  python3-all,
  python3-setuptools,
  python3-six,
+ python3-sphinx,
 Standards-Version: 3.9.8
 Testsuite: autopkgtest-pkg-python
 Homepage: https://github.com/mfenniak/pg8000
@@ -25,6 +27,7 @@ Architecture: all
 Depends:
  ${misc:Depends},
  ${python:Depends},
+Suggests: python-pg8000-doc
 Description: Pure-Python PostgreSQL Driver (Python 2)
  pg8000 is a Pure-Python interface to the PostgreSQL database engine.  It is
  one of many PostgreSQL interfaces for the Python programming language. pg8000
@@ -43,6 +46,7 @@ Architecture: all
 Depends:
  ${misc:Depends},
  ${python3:Depends},
+Suggests: python-pg8000-doc
 Description: Pure-Python PostgreSQL Driver (Python 3)
  pg8000 is a Pure-Python interface to the PostgreSQL database engine.  It is
  one of many PostgreSQL interfaces for the Python programming language. pg8000
@@ -55,3 +59,20 @@ Description: Pure-Python PostgreSQL Driver (Python 3)
  PostgreSQL interface for Python.
  .
  This package contains the Python 3 version.
+
+Package: python-pg8000-doc
+Architecture: all
+Section: doc
+Depends: ${sphinxdoc:Depends}, ${misc:Depends}
+Description: Pure-Python PostgreSQL Driver (documentation)
+ pg8000 is a Pure-Python interface to the PostgreSQL database engine.  It is
+ one of many PostgreSQL interfaces for the Python programming language. pg8000
+ is somewhat distinctive in that it is written entirely in Python and does not
+ rely on any external libraries (such as a compiled Python module, or
+ PostgreSQL's libpq library). pg8000 supports the standard Python DB-API
+ version 2.0.
+ .
+ pg8000's name comes from the belief that it is probably about the 8000th
+ PostgreSQL interface for Python.
+ .
+ This package contains the documentation for the library.
diff --git a/debian/rules b/debian/rules
index 15b013f..29b3c45 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,4 +7,4 @@
 export PYBUILD_NAME=pg8000
 
 %:
-	dh $@ --with python2,python3 --buildsystem=pybuild
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild

-- 
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