[98341] trunk/dports/python/py-soappy/Portfile

blair at macports.org blair at macports.org
Tue Oct 2 19:18:02 PDT 2012


Revision: 98341
          http://trac.macports.org//changeset/98341
Author:   blair at macports.org
Date:     2012-10-02 19:18:02 -0700 (Tue, 02 Oct 2012)
Log Message:
-----------
py-soappy: move from a Python 2.4 only to a Python 2.x port.

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

Modified: trunk/dports/python/py-soappy/Portfile
===================================================================
--- trunk/dports/python/py-soappy/Portfile	2012-10-03 02:15:25 UTC (rev 98340)
+++ trunk/dports/python/py-soappy/Portfile	2012-10-03 02:18:02 UTC (rev 98341)
@@ -1,11 +1,11 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup       python24 1.0
+PortGroup       python 1.0
 
 name            py-soappy
 version         0.11.6
-revision        1
+revision        2
 categories-append   net
 license         BSD ZPL-2
 platforms       darwin
@@ -24,10 +24,14 @@
 
 patchfiles      patch-remove-import-of-nested-scopes-from-future.diff
 
-depends_lib-append    port:py24-fpconst
+python.versions 24 25 26 27
 
-post-destroot {
-    xinstall -m 644 -W ${worksrcpath}/docs GettingStarted.txt attrs.txt \
-        GlobusSupport.txt MethodParameterNaming.txt complexTypes.txt \
-        simpleTypes.txt WSDL.txt ${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+    depends_lib-append    port:py${python.version}-fpconst
+
+    post-destroot {
+        xinstall -m 644 -W ${worksrcpath}/docs GettingStarted.txt attrs.txt \
+            GlobusSupport.txt MethodParameterNaming.txt complexTypes.txt \
+            simpleTypes.txt WSDL.txt ${destroot}${prefix}/share/doc/${subport}
+    }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121002/238227b0/attachment.html>


More information about the macports-changes mailing list