git: b6891c08dea0 - main - devel/py-pythran: Update 0.12.0 → 0.12.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Apr 2023 05:41:10 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b6891c08dea0fea35fcd67079b8682c31407d59a
commit b6891c08dea0fea35fcd67079b8682c31407d59a
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-04-24 04:42:00 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-04-24 05:40:25 +0000
devel/py-pythran: Update 0.12.0 → 0.12.1
PR: 270507
Approved by: wen@ (maintainer)
---
devel/py-pythran/Makefile | 7 +++----
devel/py-pythran/distinfo | 6 +++---
.../files/patch-pythran_xsimd_arch_xsimd__scalar.hpp | 16 ++++++++++++++++
.../patch-third__party_xsimd_arch_xsimd__scalar.hpp | 16 ++++++++++++++++
4 files changed, 38 insertions(+), 7 deletions(-)
diff --git a/devel/py-pythran/Makefile b/devel/py-pythran/Makefile
index 7f5904dbb71f..518b2b87eaa1 100644
--- a/devel/py-pythran/Makefile
+++ b/devel/py-pythran/Makefile
@@ -1,6 +1,5 @@
PORTNAME= pythran
-PORTVERSION= 0.12.0
-PORTREVISION= 1
+PORTVERSION= 0.12.1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +12,8 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYNUMPY} \
- ${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}gast>=0.5.0<0.6:devel/py-gast@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ply>=3.4:devel/py-ply@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}gast>=0.5.0:devel/py-gast@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}beniget>=0.4.0:devel/py-beniget@${PY_FLAVOR}
USES= python:3.6+
diff --git a/devel/py-pythran/distinfo b/devel/py-pythran/distinfo
index 3be927ddbc4a..c1962318425f 100644
--- a/devel/py-pythran/distinfo
+++ b/devel/py-pythran/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1669366612
-SHA256 (pythran-0.12.0.tar.gz) = eff3dd0d3eebe57372f0d14f82985525e9bcdfb5b1d1010e1932cf9207060f9f
-SIZE (pythran-0.12.0.tar.gz) = 3913199
+TIMESTAMP = 1680033245
+SHA256 (pythran-0.12.1.tar.gz) = 702c2701187cfb38f66c0c20cc85d04d0e156d260a8d92892da65947faa5360e
+SIZE (pythran-0.12.1.tar.gz) = 3995885
diff --git a/devel/py-pythran/files/patch-pythran_xsimd_arch_xsimd__scalar.hpp b/devel/py-pythran/files/patch-pythran_xsimd_arch_xsimd__scalar.hpp
new file mode 100644
index 000000000000..ec43f48fd319
--- /dev/null
+++ b/devel/py-pythran/files/patch-pythran_xsimd_arch_xsimd__scalar.hpp
@@ -0,0 +1,16 @@
+--- pythran/xsimd/arch/xsimd_scalar.hpp.orig 2023-04-02 16:37:10 UTC
++++ pythran/xsimd/arch/xsimd_scalar.hpp
+@@ -444,11 +444,11 @@ namespace xsimd
+ #if defined(_GNU_SOURCE) && !defined(__APPLE__) && !defined(__MINGW32__) && !defined(__ANDROID__)
+ inline float exp10(const float& x) noexcept
+ {
+- return ::exp10f(x);
++ return ::expf(x*::logf(10));
+ }
+ inline double exp10(const double& x) noexcept
+ {
+- return ::exp10(x);
++ return ::exp(x*::log(10));
+ }
+ #endif
+
diff --git a/devel/py-pythran/files/patch-third__party_xsimd_arch_xsimd__scalar.hpp b/devel/py-pythran/files/patch-third__party_xsimd_arch_xsimd__scalar.hpp
new file mode 100644
index 000000000000..1497d78093b5
--- /dev/null
+++ b/devel/py-pythran/files/patch-third__party_xsimd_arch_xsimd__scalar.hpp
@@ -0,0 +1,16 @@
+--- third_party/xsimd/arch/xsimd_scalar.hpp.orig 2023-04-02 17:04:24 UTC
++++ third_party/xsimd/arch/xsimd_scalar.hpp
+@@ -444,11 +444,11 @@ namespace xsimd
+ #if defined(_GNU_SOURCE) && !defined(__APPLE__) && !defined(__MINGW32__) && !defined(__ANDROID__)
+ inline float exp10(const float& x) noexcept
+ {
+- return ::exp10f(x);
++ return ::expf(x*::logf(10));
+ }
+ inline double exp10(const double& x) noexcept
+ {
+- return ::exp10(x);
++ return ::exp(x*::log(10));
+ }
+ #endif
+