Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201317 - games-util/mattricks breaks when wxpython-2.8 is installed
Summary: games-util/mattricks breaks when wxpython-2.8 is installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: wxpython-2.8
  Show dependency tree
 
Reported: 2007-12-05 03:14 UTC by Ryan Hill (RETIRED)
Modified: 2007-12-23 23:00 UTC (History)
1 user (show)

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


Attachments
mattricks-0.7-wxversion.patch (mattricks-0.7-wxversion.patch,618 bytes, patch)
2007-12-05 03:14 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2007-12-05 03:14:00 UTC
looks like mattricks doesn't work with later versions of wxpython.  the attached patch forces it to use wxpython-2.6 even if a later SLOT is available.

dirtyepic@tycho ~ $ mattricks.py 
/usr/lib/python2.5/site-packages/Mattricks/Commonwx.py:20: DeprecationWarning: The wxPython compatibility package is no longer automatically generated or actively maintained.  Please switch to the wx package as soon as possible.
  from wxPython.wx import *
Traceback (most recent call last):
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2007-12-05 03:14:39 UTC
Created attachment 137769 [details, diff]
mattricks-0.7-wxversion.patch
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2007-12-05 03:48:01 UTC
The ebuild already has <dev-python/wxpython-2.8 in the deps.
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2007-12-05 13:09:25 UTC
true, but wxpython is slotted and apps will run against the highest version installed.  if you have both 2.6 and 2.8 on a system, it will pick 2.8 unless you use wxversion to tell it otherwise.

http://wiki.wxpython.org/index.cgi/MultiVersionInstalls
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2007-12-23 23:00:39 UTC
fixed.