Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 148398

Summary: app-emacs/pymacs-0.22 doesn't work with Python 2.5
Product: Gentoo Linux Reporter: Chris Connett <chrisconnett>
Component: New packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: jim
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 148333    
Attachments: Patch against app-emacs/pymacs-0.22

Description Chris Connett 2006-09-20 10:34:51 UTC
Package features a non-ASCII character in a Python source file without a declared encoding.  This was a warning in Python 2.4 and is an error in Python 2.5.

>>> Compiling source in /var/tmp/portage/pymacs-0.22/work/Pymacs-0.22 ...
Traceback (most recent call last):
  File "setup.py", line 6, in <module>
    from Pymacs import __package__, __version__
  File "./Pymacs/__init__.py", line 2
SyntaxError: Non-ASCII character '\xa9' in file ./Pymacs/__init__.py on line 2, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details

!!! ERROR: app-emacs/pymacs-0.22 failed.
Comment 1 Jim Dabell 2006-11-16 19:23:47 UTC
Created attachment 102171 [details, diff]
Patch against app-emacs/pymacs-0.22

This should fix it.
Comment 2 Bryan Østergaard (RETIRED) gentoo-dev 2007-01-07 01:44:58 UTC
Fixed in 0.22-r1. Thanks for reporting.