[Python-modules-commits] [txzmq] 09/11: Add Python3 support through separate binary package.

Michael Fladischer fladi at moszumanska.debian.org
Fri May 20 18:06:29 UTC 2016


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

fladi pushed a commit to branch master
in repository txzmq.

commit 9107e189f73fda712af1d97849fe541167caa70a
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Fri May 20 19:45:20 2016 +0200

    Add Python3 support through separate binary package.
---
 debian/changelog |  1 +
 debian/control   | 24 ++++++++++++++++++++++--
 debian/rules     |  3 ++-
 3 files changed, 25 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 327c7d7..088a457 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ txzmq (0.7.4-1) UNRELEASED; urgency=low
   * Bump Standards-Version to 3.9.8.
   * Remove version requirement from python-all for Build-Depends.
   * Reformat packaging files with cme for better readability.
+  * Add Python3 support through separate binary package.
 
  -- Michael Fladischer <fladi at debian.org>  Fri, 20 May 2016 17:52:17 +0200
 
diff --git a/debian/control b/debian/control
index f313979..94db084 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,8 @@ Section: python
 Priority: optional
 Build-Depends: debhelper (>= 9),
                dh-python,
-               python-all
+               python-all,
+               python3-all
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/txzmq.git
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/txzmq.git
@@ -20,10 +21,29 @@ Depends: python-twisted-core,
          python-zope.interface,
          ${misc:Depends},
          ${python:Depends}
-Description: Python module providing ZeroMQ binding for the Twisted framework
+Description: Python module providing ZeroMQ binding for the Twisted framework (Python2 version)
  txZMQ allows one to integrate easily 0MQ sockets into Twisted event loop
  (reactor).
  .
  0MQ is a high performance asynchronous brokerless messaging library.
  .
  Twisted is an event-based framework for internet applications.
+ .
+ This package contains the Python 2 version of the library.
+
+Package: python3-txzmq
+Architecture: all
+Depends: python3-twisted,
+         python3-zmq (>= 13),
+         python3-zope.interface,
+         ${misc:Depends},
+         ${python3:Depends}
+Description: Python module providing ZeroMQ binding for the Twisted framework (Python3 version)
+ txZMQ allows one to integrate easily 0MQ sockets into Twisted event loop
+ (reactor).
+ .
+ 0MQ is a high performance asynchronous brokerless messaging library.
+ .
+ Twisted is an event-based framework for internet applications.
+ .
+ This package contains the Python 3 version of the library.
diff --git a/debian/rules b/debian/rules
index 8080859..fb9c8fb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,6 @@
 #!/usr/bin/make -f
 
+export PYBUILD_NAME=txzmq
 export PYBUILD_DISABLE=test
 %:
-	dh $@ --with python2 --buildsystem=pybuild
+	dh $@ --with python2,python3 --buildsystem=pybuild

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



More information about the Python-modules-commits mailing list