<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/758ea746e84219d2020486f4eea88aad54e7af60">https://github.com/macports/macports-ports/commit/758ea746e84219d2020486f4eea88aad54e7af60</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 758ea746e84 py-pythran: update to 0.15.0
</span>758ea746e84 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 758ea746e84219d2020486f4eea88aad54e7af60
</span>Author: Erik BrĂ¥then Solem <erikbsolem@hotmail.com>
AuthorDate: Sun Jan 7 22:57:36 2024 +0100
<span style='display:block; white-space:pre;color:#404040;'> py-pythran: update to 0.15.0
</span>---
python/py-pythran/Portfile | 17 ++--
...calar.hpp-fix-for-missing-__exp10-on-macOS.diff | 90 ----------------------
2 files changed, 5 insertions(+), 102 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pythran/Portfile b/python/py-pythran/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5a08e57ee66..d6db09d54ec 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pythran/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pythran/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,8 +4,8 @@ PortSystem 1.0
</span> PortGroup python 1.0
name py-pythran
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.14.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 0.15.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
categories-append devel
platforms {darwin any}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,16 +18,13 @@ long_description {*}${description}
</span>
homepage https://github.com/serge-sans-paille/pythran
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 e15b91c1a315cd6d18d2741db4fe98675f8de977 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 42f3473946205964844eff7f750e2541afb2006d53475d708f5ff2d048db89bd \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 4015360
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 b5f502db95ff2c4e78414ae0eb4a89b90ba8e6d4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f9bc61bcb96df2cd4b578abc5a62dfb3fbb0b0ef02c264513dfb615c5f87871c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2365746
</span>
python.versions 37 38 39 310 311 312
if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_build-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> depends_lib-append \
port:py${python.version}-beniget \
port:py${python.version}-gast \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,10 +36,6 @@ if {${name} ne ${subport}} {
</span> port:py${python.version}-importlib-metadata
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # https://github.com/serge-sans-paille/pythran/pull/2165
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-xsimd_scalar.hpp-fix-for-missing-__exp10-on-macOS.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pythran/files/patch-xsimd_scalar.hpp-fix-for-missing-__exp10-on-macOS.diff b/python/py-pythran/files/patch-xsimd_scalar.hpp-fix-for-missing-__exp10-on-macOS.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 8c4978025c6..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pythran/files/patch-xsimd_scalar.hpp-fix-for-missing-__exp10-on-macOS.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,90 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From b98a22802ed75e42c7692fd2ef9264a3174b8491 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-From: barracuda156 <vital.had@gmail.com>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Date: Wed, 20 Dec 2023 18:10:41 +0800
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Subject: [PATCH] xsimd_scalar.hpp: fix for missing __exp10 on macOS < 10.9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Fixes: https://github.com/serge-sans-paille/pythran/issues/2164
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-See also: https://github.com/xtensor-stack/xsimd/pull/993
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>----
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- pythran/xsimd/arch/xsimd_scalar.hpp | 15 ++++++++++++++-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 1 file changed, 14 insertions(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git pythran/xsimd/arch/xsimd_scalar.hpp pythran/xsimd/arch/xsimd_scalar.hpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index fc227db84..ed1342815 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- pythran/xsimd/arch/xsimd_scalar.hpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ pythran/xsimd/arch/xsimd_scalar.hpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -24,6 +24,10 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include "xtl/xcomplex.hpp"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#ifdef __APPLE__
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <AvailabilityMacros.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- namespace xsimd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- template <class T, class A>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -468,7 +472,7 @@ namespace xsimd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return !(x0 == x1);
</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;'>--#if defined(__APPLE__)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED > 1080)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- inline float exp10(const float& x) noexcept
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return __exp10f(x);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -486,6 +490,15 @@ namespace xsimd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return ::exp10(x);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#elif !defined(__clang__) && defined(__GNUC__) && (__GNUC__ >= 5)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ inline float exp10(const float& x) noexcept
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return __builtin_exp10f(x);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ inline double exp10(const double& x) noexcept
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return __builtin_exp10(x);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #elif defined(_WIN32)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- template <class T, class = typename std::enable_if<std::is_scalar<T>::value>::type>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- inline T exp10(const T& x) noexcept
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- third_party/xsimd/arch/xsimd_scalar.hpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ third_party/xsimd/arch/xsimd_scalar.hpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -24,6 +24,10 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include "xtl/xcomplex.hpp"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#ifdef __APPLE__
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#include <AvailabilityMacros.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- namespace xsimd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- template <class T, class A>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -468,7 +472,7 @@ namespace xsimd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return !(x0 == x1);
</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;'>--#if defined(__APPLE__)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if defined(__APPLE__) && (MAC_OS_X_VERSION_MIN_REQUIRED > 1080)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- inline float exp10(const float& x) noexcept
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return __exp10f(x);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -486,6 +490,15 @@ namespace xsimd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return ::exp10(x);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#elif !defined(__clang__) && defined(__GNUC__) && (__GNUC__ >= 5)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ inline float exp10(const float& x) noexcept
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return __builtin_exp10f(x);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ inline double exp10(const double& x) noexcept
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ return __builtin_exp10(x);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #elif defined(_WIN32)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- template <class T, class = typename std::enable_if<std::is_scalar<T>::value>::type>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- inline T exp10(const T& x) noexcept
</span></pre><pre style='margin:0'>
</pre>