<pre style='margin:0'>
David Strubbe (dstrubbe) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5bca1d22a0df12daf4876c9801338f75e1ee4ca6">https://github.com/macports/macports-ports/commit/5bca1d22a0df12daf4876c9801338f75e1ee4ca6</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 5bca1d2 abinit: Update to 8.8.3. Remove etsf_io which is now deprecated.
</span>5bca1d2 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5bca1d22a0df12daf4876c9801338f75e1ee4ca6
</span>Author: David Strubbe <dstrubbe@macports.org>
AuthorDate: Tue Jul 3 12:49:13 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> abinit: Update to 8.8.3. Remove etsf_io which is now deprecated.
</span>---
science/abinit/Portfile | 35 ++++++++++-------------------------
1 file changed, 10 insertions(+), 25 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/abinit/Portfile b/science/abinit/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bd6a01f..40a725b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/abinit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/abinit/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,8 +5,7 @@ PortGroup mpi 1.0
</span> PortGroup linear_algebra 1.0
name abinit
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 8.0.8b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 8.8.3
</span> categories science
platforms darwin
license GPL-3
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,13 +29,11 @@ long_description ABINIT is a package whose main program allows one to find th
</span> ABINIT is a project that favours development and collaboration.
homepage https://www.abinit.org
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites http://ftp.abinit.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites ${homepage}/sites/default/files/packages
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 e35b7546d6927f920176d5dba8130c5982a30962 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 37ad5f0f215d2a36e596383cb6e54de3313842a0390ce8d6b48a423d3ee25af2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# abinit-8.0.8b.tar.gz extracts to "abinit-8.0.8".
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-worksrcdir ${name}-8.0.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 575f25a1853a6974caff1422747130a2323003a3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 cceb397d1c8b81dc616e65bfb2986a8a1764e59be98e3c887b0392dfba0d4652 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 82567680
</span>
compilers.choose cc cxx fc
# g95 is no longer supported by abinit
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,21 +46,14 @@ configure.optflags -O3
</span> use_parallel_build yes
# We do not need to use ABINIT's own approach to parallel builds, which only is relevant if
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# the "fallbacks" are used, namely if we asked for etsf_io, libxc, wannier90, etc. support
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# the "fallbacks" are used, namely if we asked for libxc, wannier90, etc. support
</span> # but did not provide the libraries. That situation should never happen for this port.
#build.target multi multi_nprocs=4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants +etsf_io +libxc +wannier90
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default_variants +libxc +wannier90
</span>
pre-configure {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if { [variant_isset etsf_io] } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-trio-flavor="netcdf+etsf_io"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { [variant_isset g95] } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-etsf-io-incs="-I${prefix}/include/g95"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --with-etsf-io-incs="-I${prefix}/include/gcc"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } elseif { [variant_isset netcdf] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_isset netcdf] } {
</span> configure.args-append --with-trio-flavor="netcdf"
} else {
configure.args-append --with-trio-flavor="none"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -117,7 +107,7 @@ pre-configure {
</span> # install binaries and pkgconfig but not the very large number of test files
destroot.target install-exec install-data-local
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#universal variant not allowed for libxc/etsf_io
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#universal variant not allowed for libxc
</span> universal_variant no
test.run yes
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -179,15 +169,10 @@ variant netcdf description {Build with support for NetCDF transferable I/O} {
</span> # check compatibility with MPI?
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant etsf_io requires netcdf description {Build with support for ETSF_IO transferable I/O} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:etsf_io
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- compilers.enforce_fortran etsf_io
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- test.target-append etsf_io
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # add support for gsl, yaml?
variant libxc description {Build with support for libXC exchange-correlation library} {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # configure explicitly forbids libxc > 4.0.0 for some reason
</span> depends_lib-append port:libxc
compilers.enforce_fortran libxc
configure.args-append --with-libxc-incs="-I${prefix}/include"
</pre><pre style='margin:0'>
</pre>