Daniel,
   I am in the process of fixing up the python 2.6 support
for ccpnmr-py which I have assumed maintainership of. The
package has a Depends line of...

Depends: python%type_pkg[python], x11, tcltk, freeglut-shlibs, (%n != 
ccpnmr-py25) python%type_pkg[python]-socket-ssl | (%n != ccpnmr-py25) 
python%type_pkg[python]-socket, scipy-core-py%type_pkg[python]

It would appear that we need to create a python26-socket.info file
like...

Package: python26-socket
Version: 2.6.1
Revision: 1
Epoch: 1
Description: Obsolete socket plugin for python
Maintainer: Daniel Macks <dma...@netspace.org>
Depends: python26 (>= 1:2.6.1-1), fink-obsolete-packages
Type: nosource
CompileScript: #
InstallScript: <<
        mkdir -p %i/share/doc/installed-packages
        touch %i/share/doc/installed-packages/%n
<<
SplitOff: <<
        Package: %N-ssl
        Depends: python26 (>= 1:2.1.1-1), fink-obsolete-packages
        InstallScript: <<
                mkdir -p %i/share/doc/installed-packages
                touch %i/share/doc/installed-packages/%n
        <<
<<
DescDetail: <<
 As of 1:2.6.1-1, the socket modules, with ssl support, are in
 python25 itself and python25-socket and python25-socket-ssl
 are dummy packages that are no longer needed.
<<
License: OSI-Approved
Homepage: http://www.python.org

...and recraft the depends line to handle the depreciated socket packages for 
both
python25 and python26. If I install the above python26-socket package and use a
hard coded line of...

 Depends: python%type_pkg[python], x11, tcltk, freeglut-shlibs, (%n != 
ccpnmr-py26) python%type_pkg[python]-socket-ssl | (%n != ccpnmr-py26) 
python%type_pkg[python]-socket, scipy-core-py%type_pkg[python]

in ccpnmr-py.info, I am able to build a usable ccpnmr-py-2.0.7.1-1 package for 
python26
on x86_64 fink. I would appeciate any help on sorting out this socket issue for 
python26.
It is unclear to me how I can code a Depends line to achieve...

Depends: python%type_pkg[python], x11, tcltk, freeglut-shlibs, (%n != 
ccpnmr-py25 | %n != ccpnmr-py26) python%type_pkg[python]-socket-ssl | (%n != 
ccpnmr-py25 | %n != ccpnmr-py26) python%type_pkg[python]-socket, 
scipy-core-py%type_pkg[python]

...which isn't accepted by fink.
           Jack

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to