[96173] trunk/dports/python

lightnin at macports.org lightnin at macports.org
Thu Aug 2 02:21:36 PDT 2012


Revision: 96173
          https://trac.macports.org/changeset/96173
Author:   lightnin at macports.org
Date:     2012-08-02 02:21:36 -0700 (Thu, 02 Aug 2012)
Log Message:
-----------
py*-soaplib unified into python PortGroup.

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

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

Removed Paths:
-------------
    trunk/dports/python/py25-soaplib/
    trunk/dports/python/py26-soaplib/
    trunk/dports/python/py27-soaplib/

Modified: trunk/dports/python/py-soaplib/Portfile
===================================================================
--- trunk/dports/python/py25-soaplib/Portfile	2012-08-02 07:17:31 UTC (rev 96165)
+++ trunk/dports/python/py-soaplib/Portfile	2012-08-02 09:21:36 UTC (rev 96173)
@@ -2,15 +2,17 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python25 1.0
+PortGroup           python 1.0
 
-name                py25-soaplib
+name                py-soaplib
 license             LGPL
 epoch               1
 version             1.0.0
 categories          python www
 platforms           darwin
 maintainers         lightnin openmaintainer
+supported_archs     noarch
+
 description         A simple library for writing soap web services.
 long_description    This is a simple, easily extendible soap library that \
                     provides several useful tools for creating and \
@@ -28,6 +30,20 @@
                     sha1 d3993e81290bf58e21e67ad4fb849e0659712440 \
                     rmd160 e8fcd86554450f41bf279f88e11016baa4787d6d
 
-depends_lib         port:py25-distribute \
-                    port:py25-tz \
-                    port:py25-lxml
+
+python.versions     24 25 26 27
+python.default_version 27
+
+if {${subport} != ${name}} {
+    depends_lib         port:py${python.version}-distribute \
+                        port:py${python.version}-tz \
+                        port:py${python.version}-lxml
+
+    post-destroot   {
+        set docdir ${prefix}/share/doc/${subport}
+        xinstall -d ${destroot}${docdir}
+        xinstall -m 644 -W ${worksrcpath} \
+            PKG-INFO \
+            ${destroot}${docdir}
+    }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120802/df8a59e9/attachment.html>


More information about the macports-changes mailing list