Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148398 - app-emacs/pymacs-0.22 doesn't work with Python 2.5
Summary: app-emacs/pymacs-0.22 doesn't work with Python 2.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.5
  Show dependency tree
 
Reported: 2006-09-20 10:34 UTC by Chris Connett
Modified: 2007-01-07 01:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch against app-emacs/pymacs-0.22 (encoding.diff,1.22 KB, patch)
2006-11-16 19:23 UTC, Jim Dabell
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.