<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/1c06a4990f67b2cbb53045383fdbb7f3a4f4254c">https://github.com/macports/macports-ports/commit/1c06a4990f67b2cbb53045383fdbb7f3a4f4254c</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 1c06a4990f67b2cbb53045383fdbb7f3a4f4254c
</span>Author: Ed Maros <ed.maros@ligo.org>
AuthorDate: Tue Nov 1 17:07:46 2016 -0700
<span style='display:block; white-space:pre;color:#404040;'> ldas-tools-frameAPI: update to 2.5.2
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> closes https://trac.macports.org/ticket/52786
</span>---
science/ldas-tools-frameAPI/Portfile | 97 ++++++++++++++++++++----------------
1 file changed, 53 insertions(+), 44 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/ldas-tools-frameAPI/Portfile b/science/ldas-tools-frameAPI/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 18669ef..631119a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/ldas-tools-frameAPI/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/ldas-tools-frameAPI/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,10 +1,10 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# $Id$
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span>
PortSystem 1.0
PortGroup compiler_blacklist_versions 1.0
name ldas-tools-frameAPI
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.5.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.5.2
</span> categories science
platforms darwin
maintainers ligo.org:ed.maros
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,15 +15,15 @@ long_description ${description}
</span> homepage https://wiki.ligo.org/DASWG/LDASTools
master_sites http://software.ligo.org/lscsoft/source/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 139f36ec8cf851e6438943ab748b490e294d19cf \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 5f16bc86be0a5ade99d4affdd4c1e4a8b829854f0960b3ab285968574042694b
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 d8ca30fc0d10b05015591a87951ee7e0333218e0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 c7d58952e213a024dd6ac33dd907862b2c96baa7a4fb2ac4bb47ceef6bc45d50
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:ldas-tools-al \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:ldas-tools-ldasgen \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:ldas-tools-ldasgen \
</span> port:ldas-tools-filters \
port:ldas-tools-framecpp
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --disable-silent-rules \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --disable-warnings-as-errors \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-silent-rules \
</span> --with-optimization=high \
--disable-tcl \
--disable-python \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,7 +31,7 @@ configure.args --disable-silent-rules \
</span> --without-dot \
--disable-latex
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.major} < 13} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${configure.cxx_stdlib} eq "libstdc++" } {
</span> configure.args-append --disable-cxx11
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,41 +40,50 @@ compiler.blacklist-append {clang < 500.2.75} llvm-gcc-4.2 gcc-4.2
</span>
use_parallel_build yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#variant docs description {build documentation} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# configure.args-delete --disable-latex \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# --disable-dot \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# --disable-ldas-documentation \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# configure.args-append --docdir=${prefix}/share/doc/ldas-tools
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#------------------------------------------------------------------------
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Python variants
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#------------------------------------------------------------------------
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set pythons_suffixes {27 34}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set pythons_ports {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach s ${pythons_suffixes} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend pythons_ports python${s}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-foreach s ${pythons_suffixes} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set p python${s}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set v [string index ${s} 0].[string index ${s} 1]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set i [lsearch -exact ${pythons_ports} ${p}]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set c [lreplace ${pythons_ports} ${i} ${i}]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set d ${frameworks_dir}/Python.framework/Versions/${v}/lib/python${v}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- eval [subst {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- variant ${p} description "Enable SWIG Python interface for Python ${v}" conflicts ${c} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append port:swig-python
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:${p} port:py${s}-numpy
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-strsed s/--disable-python/--enable-python/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- destroot.args-append pythondir="${d}" pyexecdir="${d}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> livecheck.type regex
livecheck.url ${master_sites}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex {ldas-tools-filters-(\d+(?:\.\d+)*).tar.gz}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex {ldas-tools-frameAPI-(\d+(?:\.\d+)*).tar.gz}
</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;'>+# Create subports for each supported Python version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#========================================================================
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach v {27} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python.version ${v}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python.branch [string range ${python.version} 0 end-1].[string index ${python.version} end]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python.bin ${prefix}/bin/python${python.branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python.site_packages "${python.prefix}/lib/python${python.branch}/site-packages"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python.pkgname LDAStools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subport py${v}-${name} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ categories-prepend python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Python ${python.version} bindings for ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description ${long_description} This package provides Python \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${python.version} 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-python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:python${python.version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.python ${python.bin}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace PYTHON=false PYTHON=${python.prefix}/bin/python${python.version}
</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 SWIG_CPPFLAGS="-I${python.prefix}/include"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.args-append pythondir="${python.site_packages}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pyexecdir="${python.site_packages}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pkgpythondir="${python.site_packages}/${python.pkgname}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pkgpyexecdir="${python.site_packages}/${python.pkgname}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -C ${worksrcpath}/swig/python
</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;'>+ if {${subport} eq "py27-${name}"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach script [glob -tails -nocomplain -directory ${destroot}${python.prefix}/bin *] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file link -symbolic ${destroot}${prefix}/bin/${script} ../Library/Frameworks/Python.framework/Versions/${python.version}/bin/${script}
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>