<pre style='margin:0'>
Adam Mercer (skymoo) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/368c9312fcc180c19a9acb6e88f2f3d19fcbd92b">https://github.com/macports/macports-ports/commit/368c9312fcc180c19a9acb6e88f2f3d19fcbd92b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 368c9312fcc180c19a9acb6e88f2f3d19fcbd92b
</span>Author: Adam Mercer <ram@macports.org>
AuthorDate: Wed Nov 2 13:59:22 2016 -0500
<span style='display:block; white-space:pre;color:#404040;'> science/lalsimulation: update to 1.6.1
</span>---
science/lalsimulation/Portfile | 105 +++++++++++++++++++++++++++++------------
1 file changed, 76 insertions(+), 29 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/lalsimulation/Portfile b/science/lalsimulation/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index be6ba51..9659fd1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/lalsimulation/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/lalsimulation/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,46 +3,53 @@
</span> PortSystem 1.0
name lalsimulation
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.6.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories science
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers ram aronnax
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license GPL-2+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.6.1
</span>
description LSC Algorithm Library - Simulation
long_description \
LIGO Scientific Collaboration Algorithm Library - Simulation containing \
routines for simulation gravitational-wave waveforms and noise sources.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://wiki.ligo.org/DASWG/LALSuite
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites http://software.ligo.org/lscsoft/source/lalsuite
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 a9c7659c409f2e82449ea6ef78ff657249f5eb04 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 796a768d8ede5a33ae397f57d5dba07caf19b834656df35b74da44add58fdb1c
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 e51d1da82092c9c823fb8110a3fde08e2f8aae6b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 364efaab2ef622890e318a1d8f6bf9bca20a549b79d550bbe0e377b58f06f593
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build port:help2man
</span>
depends_lib port:lal \
port:gsl \
port:libomp
<span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --enable-openmp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+### Everything below this line is common to all LALSuite ports. ###############
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories science
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers ram aronnax
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://wiki.ligo.org/DASWG/LALSuite
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites http://software.ligo.org/lscsoft/source/lalsuite
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:swig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Choose a compiler that supports OpenMP.
compiler.whitelist macports-clang-3.8 macports-clang-3.7 macports-clang-3.9
compiler.fallback macports-clang-3.8
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --mandir=${prefix}/share/man \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --mandir=${prefix}/share/man \
</span> --disable-silent-rules \
--disable-gcc-flags \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-debug \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-openmp \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PYTHON=false
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_parallel_build yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url ${master_sites}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex {lalsimulation-(\d+(?:\.\d+)*).tar.xz}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-swig-iface \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-python \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PYTHON=${frameworks_dir}/Python.framework/Versions/2.7/bin/python2.7
</span>
# Create subports for each supported Python version
foreach v {27 34 35} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -58,13 +65,13 @@ foreach v {27 34 35} {
</span> ${pythonversion} bindings, modules, and scripts.
depends_build-append port:swig-python
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-strsed g/port:lal/port:py${v}-lal/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-prepend port:python${v} port:py${v}-numpy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-replace port:python27 port:python${v}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-replace port:lal port:py${v}-lal
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:${name} port:py${v}-numpy
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete PYTHON=false
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append PYTHON=${pythonhome}/bin/python${pythonversion} --enable-swig-python
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append SWIG_CPPFLAGS="-I${pythonhome}/include"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace PYTHON=.\* PYTHON=${pythonhome}/bin/python${pythonversion}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-python --enable-python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-swig-python
</span>
destroot.args-append pythondir="${pythondir}" \
pyexecdir="${pythondir}" \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -79,13 +86,53 @@ foreach v {27 34 35} {
</span> }
post-destroot {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Remove Python include directory
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # (duplicate of SWIG headers in ${prefix}/include)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file delete -force ${destroot}${pythonhome}/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Create symbolic links in ${prefix}/bin to Python 2.7 scripts
</span> if {${subport} eq "py27-${name}"} {
foreach script [glob -tails -nocomplain -directory ${destroot}${pythonhome}/bin *] {
file link -symbolic ${destroot}${prefix}/bin/${script} ../Library/Frameworks/Python.framework/Versions/${pythonversion}/bin/${script}
}
}
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- livecheck.type none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport octave-${name} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set pythonversion [string range ${v} 0 end-1].[string index ${v} end]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set pythonhome \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${frameworks_dir}/Python.framework/Versions/${pythonversion}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set pythondir "${pythonhome}/lib/python${pythonversion}/site-packages"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ categories-prepend octave
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Octave ${pythonversion} bindings for ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description ${long_description} This package provides Octave \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bindings, modules, and scripts.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:swig-octave
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-replace port:lal port:octave-lal
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:${name} port:octave
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-swig-octave
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Only install SWIG bindings, Python libraries, and Python scripts
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ command_exec destroot "" "-C swig"
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Remove Octave include directory
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # (duplicate of SWIG headers in ${prefix}/include)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file delete -force ${destroot}${prefix}/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${name} eq ${subport}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.url ${master_sites}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span> }
</pre><pre style='margin:0'>
</pre>