[Python-modules-commits] [python-getdns] 07/09: Add python3 support and split docs/examples into python-getdns-doc.
Scott Kitterman
kitterman at moszumanska.debian.org
Tue Dec 29 19:45:25 UTC 2015
This is an automated email from the git hooks/post-receive script.
kitterman pushed a commit to branch master
in repository python-getdns.
commit d365cfcf23d5c415d0d03a97a79b7d130544adbd
Author: Scott Kitterman <scott at kitterman.com>
Date: Tue Dec 29 14:19:55 2015 -0500
Add python3 support and split docs/examples into python-getdns-doc.
---
debian/changelog | 6 ++++
debian/control | 41 ++++++++++++++++++++--
debian/copyright | 2 +-
.../{python-getdns.docs => python-getdns-doc.docs} | 0
...-getdns.examples => python-getdns-doc.examples} | 0
debian/rules | 6 ++--
6 files changed, 50 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index f164952..e08b2c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,12 @@ python-getdns (0.5.0-1) UNRELEASED; urgency=medium
* Agreed maintainer change to DPMT
- Update maintainer/uploaders and point to DPMT git repository in debian/
control
+ * Add support for python3
+ - Create new python3-getdns binary
+ - Split documentation and examples into separate python-getdns-doc package
+ so they are not duplicated
+ - Adjust debian/rules and install files
+ * Update copyright year in debian/copyright
-- Scott Kitterman <scott at kitterman.com> Tue, 29 Dec 2015 12:52:27 -0500
diff --git a/debian/control b/debian/control
index ff40c42..4eb4c5c 100644
--- a/debian/control
+++ b/debian/control
@@ -11,9 +11,11 @@ Build-Depends: debhelper (>= 9~),
libgetdns-dev (>= 0.1.7~),
libldns-dev,
python-all-dev (>= 2.6.6-3~),
+ python3-all-dev,
python-docutils,
python-setuptools,
- python-sphinx (>= 1.0.7+dfsg-1~)
+ python3-setuptools,
+ python-sphinx (>= 1.0.7+dfsg-1~),
Standards-Version: 3.9.6
Homepage: http://getdnsapi.org/
Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-getdns.git
@@ -24,7 +26,7 @@ Architecture: any
Depends: ${misc:Depends},
${python:Depends},
${shlibs:Depends}
-Recommends: ${sphinxdoc:Depends}
+Suggests: python-getdns-doc
Description: modern asynchronous DNS API (python bindings)
getdns is a modern asynchronous DNS API. It implements DNS entry
points from a design developed and vetted by application developers,
@@ -36,3 +38,38 @@ Description: modern asynchronous DNS API (python bindings)
applications.
.
This package contains python bindings for the library.
+
+Package: python3-getdns
+Architecture: any
+Depends: ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends}
+Suggests: python-getdns-doc
+Description: modern asynchronous DNS API (python 3 bindings)
+ getdns is a modern asynchronous DNS API. It implements DNS entry
+ points from a design developed and vetted by application developers,
+ in an API specification edited by Paul Hoffman. With the development
+ of this API, we intend to offer application developers a modernized
+ and flexible way to access DNS security (DNSSEC) and other powerful
+ new DNS features; a particular hope is to inspire application
+ developers towards innovative security solutions in their
+ applications.
+ .
+ This package contains python 3 bindings for the library.
+
+Package: python-getdns-doc
+Architecture: any
+Depends: ${misc:Depends},
+ ${sphinxdoc:Depends}
+Suggests: python-getdns | python3-getdns
+Description: modern asynchronous DNS API (documentation)
+ getdns is a modern asynchronous DNS API. It implements DNS entry
+ points from a design developed and vetted by application developers,
+ in an API specification edited by Paul Hoffman. With the development
+ of this API, we intend to offer application developers a modernized
+ and flexible way to access DNS security (DNSSEC) and other powerful
+ new DNS features; a particular hope is to inspire application
+ developers towards innovative security solutions in their
+ applications.
+ .
+ This package contains documentation for the python bindings.
diff --git a/debian/copyright b/debian/copyright
index 47decab..f3ea077 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,7 +3,7 @@ Upstream-Name: getdns-python-bindings
Source: https://github.com/getdnsapi/getdns-python-bindings
Files: *
-Copyright: 2014, Verisign, Inc., NLnet Labs
+Copyright: 2014,2015, Verisign, Inc., NLnet Labs
License: BSD-3-clause
Files: debian/*
diff --git a/debian/python-getdns.docs b/debian/python-getdns-doc.docs
similarity index 100%
rename from debian/python-getdns.docs
rename to debian/python-getdns-doc.docs
diff --git a/debian/python-getdns.examples b/debian/python-getdns-doc.examples
similarity index 100%
rename from debian/python-getdns.examples
rename to debian/python-getdns-doc.examples
diff --git a/debian/rules b/debian/rules
index ed2f4ad..e341efc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,8 +3,10 @@
export PYBUILD_NAME=getdns
%:
- dh $@ --with python2,sphinxdoc --buildsystem=pybuild
+ dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_build:
- dh_auto_build
+ dh_auto_build -a
+
+build-indep:
PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/ build/html
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-getdns.git
More information about the Python-modules-commits
mailing list