В Птн, 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 '\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()

-- 
Peter.


Reply via email to