[Python-modules-commits] [python-pika] 05/15: Add Python 3 support (Closes: #809315)

Jan Dittberner jandd at moszumanska.debian.org
Wed Dec 30 13:39:27 UTC 2015


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

jandd pushed a commit to branch master
in repository python-pika.

commit 244fa549e7a1b3710e5caeaf1ad91f6df1d16230
Author: Jan Dittberner <jandd at debian.org>
Date:   Wed Dec 30 12:02:25 2015 +0100

    Add Python 3 support (Closes: #809315)
---
 debian/changelog |  1 +
 debian/control   | 22 +++++++++++++++++++++-
 debian/rules     |  4 ++--
 3 files changed, 24 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 00b2172..b180b2c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ python-pika (0.10.0-1) UNRELEASED; urgency=medium
 
   * New upstream version (Closes: #796543)
   * Update copyright years
+  * Add Python 3 support (Closes: #809315)
 
  -- Jan Dittberner <jandd at debian.org>  Wed, 30 Dec 2015 11:45:36 +0100
 
diff --git a/debian/control b/debian/control
index 25a687f..3b6e3a0 100644
--- a/debian/control
+++ b/debian/control
@@ -12,9 +12,16 @@ Build-Depends: debhelper (>= 9),
                python-setuptools,
                python-tornado,
                python-twisted,
-               python-yaml
+               python-yaml,
+               python3,
+               python3-nose,
+               python3-setuptools,
+               python3-tornado,
+               python3-twisted,
+               python3-yaml
 Standards-Version: 3.9.5
 X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.4
 Homepage: http://pika.github.com/
 Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-pika.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-pika.git
@@ -27,3 +34,16 @@ Description: AMQP client library
  stay fairly independent of the underlying network support library. Pika was
  developed primarily for use with RabitMQ, but also works with other
  AMQP-0-9-1 brokers.
+ .
+ This is the Python 2 version of the library.
+
+Package: python3-pika
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: AMQP client library
+ Pika is a pure-Python implementation of the AMQP-0-9-1 protocol that tries to
+ stay fairly independent of the underlying network support library. Pika was
+ developed primarily for use with RabitMQ, but also works with other
+ AMQP-0-9-1 brokers.
+ .
+ This is the Python 3 version of the library.
diff --git a/debian/rules b/debian/rules
index ff400bd..8fbcfe3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,9 @@
 #!/usr/bin/make -f
 
-PYBUILD_NAME=python-pika
+PYBUILD_NAME=pika
 
 %:
-	dh $@ --with python2 --buildsystem=pybuild
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_installchangelogs:
 	dh_installchangelogs docs/version_history.rst

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



More information about the Python-modules-commits mailing list