[126212] trunk/dports/science/pylal/Portfile

ram at macports.org ram at macports.org
Sun Oct 5 09:34:55 PDT 2014


Revision: 126212
          https://trac.macports.org/changeset/126212
Author:   ram at macports.org
Date:     2014-10-05 09:34:55 -0700 (Sun, 05 Oct 2014)
Log Message:
-----------
science/pylal: use unified python portgroup

Modified Paths:
--------------
    trunk/dports/science/pylal/Portfile

Modified: trunk/dports/science/pylal/Portfile
===================================================================
--- trunk/dports/science/pylal/Portfile	2014-10-05 16:34:49 UTC (rev 126211)
+++ trunk/dports/science/pylal/Portfile	2014-10-05 16:34:55 UTC (rev 126212)
@@ -1,7 +1,7 @@
 # $Id$
 
 PortSystem         1.0
-PortGroup          python27 1.0
+PortGroup          python 1.0
 
 name               pylal
 version            0.5.0
@@ -33,11 +33,13 @@
 checksums          rmd160 6ad7e8e341c1b5385845dbe1f249c3a05aa4181c \
                    sha256 4dfb40598fba0c3894de0d7c3d6e1b8d18880d7766d8912545968ba676913568
 
+python.default_version 27
+
 depends_build      port:pkgconfig
 
-depends_lib-append port:py27-numpy \
-                   port:py27-scipy \
-                   port:py27-matplotlib \
+depends_lib-append port:py${python.version}-numpy \
+                   port:py${python.version}-scipy \
+                   port:py${python.version}-matplotlib \
                    port:glue \
                    port:lal \
                    port:lalframe \
@@ -49,7 +51,7 @@
 patch.pre_args     -p2
 patchfiles         7194c874a9674ce9b5d6a715a24ef048195a29f9.diff
 
-# py27-scipy is not universal
+# py-scipy is not universal
 universal_variant  no
 
 #python.link_binaries_suffix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141005/9c835393/attachment.html>


More information about the macports-changes mailing list