[101298] trunk/dports/python

macsforever2000 at macports.org macsforever2000 at macports.org
Mon Jan 7 15:05:23 PST 2013


Revision: 101298
          https://trac.macports.org/changeset/101298
Author:   macsforever2000 at macports.org
Date:     2013-01-07 15:05:23 -0800 (Mon, 07 Jan 2013)
Log Message:
-----------
py-nmrglue: Use unified python portgroup and add python 2.7 version.

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

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

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

Modified: trunk/dports/python/py-nmrglue/Portfile
===================================================================
--- trunk/dports/python/py26-nmrglue/Portfile	2013-01-07 22:01:46 UTC (rev 101296)
+++ trunk/dports/python/py-nmrglue/Portfile	2013-01-07 23:05:23 UTC (rev 101298)
@@ -2,16 +2,17 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-nmrglue
+name                py-nmrglue
 set internal_name   nmrglue
 
 version             0.2
 
 categories-append   science
-maintainers         openmaintainer gmail.com:michelle.lynn.gill
+maintainers         gmail.com:michelle.lynn.gill openmaintainer
 platforms           darwin
+license             BSD
 
 description         A module for working with NMR data in Python
 long_description    nmrglue is a module for working with NMR data in Python. \
@@ -28,12 +29,18 @@
                     sha1    ae0210bed575ddd5da875d92f45b33c71862af8c \
                     rmd160  f5e5df181469e3e15d33c3a36a1998dce72b7b71
 
-depends_lib-append  port:py26-scipy \
-                    port:py26-numpy
+python.versions     26 27
 
-# py26-scipy is not universal
-universal_variant   no
-
-livecheck.type      regex
-livecheck.url       ${homepage}
-livecheck.regex     ${internal_name}-(\[0-9\]+\\.\[0-9\]+)\\.tar\\.gz
+if {$subport != $name} {
+    depends_lib-append  port:py26-scipy \
+                        port:py26-numpy
+    
+    # py-scipy is not universal
+    universal_variant   no
+    
+    livecheck.type  none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${homepage}
+    livecheck.regex     ${internal_name}-(\[0-9\]+\\.\[0-9\]+)\\.tar\\.gz
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130107/f6a03d36/attachment.html>


More information about the macports-changes mailing list