<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/7adb435b7aec3c5317b8d3b59d3819fdb07ad93f">https://github.com/macports/macports-ports/commit/7adb435b7aec3c5317b8d3b59d3819fdb07ad93f</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 7adb435b7ae xraylib: update version, add python310 variant
</span>7adb435b7ae is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 7adb435b7aec3c5317b8d3b59d3819fdb07ad93f
</span>Author: Joe Fowler <drjoefowler@gmail.com>
AuthorDate: Wed Jun 1 14:02:55 2022 -0600
<span style='display:block; white-space:pre;color:#404040;'> xraylib: update version, add python310 variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also add py-pythran as a build dependency.
</span>---
science/xraylib/Portfile | 37 +++++++++++++++++++++++++------------
1 file changed, 25 insertions(+), 12 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/xraylib/Portfile b/science/xraylib/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b2c8019eac8..722d97f0f35 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/xraylib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/xraylib/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,11 +5,11 @@ PortGroup perl5 1.0
</span> PortGroup github 1.0
PortGroup compilers 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup tschoonj xraylib 4.1.1 xraylib-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup tschoonj xraylib 4.1.2 xraylib-
</span> revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 9293e9c1dcca551bb37ee587928fd46ea33b90a4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 c82447a27d3d2a1887a57e85295a369eef2b7ecdec28010eb5ea90fc09c53ca1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 13510073
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 1a4e41a8b0003d5cf15fb525e38a7ac795d7fe75 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e1d5bfe894e20464cb884acfc884281ce8e020dcae36e6bc02079618fbf228c3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 13511570
</span>
categories science
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,6 +41,12 @@ configure.args --disable-idl \
</span> --disable-python-numpy \
--disable-php
<span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cxxflags-append -std=gnu++11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[string match *clang* ${configure.compiler}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxxflags-append -stdlib=${configure.cxx_stdlib}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # to be fixed in later versions of xraylib...
use_parallel_build no
configure.ccache no
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -58,34 +64,41 @@ if {[variant_isset perl5_28] || [variant_isset perl5_30]} {
</span> depends_build-append port:swig-perl
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python27 description {Python 2.7 bindings} conflicts python37 python38 python39 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python27 description {Python 2.7 bindings} conflicts python37 python38 python39 python310 {
</span> configure.args-append --enable-python --enable-python-integration --enable-python-numpy PYTHON=${prefix}/bin/python2.7
configure.args-delete --disable-python --disable-python-numpy
depends_build-append port:swig-python port:py27-cython
depends_lib-append port:python27 port:py27-numpy
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python37 description {Python 3.7 bindings} conflicts python27 python38 python39 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python37 description {Python 3.7 bindings} conflicts python27 python38 python39 python310 {
</span> configure.args-append --enable-python --enable-python-integration --enable-python-numpy PYTHON=${prefix}/bin/python3.7
configure.args-delete --disable-python --disable-python-numpy
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append port:swig-python port:py37-cython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:swig-python port:py37-cython py37-pythran
</span> depends_lib-append port:python37 port:py37-numpy
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python38 description {Python 3.8 bindings} conflicts python27 python37 python39 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 description {Python 3.8 bindings} conflicts python27 python37 python39 python310 {
</span> configure.args-append --enable-python --enable-python-integration --enable-python-numpy PYTHON=${prefix}/bin/python3.8
configure.args-delete --disable-python --disable-python-numpy
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append port:swig-python port:py38-cython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:swig-python port:py38-cython py38-pythran
</span> depends_lib-append port:python38 port:py38-numpy
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python39 description {Python 3.9 bindings} conflicts python27 python37 python38 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 description {Python 3.9 bindings} conflicts python27 python37 python38 python310 {
</span> configure.args-append --enable-python --enable-python-integration --enable-python-numpy PYTHON=${prefix}/bin/python3.9
configure.args-delete --disable-python --disable-python-numpy
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append port:swig-python port:py39-cython
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:swig-python port:py39-cython port:py39-pythran
</span> depends_lib-append port:python39 port:py39-numpy
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 description {Python 3.10 bindings} conflicts python27 python37 python38 python39 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --enable-python --enable-python-integration --enable-python-numpy PYTHON=${prefix}/bin/python3.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --disable-python --disable-python-numpy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:swig-python port:py310-cython port:py310-pythran
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:python310 port:py310-numpy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant ruby24 description {Ruby 2.4 bindings} conflicts ruby25 ruby26 {
configure.args-append --enable-ruby --enable-ruby-integration RUBY=${prefix}/bin/ruby2.4
configure.args-delete --disable-ruby
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -122,7 +135,7 @@ if {[fortran_variant_isset]} {
</span> configure.args-replace --disable-fortran2003 --enable-fortran2003
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python27] && ![variant_isset python37] && ![variant_isset python38] && ![variant_isset python39]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python27] && ![variant_isset python37] && ![variant_isset python38] && ![variant_isset python39] && ![variant_isset python310]} {
</span> default_variants +python39
}
</pre><pre style='margin:0'>
</pre>