[med-svn] [python-bz2file] 01/01: Builds also easily with python3 - please check and polish description a bit

Andreas Tille tille at debian.org
Thu May 28 13:21:14 UTC 2015


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

tille pushed a commit to branch master
in repository python-bz2file.

commit fbef15cebce9dde65ba0a2147f423ccf609a7840
Author: Andreas Tille <tille at debian.org>
Date:   Thu May 28 15:20:45 2015 +0200

    Builds also easily with python3 - please check and polish description a bit
---
 debian/control | 19 ++++++++++++++++---
 debian/rules   |  2 +-
 2 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index 7c4914f..bb5d127 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,9 @@ Priority: optional
 Build-Depends: debhelper (>= 9.0.0),
                dh-python,
                python,
-               python-setuptools
+               python-setuptools,
+               python3,
+               python3-setuptools
 Standards-Version: 3.9.5
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/python-bz2file.git
 Vcs-Git: git://anonscm.debian.org/debian-med/python-bz2file.git
@@ -22,5 +24,16 @@ Description: Python library for reading and writing bzip2-compressed files
  library's bz2 module, including features from the latest development version
  of CPython that are not available in older releases.
  .
- Bz2file is compatible with CPython 2.6, 2.7, and 3.0 through 3.4, as well as
- PyPy 2.0.
+ Bz2file for Python2.
+
+Package: python3-bz2file
+Architecture: all
+Depends: ${misc:Depends}
+Description: Python3 library for reading and writing bzip2-compressed files
+ Bz2file is a Python library for reading and writing bzip2-compressed files.
+ .
+ It contains a drop-in replacement for the file interface in the standard
+ library's bz2 module, including features from the latest development version
+ of CPython that are not available in older releases.
+ .
+ Bz2file for Python3.
diff --git a/debian/rules b/debian/rules
index ce8e5e8..c7833a3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ DH_VERBOSE := 1
 export PYBUILD_NAME=bz2file
 
 %:
-	dh $@ --with python2 --buildsystem=pybuild
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
 #get-orig-source:
 #	. debian/get-orig-source

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-bz2file.git



More information about the debian-med-commit mailing list