diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-09-24 20:09:13 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-09-24 20:09:13 +0000 |
commit | 622c03d43254e0b66fb0dd2f6fdd1d215ff970c1 (patch) | |
tree | fd94130971e72db2ef5d6ed58449ebd00f563bb7 /dev-python | |
parent | Stable on amd64 wrt bug #338092 (diff) | |
download | gentoo-2-622c03d43254e0b66fb0dd2f6fdd1d215ff970c1.tar.gz gentoo-2-622c03d43254e0b66fb0dd2f6fdd1d215ff970c1.tar.bz2 gentoo-2-622c03d43254e0b66fb0dd2f6fdd1d215ff970c1.zip |
Fix majority of test failures with Python 2.7 (bug #330713).
(Portage version: 2.2_rc86_p7/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/sympy/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/sympy/files/sympy-0.6.7-python-2.7.patch | 24 | ||||
-rw-r--r-- | dev-python/sympy/sympy-0.6.7.ebuild | 4 |
3 files changed, 32 insertions, 2 deletions
diff --git a/dev-python/sympy/ChangeLog b/dev-python/sympy/ChangeLog index faaeec453b9a..d950df8382db 100644 --- a/dev-python/sympy/ChangeLog +++ b/dev-python/sympy/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/sympy # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sympy/ChangeLog,v 1.10 2010/04/16 01:47:31 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sympy/ChangeLog,v 1.11 2010/09/24 20:09:13 arfrever Exp $ + + 24 Sep 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + sympy-0.6.7.ebuild, +files/sympy-0.6.7-python-2.7.patch: + Fix majority of test failures with Python 2.7 (bug #330713). *sympy-0.6.7 (16 Apr 2010) diff --git a/dev-python/sympy/files/sympy-0.6.7-python-2.7.patch b/dev-python/sympy/files/sympy-0.6.7-python-2.7.patch new file mode 100644 index 000000000000..02ad294df1ef --- /dev/null +++ b/dev-python/sympy/files/sympy-0.6.7-python-2.7.patch @@ -0,0 +1,24 @@ +http://github.com/sympy/sympy/commit/717516b8ffae806cdfdea8141ceb839107d92431 + +--- sympy/printing/pretty/stringpict.py ++++ sympy/printing/pretty/stringpict.py +@@ -81,7 +81,7 @@ + return '\n'.join(result), newBaseline + + def right(self, *args): +- """Put pictures next to this one. ++ r"""Put pictures next to this one. + Returns string, baseline arguments for stringPict. + (Multiline) strings are allowed, and are given a baseline of 0. + >>> from sympy.printing.pretty.stringpict import stringPict +--- sympy/utilities/runtests.py ++++ sympy/utilities/runtests.py +@@ -778,7 +778,7 @@ + def start(self): + self.write_center("test process starts") + executable = sys.executable +- v = sys.version_info ++ v = tuple(sys.version_info) + python_version = "%s.%s.%s-%s-%s" % v + self.write("executable: %s (%s)\n\n" % (executable, python_version)) + self._t_start = clock() diff --git a/dev-python/sympy/sympy-0.6.7.ebuild b/dev-python/sympy/sympy-0.6.7.ebuild index 71538c9180fa..5f2b22e45aac 100644 --- a/dev-python/sympy/sympy-0.6.7.ebuild +++ b/dev-python/sympy/sympy-0.6.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/sympy/sympy-0.6.7.ebuild,v 1.1 2010/04/16 01:47:31 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sympy/sympy-0.6.7.ebuild,v 1.2 2010/09/24 20:09:13 arfrever Exp $ EAPI="3" PYTHON_DEPEND="2:2.5" @@ -39,6 +39,8 @@ src_prepare() { # Use system sphinx. epatch "${FILESDIR}/${PN}-0.6.6-sphinx.patch" + + epatch "${FILESDIR}/${P}-python-2.7.patch" } src_compile() { |