Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47810 - wxPython - new version available (2.5.1.5)
Summary: wxPython - new version available (2.5.1.5)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo wxWidgets project
URL: http://wxpython.org/
Whiteboard:
Keywords:
Depends on:
Blocks: 55370
  Show dependency tree
 
Reported: 2004-04-14 10:30 UTC by Piotr Kalinowski
Modified: 2004-11-13 16:55 UTC (History)
5 users (show)

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


Attachments
wxpython-2.5.2.3_pre20040802.ebuild (wxpython-2.5.2.3_pre20040802.ebuild,2.18 KB, text/plain)
2004-08-12 16:12 UTC, Rob Cakebread (RETIRED)
Details
wxpython-2.5.2.3_pre20040802.ebuild (wxpython-2.5.2.3_pre20040802.ebuild,2.19 KB, text/plain)
2004-08-12 17:14 UTC, Rob Cakebread (RETIRED)
Details
wxpython-2.5.2.7.ebuild (wxpython-2.5.2.7.ebuild,2.20 KB, text/plain)
2004-08-24 21:42 UTC, Stephen Boulet
Details
wxpython-2.5.2.8.ebuild (wxpython-2.5.2.8.ebuild,2.36 KB, text/plain)
2004-08-31 11:40 UTC, Rob Cakebread (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kalinowski 2004-04-14 10:30:35 UTC
New version available, containg (according to wxpython website) some improvements and new features.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Pieter Baele 2004-05-25 04:20:44 UTC
Indeed, new version available, needed by wxglade (eric3 and spe IDE also have support for this revision I think.
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2004-05-25 08:57:21 UTC
wxPython 2.5.1 requires wxGTK 2.5. I've been testing wxGTK 2.5 and it breaks almost every package that depends on it in Gentoo. Its just a development version, and wxGlade does not need it (the latest version 0.3.3 is in portage and works with wxPython 2.4.2.4). 
Comment 3 Piotr Kalinowski 2004-05-25 09:30:24 UTC
Oh, indeed, my fault. Sorry, I'll change status to invalid.
Comment 4 Bryan Helmkamp 2004-06-07 22:53:59 UTC
I looked at the wxPython site, and it appears that 2.5.1.5 is stable, not developmental.

Should this be reopened? 
Comment 5 Rob Cakebread (RETIRED) gentoo-dev 2004-06-09 15:04:19 UTC
I'll re-open this, but I think its going to be a while till it can get in portage:

"wxPython is now using SWIG 1.3.x from CVS (with several of my own customizations added that I hope to get folded back into the main SWIG distribution.)"
Comment 6 Xavier Spriet 2004-07-25 12:35:35 UTC
As noted on the wxPython website, the 2.5x is not totally backward compatible with 2.4x. wxGTK is in the same situation so many applications will break, but it would still be nice to have a hard-masked ebuild for this so that developers using wxPython (myself included) can start migrating their work.
Comment 7 Rob Cakebread (RETIRED) gentoo-dev 2004-08-12 16:12:33 UTC
Created attachment 37318 [details]
wxpython-2.5.2.3_pre20040802.ebuild
Comment 8 Rob Cakebread (RETIRED) gentoo-dev 2004-08-12 16:21:24 UTC
Heres an ebuild for a snapshot of 2.5.2.3 which is looking much more stable than 2.5.1.5. This will install in SLOT="2.5" and installs a private copy of wxGTK. This will not interfere with a 2.4* version of wxPython or wxGTK. To use this version you must do this in the shell before launching your wxPython app:
export LD_LIBRARY_PATH=/usr/wxpy/2.5/lib
export PYTHONPATH=/usr/wxpy/2.5/wxpython
Its working pretty well with existing 2.4 apps but needs testing.
Comment 9 Rob Cakebread (RETIRED) gentoo-dev 2004-08-12 17:14:55 UTC
Created attachment 37323 [details]
wxpython-2.5.2.3_pre20040802.ebuild

Corrected einfo
Comment 10 Lukasz Strzygowski (RETIRED) gentoo-dev 2004-08-13 02:54:53 UTC
Rob, isn't possible to install wxPython with x11-libs/wxGTK (in any version)?
Comment 11 Rob Cakebread (RETIRED) gentoo-dev 2004-08-13 07:56:35 UTC
No, 2.5* won't compile with any of the official wxGTK releases so far. I mailed the author of wxPython about it but he's not going to use the official wxGTK until its closer to being stable (2.6 release I guess). I've been trying CVS checkouts periodically and his daily snapshots, but none will compile against the official version yet.
Comment 12 Greg Hasseler 2004-08-22 21:21:04 UTC
Looks like there's been yet another version bump, this time to wxPythonSrc-2.5.2.7.
Comment 13 Stephen Boulet 2004-08-24 21:42:28 UTC
Created attachment 38145 [details]
wxpython-2.5.2.7.ebuild

Version bump from Rob Cakebread's excellent ebuild. Changed the SRC_URI.
Comment 14 Rob Cakebread (RETIRED) gentoo-dev 2004-08-31 11:40:20 UTC
Created attachment 38602 [details]
wxpython-2.5.2.8.ebuild

2.5.2.8 is out but doesn't compile with the official wxGTK yet. This just has a
change in MY_PV and SRC_URI.
Comment 15 Rob Cakebread (RETIRED) gentoo-dev 2004-11-12 19:50:45 UTC
2.5.3.1 added to CVS. I won't be adding any of the lower versions in this bug report.

wxGTK and wxPython are now in SLOTS 2.4 and 2.5.

If you're a wxPython developer see this document for how to use multiple versions:
http://wiki.wxpython.org/index.cgi/MultiVersionInstalls

By default wxPython apps will use 2.4.2.4. If you're a developer who wants to test your app in both versions without changing the code, you can run:
/usr/lib/python2.x/site-packages/wxpy-config.py to switch the system default version.
Comment 16 Greg Hasseler 2004-11-13 16:38:57 UTC
Rob, instead of wxpy-config.py getting placed in /usr/lib/python2.x/site-packages/, it seems to have gotten placed in /usr/lib/python/site-packages/. I don't know whether or not this is the intended location, but perhaps something to investigate. This was using the wxPython-2.5.3.1 ebuild.

In addition, I am now no longer to run programs of mine which worked fine under 2.5.2.8. I now receive the following error: 
[code]
File "/usr/lib/python2.3/site-packages/wx/__init__.py", line 45, in ?
File "/usr/lib/python2.3/site-packages/wxPython/__init__.py", line 20, in ?
ImportError: No module named wxc[/code]
Comment 17 Rob Cakebread (RETIRED) gentoo-dev 2004-11-13 16:55:11 UTC
Sorry, that was fixed in CVS, if you sync again and re-emerge it'll install in the correct site-packages.

Once you re-emerge it, apps you wrote for 2.5.2.8 should work fine. Make sure you un-emerge 2.5.2.8 though, because it may intefere with the new scheme wxPython is using for multiple installs.