[Python-modules-commits] [texttable] 01/02: Building and packaging the module against Python 3 as well.

Sergio Durigan Junior sergiodj-guest at moszumanska.debian.org
Wed Jun 22 05:26:52 UTC 2016


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

sergiodj-guest pushed a commit to branch master
in repository texttable.

commit 404faa5b73de40ed19d0d088dec4006aad74a236
Author: Sergio Durigan Junior <sergiodj at sergiodj.net>
Date:   Wed Jun 22 01:18:10 2016 -0400

    Building and packaging the module against Python 3 as well.
---
 debian/control | 20 +++++++++++++++++++-
 debian/rules   |  4 +++-
 2 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 319ea89..fd599e4 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,13 @@ Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.
 Uploaders: Sergio Durigan Junior <sergiodj at sergiodj.net>, Léo Cavaillé <leo at cavaille.net>
 Section: python
 Priority: optional
-Build-Depends: python-all (>= 2.6.6-3), debhelper (>= 9)
+Build-Depends: debhelper (>= 9),
+	       python3-all,
+	       python-all,
+	       dh-python
 Standards-Version: 3.9.8
+X-Python3-Version: >= 3.4
+X-Python-Version: >= 2.7
 Homepage: https://github.com/bufordtaylor/python-texttable
 Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/texttable.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/texttable.git
@@ -17,3 +22,16 @@ Description: Module for creating simple ASCII tables
  characters.
  It provides nice human-readable output for arrays when designing
  a CLI or just output data.
+ .
+ This package contains the Python 2 module.
+
+Package: python3-texttable
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Module for creating simple ASCII tables
+ texttable is a module to generate a formatted text table, using ASCII
+ characters.
+ It provides nice human-readable output for arrays when designing
+ a CLI or just output data.
+ .
+ This package contains the Python 3 module.
diff --git a/debian/rules b/debian/rules
index 4647c9c..3e23730 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,6 @@
 #!/usr/bin/make -f
 
+export PYBUILD_NAME = texttable
+
 %:
-	dh $@ --with python2
+	dh $@ --with python3 --with python2 --buildsystem pybuild

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



More information about the Python-modules-commits mailing list