summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-04-03 00:43:39 +0000
committerTim Harder <radhermit@gentoo.org>2014-04-03 00:43:39 +0000
commit998cb5656f8a4cd23e38cac7e3e0162eb1321088 (patch)
tree92f9f31788890b237298435b7c5be5c76223c14a /net-zope/zope-fixers
parentVersion bump. (diff)
downloadgentoo-2-998cb5656f8a4cd23e38cac7e3e0162eb1321088.tar.gz
gentoo-2-998cb5656f8a4cd23e38cac7e3e0162eb1321088.tar.bz2
gentoo-2-998cb5656f8a4cd23e38cac7e3e0162eb1321088.zip
Add python3_4 support and fix tests (bug #457048).
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'net-zope/zope-fixers')
-rw-r--r--net-zope/zope-fixers/ChangeLog6
-rw-r--r--net-zope/zope-fixers/files/zope-fixers-1.1.2-tests.patch11
-rw-r--r--net-zope/zope-fixers/zope-fixers-1.1.2.ebuild6
3 files changed, 20 insertions, 3 deletions
diff --git a/net-zope/zope-fixers/ChangeLog b/net-zope/zope-fixers/ChangeLog
index 439557c54d3e..c1495a8b6556 100644
--- a/net-zope/zope-fixers/ChangeLog
+++ b/net-zope/zope-fixers/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-zope/zope-fixers
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope-fixers/ChangeLog,v 1.17 2014/03/31 21:14:22 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope-fixers/ChangeLog,v 1.18 2014/04/03 00:43:38 radhermit Exp $
+
+ 03 Apr 2014; Tim Harder <radhermit@gentoo.org> zope-fixers-1.1.2.ebuild,
+ +files/zope-fixers-1.1.2-tests.patch:
+ Add python3_4 support and fix tests (bug #457048).
31 Mar 2014; Michał Górny <mgorny@gentoo.org> zope-fixers-1.0-r1.ebuild,
zope-fixers-1.1.2.ebuild:
diff --git a/net-zope/zope-fixers/files/zope-fixers-1.1.2-tests.patch b/net-zope/zope-fixers/files/zope-fixers-1.1.2-tests.patch
new file mode 100644
index 000000000000..a2646cc5f9fb
--- /dev/null
+++ b/net-zope/zope-fixers/files/zope-fixers-1.1.2-tests.patch
@@ -0,0 +1,11 @@
+--- zope.fixers-1.1.2/zope/fixers/tests.py
++++ zope.fixers-1.1.2/zope/fixers/tests.py
+@@ -300,7 +300,7 @@
+ msg += "\nFailed:\n" + refactored[i:]
+ msg += "\nTarget:\n" + target[i:]
+ # Make spaces and tabs visible:
+- msg = msg.replace(' ', '°')
++ msg = msg.replace(' ', '-')
+ msg = msg.replace('\t', '------->')
+ msg = ("Test failed at character %i" % i) + msg
+ self.fail(msg)
diff --git a/net-zope/zope-fixers/zope-fixers-1.1.2.ebuild b/net-zope/zope-fixers/zope-fixers-1.1.2.ebuild
index 483c144848ac..88597fa0e944 100644
--- a/net-zope/zope-fixers/zope-fixers-1.1.2.ebuild
+++ b/net-zope/zope-fixers/zope-fixers-1.1.2.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope-fixers/zope-fixers-1.1.2.ebuild,v 1.4 2014/03/31 21:14:22 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope-fixers/zope-fixers-1.1.2.ebuild,v 1.5 2014/04/03 00:43:38 radhermit Exp $
EAPI=5
-PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy pypy2_0 )
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} pypy pypy2_0 )
inherit distutils-r1
@@ -28,6 +28,8 @@ S="${WORKDIR}/${MY_P}"
DOCS=( CHANGES.txt README.txt )
+PATCHES=( "${FILESDIR}"/${P}-tests.patch )
+
python_test() {
esetup.py test
}