FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 10-01-2010, 08:30 AM
Peter Volkov
 
Default gentoo-x86 commit in dev-python/sympy/files: sympy-0.6.7-python-2.7.patch

В Птн, 24/09/2010 в 20:09 +0000, Arfrever Frehtes Taifersar Arahesis
(arfrever) пишет:
> Added: sympy-0.6.7-python-2.7.patch
> Log:
> Fix majority of test failures with Python 2.7 (bug #330713).

This patch fixes not test failure, but sympy's ability to work with
python-2.7. Although python-2.7 is currently masked it will be unmasked
soon and some users may have it installed already. Looks like revision
bump to propagate this change in package on users is necessary in this
case. Please, bump revision.

> Revision Changes Path
> 1.1 dev-python/sympy/files/sympy-0.6.7-python-2.7.patch
>
> file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sympy/files/sympy-0.6.7-python-2.7.patch?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/sympy/files/sympy-0.6.7-python-2.7.patch?rev=1.1&content-type=text/plain
>
> Index: sympy-0.6.7-python-2.7.patch
> ================================================== =================
> http://github.com/sympy/sympy/commit/717516b8ffae806cdfdea8141ceb839107d92431
>
> --- sympy/printing/pretty/stringpict.py
> +++ sympy/printing/pretty/stringpict.py
> @@ -81,7 +81,7 @@
> return '
'.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)

" % (executable, python_version))
> self._t_start = clock()

--
Peter.
 

Thread Tools




All times are GMT. The time now is 05:45 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org