Revision
98341
Author
blair@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

Diff

Modified: trunk/dports/python/py-soappy/Portfile (98340 => 98341)


--- 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}
+    }
 }