Hanspeter,
            Try the attached packaging. It implements the debian
approach for allowing the wxpython 2.8 and 3.0 packages to co-exist as
closely as we can in fink. They use an extra /usr/lib/wx/python
directory, update-alternatives and a dh*py* tool to manage the
symlinks in concert with changes to their python which we don't have.

https://wiki.debian.org/Python/TransitionToDHPython2

In our case, we are able to create the same common 'wxversion'
split-off containing the
lib/python%type_raw[python]/site-packages/wxversion.py* files. However
in the absence of the additional support from their
TransitionToDHPython2 project, we have to explicitly store the symlink
for the correct  wx*.pth file in the appropriate -dev split.off. This
does cause some grief in upgrading from the current wxgtk28-py and
wxpython300-py due to the movement of wx.pth file into the -dev
split-off but it is a one time deal and afterwards the two wxpython
packages will freely co-exist.
              Packages that currently BuildDepends on wxgtk28-py27 or
wxpython300-py27 now need to use wxgtk28-py27-dev or
wxpython300-py27-dev instead in order to get the correct  wx*.pth
symlink. I've tested this with the modified bibus.info and
relax-py.info files. They build fine and can both run with issues when
the wxgtk28-py27-dev and wxpython300-py27-dev packages are
deinstaleld.
                    Jack
ps The correct wx,path has to be used because the one from
wxgtk28-py27 contains the string "wx-2.8-gtk2-unicode" and the one
from the  wxpython300-py27-dev contains the string "wx-3.0-osx_cocoa".

Attachment: wxgtk2.8-py.info
Description: Binary data

Attachment: wxpython300-py.info
Description: Binary data

Attachment: wxpython300-py.patch
Description: Binary data

Attachment: relax-py.info
Description: Binary data

Attachment: relax-py.patch
Description: Binary data

Attachment: bibus.info
Description: Binary data

Attachment: bibus.patch
Description: Binary data

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to