<pre style='margin:0'>
MarcusCalhoun-Lopez pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/20743661873f259e754ea1278f25883a2280a9cd">https://github.com/macports/macports-ports/commit/20743661873f259e754ea1278f25883a2280a9cd</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 2074366 py-ffc: use variables from python PortGroup
</span>2074366 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 20743661873f259e754ea1278f25883a2280a9cd
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Tue Jul 11 08:18:41 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> py-ffc: use variables from python PortGroup
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Do not hardcode python versions.
</span><span style='display:block; white-space:pre;color:#404040;'> No revbump since there is no functional change.
</span>---
python/py-ffc/Portfile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-ffc/Portfile b/python/py-ffc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f477e88..d01a947 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-ffc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-ffc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,7 +45,7 @@ if {${subport} ne ${name}} {
</span> }
post-fetch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![file exists ${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/boost/mpi.so]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![file exists ${python.pkgd}/boost/mpi.so]} {
</span> return -code error "${name} needs boost installed with a mpi variant "
}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,9 +56,9 @@ if {${subport} ne ${name}} {
</span> move ${destroot}${destroot}/share/ufc/ ${destroot}${prefix}/share/ufc
reinplace -W ${destroot}${prefix}/lib/pkgconfig "s,${destroot},${prefix},g" ufc-1.pc
reinplace -W ${destroot}${prefix}/share/ufc "s,${destroot},${prefix},g" UFCConfig.cmake
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -W ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/ffc "s,${destroot},${prefix},g" ufc_include.py
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/ffc/ufc_include.pyc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/ffc "${prefix}/bin/python2.7 -m compileall ufc_include.py"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -W ${destroot}${python.pkgd}/ffc "s,${destroot},${prefix},g" ufc_include.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${destroot}${python.pkgd}/ffc/ufc_include.pyc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${destroot}${python.pkgd}/ffc "${python.bin} -m compileall ufc_include.py"
</span> }
livecheck.type none
</pre><pre style='margin:0'>
</pre>