<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/3f2d1bde532b1193b35f4a9c2a6ba3118cd56241">https://github.com/macports/macports-ports/commit/3f2d1bde532b1193b35f4a9c2a6ba3118cd56241</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 3f2d1bde532b1193b35f4a9c2a6ba3118cd56241
</span>Author: Ed Maros <ed.maros@ligo.org>
AuthorDate: Tue Nov 1 17:08:39 2016 -0700
<span style='display:block; white-space:pre;color:#404040;'> ldas-tools-framecpp: update to 2.5.4
</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/52780
</span>---
science/ldas-tools-framecpp/Portfile | 91 ++++++++++++++++++++----------------
1 file changed, 52 insertions(+), 39 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/ldas-tools-framecpp/Portfile b/science/ldas-tools-framecpp/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c2eab77..cdbb82b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/ldas-tools-framecpp/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/ldas-tools-framecpp/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-framecpp
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.5.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.5.4
</span> categories science
platforms darwin
maintainers ligo.org:ed.maros
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,15 +15,16 @@ 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 d0e083e0d001279d16478ffac529e37bdd3250e7 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 bb3d6111a567c785947df8fe0e935bfdbc551f0e2565cc2ac964b4fbaf1a6f82
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 53853b72a57db344437b8ab7b8d199c6cee91495 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 54783c5ae235b8016adbc02d95aedcbd5f1256ae3b74b27ae516d9dee3cbe11b
</span>
depends_lib port:ldas-tools-al \
port:openssl \
port:zlib \
port:bzip2
<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 +32,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 +41,53 @@ 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;'>-# Python variants
</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>
livecheck.type regex
livecheck.url ${master_sites}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex {ldas-tools-(\d+(?:\.\d+)*).tar.gz}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex {ldas-tools-framecpp-(\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>