[87132] trunk/dports/python

ram at macports.org ram at macports.org
Fri Nov 11 07:52:15 PST 2011


Revision: 87132
          http://trac.macports.org/changeset/87132
Author:   ram at macports.org
Date:     2011-11-11 07:52:14 -0800 (Fri, 11 Nov 2011)
Log Message:
-----------
python/py*-dap: unify

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

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

Modified: trunk/dports/python/py-dap/Portfile
===================================================================
--- trunk/dports/python/py-dap/Portfile	2011-11-11 15:41:03 UTC (rev 87131)
+++ trunk/dports/python/py-dap/Portfile	2011-11-11 15:52:14 UTC (rev 87132)
@@ -1,13 +1,13 @@
 # $Id$
 
 PortSystem        1.0
-PortGroup         python24 1.0
+PortGroup         python 1.0
 
 name              py-dap
 version           2.2.6.7
 categories        python
 platforms         darwin
-maintainers       nomaintainer
+maintainers       ram openmaintainer
 
 description       Python implementation of the Data Access Protocol
 long_description  A scientific protocol for data access developed by the \
@@ -19,9 +19,11 @@
 master_sites      http://pypi.python.org/packages/source/d/dap/
 distname          dap-${version}
 
-depends_lib-append port:py24-distribute \
-                   port:py-httplib2
+python.versions   24 25 26 27
 
+depends_lib-append port:py${python.version}-distribute \
+                   port:py${python.version}-httplib2
+
 checksums         md5 3c66004a63eec7ecc9e471a29f4ccc8a \
                   sha1 2d1d02997da79f42330406efb8b45c819f77744b \
                   rmd160 acd38d6c66b14660b09696a6405a4aab6ed6fa9b
@@ -30,6 +32,10 @@
 
 universal_variant no
 
-livecheck.type    regex
-livecheck.url     http://pypi.python.org/pypi/dap/
-livecheck.regex   {dap (\d+(?:\.\d+)*)}
+if {${name} == ${subport}} {
+  livecheck.type    regex
+  livecheck.url     http://pypi.python.org/pypi/dap/
+  livecheck.regex   {dap (\d+(?:\.\d+)*)}
+} else {
+  livecheck.type    none
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111111/2ac89a9f/attachment-0001.html>


More information about the macports-changes mailing list