[72655] trunk/dports/python
and.damore at macports.org
and.damore at macports.org
Fri Oct 22 08:51:34 PDT 2010
Revision: 72655
http://trac.macports.org/changeset/72655
Author: and.damore at macports.org
Date: 2010-10-22 08:51:31 -0700 (Fri, 22 Oct 2010)
Log Message:
-----------
Adding ssl module to python25, this is a backport of 2.6 "ssl" module and it's different from _ssl builtin module
Added Paths:
-----------
trunk/dports/python/py25-ssl/
trunk/dports/python/py25-ssl/Portfile
trunk/dports/python/py25-ssl/files/
trunk/dports/python/py25-ssl/files/patch-setup_py.diff
trunk/dports/python/py25-ssl/patch-setup_py.diff
Added: trunk/dports/python/py25-ssl/Portfile
===================================================================
--- trunk/dports/python/py25-ssl/Portfile (rev 0)
+++ trunk/dports/python/py25-ssl/Portfile 2010-10-22 15:51:31 UTC (rev 72655)
@@ -0,0 +1,35 @@
+# $Id$
+PortSystem 1.0
+PortGroup python25 1.0
+name py25-ssl
+version 1.15
+revision 1
+categories python devel security
+maintainers nomaintainer
+platforms darwin freebsd
+description SSL wrapper for socket objects
+long_description \
+The old socket.ssl() support for TLS over sockets is being superseded in \
+Python 2.6 by a new 'ssl' module. This package brings that module to older \
+Python releases, 2.3.5 and up (it may also work on older versions of 2.3, but \
+we haven't tried it).
+
+homepage http://pypi.python.org/pypi/ssl/
+master_sites http://pypi.python.org/packages/source/s/ssl/
+distname ssl-${version}
+checksums md5 81ea8a1175e437b4c769ae65b3290e0c \
+ sha1 18035755a0ab75fe23191b5588d4572bfe675b5c \
+ rmd160 c4bf59d13ad7142d09cca7b9796a849275874e0a
+
+
+patchfiles patch-setup_py.diff
+
+
+#patch {
+# reinplace "s|/sw/|${prefix}/|g" ${worksrcpath}/setup.py
+#}
+
+#post-destroot {
+# xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog INSTALL README \
+# TODO ${destroot}${prefix}/share/doc/${name}
+#}
Property changes on: trunk/dports/python/py25-ssl/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/python/py25-ssl/files/patch-setup_py.diff
===================================================================
--- trunk/dports/python/py25-ssl/files/patch-setup_py.diff (rev 0)
+++ trunk/dports/python/py25-ssl/files/patch-setup_py.diff 2010-10-22 15:51:31 UTC (rev 72655)
@@ -0,0 +1,20 @@
+--- setup.py.orig 2010-10-22 17:23:47.000000000 +0200
++++ setup.py 2010-10-22 17:24:21.000000000 +0200
+@@ -114,7 +114,7 @@
+ from distutils.ccompiler import new_compiler
+
+ compiler = new_compiler()
+- inc_dirs = compiler.include_dirs + ['/usr/include']
++ inc_dirs = compiler.include_dirs + ['/opt/local/include']
+
+ search_for_ssl_incs_in = [
+ '/usr/local/ssl/include',
+@@ -130,7 +130,7 @@
+ ssl_incs += krb5_h
+
+ ssl_libs = find_library_file(compiler, 'ssl',
+- ['/usr/lib'],
++ ['/opt/local/lib'],
+ ['/usr/local/lib',
+ '/usr/local/ssl/lib',
+ '/usr/contrib/ssl/lib/'
Added: trunk/dports/python/py25-ssl/patch-setup_py.diff
===================================================================
--- trunk/dports/python/py25-ssl/patch-setup_py.diff (rev 0)
+++ trunk/dports/python/py25-ssl/patch-setup_py.diff 2010-10-22 15:51:31 UTC (rev 72655)
@@ -0,0 +1,20 @@
+--- setup.py.orig 2010-10-22 17:23:47.000000000 +0200
++++ setup.py 2010-10-22 17:24:21.000000000 +0200
+@@ -114,7 +114,7 @@
+ from distutils.ccompiler import new_compiler
+
+ compiler = new_compiler()
+- inc_dirs = compiler.include_dirs + ['/usr/include']
++ inc_dirs = compiler.include_dirs + ['/opt/local/include']
+
+ search_for_ssl_incs_in = [
+ '/usr/local/ssl/include',
+@@ -130,7 +130,7 @@
+ ssl_incs += krb5_h
+
+ ssl_libs = find_library_file(compiler, 'ssl',
+- ['/usr/lib'],
++ ['/opt/local/lib'],
+ ['/usr/local/lib',
+ '/usr/local/ssl/lib',
+ '/usr/contrib/ssl/lib/'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101022/afa92077/attachment-0001.html>
More information about the macports-changes
mailing list