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

Bug 201317

Summary: games-util/mattricks breaks when wxpython-2.8 is installed
Product: Gentoo Linux Reporter: Ryan Hill (RETIRED) <rhill>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: wxwidgets
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 178727    
Attachments: mattricks-0.7-wxversion.patch

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.