[131539] trunk/dports/python/py-ffc/Portfile

sean at macports.org sean at macports.org
Tue Jan 13 13:54:47 PST 2015


Revision: 131539
          https://trac.macports.org/changeset/131539
Author:   sean at macports.org
Date:     2015-01-13 13:54:47 -0800 (Tue, 13 Jan 2015)
Log Message:
-----------
py-ffc: update to 1.5.0

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

Modified: trunk/dports/python/py-ffc/Portfile
===================================================================
--- trunk/dports/python/py-ffc/Portfile	2015-01-13 21:54:45 UTC (rev 131538)
+++ trunk/dports/python/py-ffc/Portfile	2015-01-13 21:54:47 UTC (rev 131539)
@@ -5,9 +5,8 @@
 PortGroup           python 1.0
 PortGroup           bitbucket 1.0
 
-bitbucket.setup     fenics-project ffc 1.4.0 ffc-
+bitbucket.setup     fenics-project ffc 1.5.0 ffc-
 name                py-ffc
-revision            1
 
 categories-append   math science
 license             LGPL-3+
@@ -23,20 +22,29 @@
                     form can be given in mathematical notation and the generated \
                     code is as efficient as hand-optimized code.
 
-checksums           rmd160  90fd2079423055ab931f0768a285445faf6d726d \
-                    sha256  d45b896159e0d442457593cd7941c443f2578549f6f90ce8d1d3a3a936e48b6d
+checksums           rmd160  2c4b7b42be0ee06ef9559aac35c26dcb793b7d90 \
+                    sha256  3bf34d42cf13a0d86520f732dca7f72fcb10a87caca914110e027847af9e9ed3
 
 python.versions     27
 python.link_binaries_suffix
 
+configure.cxxflags-append -std=c++11
+
 if {${subport} ne ${name}} {
    depends_lib      port:py${python.version}-fiat \
                     port:py${python.version}-ufl \
-                    port:py${python.version}-ferari \
                     port:py${python.version}-instant \
                     port:swig-python \
                     port:boost
 
+    pre-build {
+        build.env-append CXXFLAGS="${configure.cxxflags}"
+    }
+
+    pre-destroot {
+        destroot.env-append CXXFLAGS="${configure.cxxflags}"
+    }
+
     post-fetch {
         if {![file exists ${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/boost/mpi.so]} {
             return -code error "${name} needs boost installed with a mpi variant "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150113/a842c1fe/attachment.html>


More information about the macports-changes mailing list