[Python-modules-commits] r22334 - in packages/transifex-client/trunk/debian (7 files)
janos-guest at users.alioth.debian.org
janos-guest at users.alioth.debian.org
Wed Jun 27 12:41:44 UTC 2012
Date: Wednesday, June 27, 2012 @ 12:41:43
Author: janos-guest
Revision: 22334
Release 0.8-1.
Added:
packages/transifex-client/trunk/debian/patches/
packages/transifex-client/trunk/debian/patches/add-test-case-assert-is-for-python26.patch
packages/transifex-client/trunk/debian/patches/series
Modified:
packages/transifex-client/trunk/debian/changelog
packages/transifex-client/trunk/debian/control
packages/transifex-client/trunk/debian/copyright
packages/transifex-client/trunk/debian/rules
Modified: packages/transifex-client/trunk/debian/changelog
===================================================================
--- packages/transifex-client/trunk/debian/changelog 2012-06-27 09:09:58 UTC (rev 22333)
+++ packages/transifex-client/trunk/debian/changelog 2012-06-27 12:41:43 UTC (rev 22334)
@@ -1,3 +1,17 @@
+transifex-client (0.8-1) unstable; urgency=low
+
+ * New upstream release.
+ * Run tests on build:
+ - Override dh_auto_test.
+ - Add python-mock to Build-Depends.
+ - Patch tests to implement TestCase's assertIs method from Python 2.7
+ for Python 2.6 support.
+ * Remove obsolete or incorrect uses of various python related fiels in
+ debian/control
+ * Update Format URI in debian/copyright.
+
+ -- Janos Guljas <janos at resenje.org> Wed, 27 Jun 2012 14:10:08 +0200
+
transifex-client (0.7.3-1) unstable; urgency=low
* New upstream release.
Modified: packages/transifex-client/trunk/debian/control
===================================================================
--- packages/transifex-client/trunk/debian/control 2012-06-27 09:09:58 UTC (rev 22333)
+++ packages/transifex-client/trunk/debian/control 2012-06-27 12:41:43 UTC (rev 22334)
@@ -4,9 +4,10 @@
Maintainer: Janos Guljas <janos at resenje.org>
Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.5), python-setuptools
+Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.5), python-setuptools,
+ python-mock
Standards-Version: 3.9.3
-XS-Python-Version: >= 2.5
+X-Python-Version: >= 2.5
Homepage: http://www.transifex.net/
Vcs-Svn: svn://svn.debian.org/python-modules/packages/transifex-client/trunk
Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/transifex-client/trunk/
@@ -15,7 +16,6 @@
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
Provides: ${python:Provides}
-XB-Python-Version: ${python:Versions}
Description: Command line interface for Transifex
Transifex Command-line Client is a command line tool that enables you to
easily manage your translations within a project without the need of an
Modified: packages/transifex-client/trunk/debian/copyright
===================================================================
--- packages/transifex-client/trunk/debian/copyright 2012-06-27 09:09:58 UTC (rev 22333)
+++ packages/transifex-client/trunk/debian/copyright 2012-06-27 12:41:43 UTC (rev 22334)
@@ -1,4 +1,4 @@
-Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5/index.html?revision=275
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: transifex-client
Upstream-Contact: Indifex Ltd. <info at indifex.com>
Source: http://code.indifex.com/transifex-client
@@ -28,7 +28,7 @@
`/usr/share/common-licenses/GPL-2'.
Files: debian/*
-Copyright: 2011 Janos Guljas <janos at resenje.org>
+Copyright: 2012 Janos Guljas <janos at resenje.org>
License: GPL-2+
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
Added: packages/transifex-client/trunk/debian/patches/add-test-case-assert-is-for-python26.patch
===================================================================
--- packages/transifex-client/trunk/debian/patches/add-test-case-assert-is-for-python26.patch (rev 0)
+++ packages/transifex-client/trunk/debian/patches/add-test-case-assert-is-for-python26.patch 2012-06-27 12:41:43 UTC (rev 22334)
@@ -0,0 +1,20 @@
+Description: Implement TestCase's assertIs method from Python 2.7 to TestOptions class for compatibility with Python 2.6.
+Author: Janos Guljas <janos at resenje.org>
+Last-Update: 2012-06-27
+
+--- a/tests/test_project.py
++++ b/tests/test_project.py
+@@ -472,6 +472,13 @@
+ class TestOptions(unittest.TestCase):
+ """Test the methods related to parsing the configuration file."""
+
++ def assertIs(self, expr1, expr2, msg=None):
++ """Just like self.assertTrue(a is b), but with a nicer default message."""
++ if expr1 is not expr2:
++ standardMsg = '%s is not %s' % (safe_repr(expr1),
++ safe_repr(expr2))
++ self.fail(self._formatMessage(msg, standardMsg))
++
+ def setUp(self):
+ self.p = Project(init=False)
+
Added: packages/transifex-client/trunk/debian/patches/series
===================================================================
--- packages/transifex-client/trunk/debian/patches/series (rev 0)
+++ packages/transifex-client/trunk/debian/patches/series 2012-06-27 12:41:43 UTC (rev 22334)
@@ -0,0 +1 @@
+add-test-case-assert-is-for-python26.patch
Modified: packages/transifex-client/trunk/debian/rules
===================================================================
--- packages/transifex-client/trunk/debian/rules 2012-06-27 09:09:58 UTC (rev 22333)
+++ packages/transifex-client/trunk/debian/rules 2012-06-27 12:41:43 UTC (rev 22334)
@@ -2,3 +2,8 @@
%:
dh $@ --with python2
+
+override_dh_auto_test:
+ set -e; for pyvers in $(shell pyversions -vr); do \
+ python$$pyvers setup.py test; \
+ done
More information about the Python-modules-commits
mailing list