[Python-modules-commits] [speaklater] 01/10: Add Python3 support

Jan Dittberner jandd at moszumanska.debian.org
Sun Jan 24 13:40:43 UTC 2016


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

jandd pushed a commit to branch master
in repository speaklater.

commit cd6057faa0798632ae24484c9833a96c29fd0d00
Author: Jan Dittberner <jandd at debian.org>
Date:   Fri Nov 13 17:25:14 2015 +0100

    Add Python3 support
---
 debian/changelog |  7 +++++++
 debian/control   | 30 +++++++++++++++++++++++-------
 debian/rules     |  2 +-
 3 files changed, 31 insertions(+), 8 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 291ae25..d843ed6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+speaklater (1.3-3) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Add Python3 support
+
+ -- Jan Dittberner <jandd at debian.org>  Fri, 13 Nov 2015 17:24:29 +0100
+
 speaklater (1.3-2) unstable; urgency=low
 
   * Upload to unstable.
diff --git a/debian/control b/debian/control
index abd6929..db3c6a4 100644
--- a/debian/control
+++ b/debian/control
@@ -3,12 +3,14 @@ Section: python
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Sebastian Ramacher <sramacher at debian.org>
-Build-Depends:
- debhelper (>= 9),
- python-all (>= 2.6.6-6~),
- python-setuptools,
- python-epydoc
+Build-Depends: debhelper (>= 9),
+               python-all (>= 2.6.6-6~),
+               python-epydoc,
+               python-setuptools,
+               python3-all,
+               python3-setuptools
 X-Python-Version: >= 2.5
+X-Python3-Version: >= 3.4
 Standards-Version: 3.9.4
 Vcs-Git: git://anonscm.debian.org/python-modules/packages/speaklater.git
 Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/speaklater.git
@@ -16,13 +18,27 @@ Homepage: http://github.com/mitsuhiko/speaklater
 
 Package: python-speaklater
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}
+Depends: ${misc:Depends}, ${python:Depends}
 Suggests: python-speaklater-doc
-Description: lazy string useful for translations
+Description: lazy string useful for translations for Python 2
  speaklater is a Python module providing an implementation of lazy strings.
  Every time a lazy string is evaluated, it changes its value based on a user
  provided callable. These lazy strings can be useful in combination with
  gettext for translations.
+ .
+ This package contains the Python 2 version of the module.
+
+Package: python3-speaklater
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Suggests: python-speaklater-doc
+Description: lazy string useful for translations for Python 3
+ speaklater is a Python module providing an implementation of lazy strings.
+ Every time a lazy string is evaluated, it changes its value based on a user
+ provided callable. These lazy strings can be useful in combination with
+ gettext for translations.
+ .
+ This package contains the Python 3 version of the module.
 
 Package: python-speaklater-doc
 Architecture: all
diff --git a/debian/rules b/debian/rules
index 1a98cb6..cb28bba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ PYVERS = $(shell pyversions -vr)
 pythonpath = $$(ls -d $(CURDIR)/build/lib.*-$(1))
 
 %:
-	dh $@ --with=python2
+	dh $@ --with=python2,python3
 
 override_dh_auto_build:
 	dh_auto_build

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



More information about the Python-modules-commits mailing list