[106566] trunk/dports/python

jmr at macports.org jmr at macports.org
Thu May 30 19:09:46 PDT 2013


Revision: 106566
          https://trac.macports.org/changeset/106566
Author:   jmr at macports.org
Date:     2013-05-30 19:09:46 -0700 (Thu, 30 May 2013)
Log Message:
-----------
py25-ssl: use unified portgroup, set license

Modified Paths:
--------------
    trunk/dports/python/py-ssl/Portfile

Added Paths:
-----------
    trunk/dports/python/py-ssl/

Removed Paths:
-------------
    trunk/dports/python/py25-ssl/

Modified: trunk/dports/python/py-ssl/Portfile
===================================================================
--- trunk/dports/python/py25-ssl/Portfile	2013-05-31 00:41:23 UTC (rev 106560)
+++ trunk/dports/python/py-ssl/Portfile	2013-05-31 02:09:46 UTC (rev 106566)
@@ -1,10 +1,13 @@
 # $Id$
+
 PortSystem          1.0
-PortGroup           python25 1.0
-name                py25-ssl
+PortGroup           python 1.0
+
+name                py-ssl
 version             1.15
 revision            1
 categories-append   devel security
+license             PSF
 maintainers         nomaintainer
 platforms           darwin freebsd
 description         SSL wrapper for socket objects
@@ -21,8 +24,12 @@
                     sha1    18035755a0ab75fe23191b5588d4572bfe675b5c \
                     rmd160  c4bf59d13ad7142d09cca7b9796a849275874e0a
 
-patchfiles          patch-setup_py.diff
+python.versions     25
 
-post-patch   {
-        reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
+if {$subport != $name} {
+    patchfiles          patch-setup_py.diff
+
+    post-patch   {
+            reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130530/eb4b2e98/attachment-0001.html>


More information about the macports-changes mailing list