[106514] trunk/dports/python

jmr at macports.org jmr at macports.org
Wed May 29 01:29:31 PDT 2013


Revision: 106514
          https://trac.macports.org/changeset/106514
Author:   jmr at macports.org
Date:     2013-05-29 01:29:31 -0700 (Wed, 29 May 2013)
Log Message:
-----------
py26-astrolibcoords: use unified portgroup, set license

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

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

Removed Paths:
-------------
    trunk/dports/python/py26-astrolibcoords/

Modified: trunk/dports/python/py-astrolibcoords/Portfile
===================================================================
--- trunk/dports/python/py26-astrolibcoords/Portfile	2013-05-28 22:01:37 UTC (rev 106507)
+++ trunk/dports/python/py-astrolibcoords/Portfile	2013-05-29 08:29:31 UTC (rev 106514)
@@ -1,12 +1,13 @@
 # $Id$
 
 PortSystem              1.0
-PortGroup               python26 1.0
+PortGroup               python 1.0
 
 set realname            coords
-name                    py26-astrolib${realname}
+name                    py-astrolib${realname}
 version                 0.37
 categories-append       devel science
+license                 BSD
 platforms               darwin
 maintainers             stsci.edu:mperrin openmaintainer
 
@@ -23,10 +24,16 @@
 checksums               sha1    8de4563e2d2b43d9c1b308f6dad0dd702e795a1a \
                         rmd160  bb273716fd4bd3f5df7558f5cdb19dde732ee5c3
 
-depends_build-append    port:py26-distribute
+python.versions         26
 
-depends_lib-append      port:py26-numpy
+if {$subport != $name} {
+    depends_build-append    port:py${python.version}-distribute
 
-livecheck.type          regex
-livecheck.url           [lindex ${master_sites} 0]
-livecheck.regex         ${realname}-(\[0-9.\]+).tar.gz
+    depends_lib-append      port:py${python.version}-numpy
+
+    livecheck.type          none
+} else {
+    livecheck.type          regex
+    livecheck.url           [lindex ${master_sites} 0]
+    livecheck.regex         ${realname}-(\[0-9.\]+).tar.gz
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130529/d2e769c4/attachment.html>


More information about the macports-changes mailing list