Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279997 - [patch] app-text/mftrace-1.2.13 fails with python-2.6
Summary: [patch] app-text/mftrace-1.2.13 fails with python-2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-02 06:54 UTC by David Leverton
Modified: 2009-08-19 18:33 UTC (History)
1 user (show)

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


Attachments
mftrace-1.2.13-python-2.6.patch (mftrace-1.2.13-python-2.6.patch,427 bytes, patch)
2009-08-02 06:55 UTC, David Leverton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Leverton 2009-08-02 06:54:52 UTC
[32;01m>>>[0m Starting src_test

Makefile found, looking for potential test targets

make: *** No rule to make target `check'.  Stop.

/usr/bin/python mftrace.py --glyphs 65 -V ecbi0900 &&  /usr/bin/python mftrace.py --glyphs 65 -V logo10 &&true

Found test target

make -j2 -j1 test

/usr/bin/python mftrace.py --glyphs 65 -V ecbi0900 &&  /usr/bin/python mftrace.py --glyphs 65 -V logo10 &&true

  File "mftrace.py", line 329

    def zip_to_pairs (as):

                       ^

SyntaxError: invalid syntax

make: *** [test] Error 1



Seems "as" is now a keyword: http://docs.python.org/whatsnew/2.6.html#pep-3110-exception-handling-changes
Comment 1 David Leverton 2009-08-02 06:55:30 UTC
Created attachment 199888 [details, diff]
mftrace-1.2.13-python-2.6.patch

patch
Comment 2 James Earl Spahlinger 2009-08-03 21:34:55 UTC
please paste your 'emerge --info' to this bug to assist the maintainers in diagnosing this issue.
Comment 3 Patrick Lauer gentoo-dev 2009-08-19 18:33:39 UTC
+  19 Aug 2009; Patrick Lauer <patrick@gentoo.org> mftrace-1.2.13.ebuild,
+  +files/mftrace-1.2.13-python-2.6.patch:
+  Py 2.6 fix, closes #279997. Thanks to David Leverton.