View | Details | Raw Unified | Return to bug 270507 | Differences between
and this patch

Collapse All | Expand All

(-)b/devel/py-pythran/Makefile (-3 / +3 lines)
Lines 1-5 Link Here
1
PORTNAME=	pythran
1
PORTNAME=	pythran
2
PORTVERSION=	0.12.0
2
PORTVERSION=	0.12.1
3
CATEGORIES=	devel python
3
CATEGORIES=	devel python
4
MASTER_SITES=	PYPI
4
MASTER_SITES=	PYPI
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 12-19 LICENSE= BSD3CLAUSE Link Here
12
LICENSE_FILE=	${WRKSRC}/LICENSE
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
13
14
RUN_DEPENDS=	${PYNUMPY} \
14
RUN_DEPENDS=	${PYNUMPY} \
15
		${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply@${PY_FLAVOR} \
15
		${PYTHON_PKGNAMEPREFIX}ply>=3.4:devel/py-ply@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}gast>=0.5.0<0.6:devel/py-gast@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}gast>=0.5.0:devel/py-gast@${PY_FLAVOR} \
17
		${PYTHON_PKGNAMEPREFIX}beniget>=0.4.0:devel/py-beniget@${PY_FLAVOR}
17
		${PYTHON_PKGNAMEPREFIX}beniget>=0.4.0:devel/py-beniget@${PY_FLAVOR}
18
18
19
USES=		python:3.6+
19
USES=		python:3.6+
(-)b/devel/py-pythran/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1669366612
1
TIMESTAMP = 1680033245
2
SHA256 (pythran-0.12.0.tar.gz) = eff3dd0d3eebe57372f0d14f82985525e9bcdfb5b1d1010e1932cf9207060f9f
2
SHA256 (pythran-0.12.1.tar.gz) = 702c2701187cfb38f66c0c20cc85d04d0e156d260a8d92892da65947faa5360e
3
SIZE (pythran-0.12.0.tar.gz) = 3913199
3
SIZE (pythran-0.12.1.tar.gz) = 3995885
(-)b/devel/py-pythran/files/patch-pythran_xsimd_arch_xsimd__scalar.hpp (+16 lines)
Added Link Here
1
--- pythran/xsimd/arch/xsimd_scalar.hpp.orig	2023-04-02 16:37:10 UTC
2
+++ pythran/xsimd/arch/xsimd_scalar.hpp
3
@@ -444,11 +444,11 @@ namespace xsimd
4
 #if defined(_GNU_SOURCE) && !defined(__APPLE__) && !defined(__MINGW32__) && !defined(__ANDROID__)
5
     inline float exp10(const float& x) noexcept
6
     {
7
-        return ::exp10f(x);
8
+        return ::expf(x*::logf(10));
9
     }
10
     inline double exp10(const double& x) noexcept
11
     {
12
-        return ::exp10(x);
13
+        return ::exp(x*::log(10));
14
     }
15
 #endif
16
 
(-)b/devel/py-pythran/files/patch-third__party_xsimd_arch_xsimd__scalar.hpp (+16 lines)
Added Link Here
1
--- third_party/xsimd/arch/xsimd_scalar.hpp.orig	2023-04-02 17:04:24 UTC
2
+++ third_party/xsimd/arch/xsimd_scalar.hpp
3
@@ -444,11 +444,11 @@ namespace xsimd
4
 #if defined(_GNU_SOURCE) && !defined(__APPLE__) && !defined(__MINGW32__) && !defined(__ANDROID__)
5
     inline float exp10(const float& x) noexcept
6
     {
7
-        return ::exp10f(x);
8
+        return ::expf(x*::logf(10));
9
     }
10
     inline double exp10(const double& x) noexcept
11
     {
12
-        return ::exp10(x);
13
+        return ::exp(x*::log(10));
14
     }
15
 #endif
16
 

Return to bug 270507