the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: python24-socket-ssl
Version: 2.4.3
Revision: 1103
Distribution: 10.4, 10.5
Description: Socket plugin for python (SSL version)
Maintainer: None
Replaces: python24-socket
Depends: openssl098-shlibs
BuildDepends: python24 (>= %v-%r), db44-aes, tcltk (>= 8.4.1-1), readline5, gdbm3 , gmp (>= 4.1.4-1), libmpfr1, tcltk-dev (>= 8.4.1-1), expat1, openssl098-dev, fink (>= 0.24.12-1)
Source: http://python.org/ftp/python/%v/Python-%v.tgz
Source-MD5: edf994473a8c1a963aaa71e442b285b7
PatchFile: %n.patch
PatchFile-MD5: 533befa328793f12f8d2d5b7e5534cc5
PatchScript: sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
GCC: 4.0
CompileScript: <<
%p/bin/python2.4 setup_socket_ssl.py build
<<
InstallScript: <<
mkdir -p %i/lib/python2.4/lib-dynload
cp build/lib.*/_socket.so %i/lib/python2.4/lib-dynload
cp build/lib.*/_ssl.so %i/lib/python2.4/lib-dynload
<<
DocFiles: README LICENSE
License: OSI-Approved
Homepage: http://www.python.org
--- Python-2.4/setup_socket_ssl.py.orig Tue Apr 1 11:31:13 2003
+++ Python-2.4/setup_socket_ssl.py Tue Apr 1 11:31:05 2003
@@ -0,0 +1,28 @@
+#!/usr/bin/env python
+
+from distutils.core import setup, Extension
+import os
+import sys
+
+try:
+ setup (name = "python-sockets-ssl",
+ version = "2.4.2",
+ description = "socket module w/ssl enabled",
+ ext_modules = [
+ Extension('_socket', ['Modules/socketmodule.c'],
+ include_dirs = ["@PREFIX@/include/openssl"],
+ library_dirs = ["@PREFIX@/lib/"],
+ libraries = ['ssl', 'crypto'],
+ define_macros = [('USE_SSL',1)] ),
+ Extension('_ssl', ['Modules/_ssl.c'],
+ include_dirs = ["@PREFIX@/include/openssl"],
+ library_dirs = ["@PREFIX@/lib/"],
+ libraries = ['ssl', 'crypto'],
+ depends = ['socketmodule.h'] )
+ ]
+ )
+except:
+ import sys
+ import traceback
+ traceback.print_exc()
+ sys.exit(1)