Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Nov 2021 03:11:49 GMT
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 72c6cd5d6d4d - main - science/py-scipy: Update to 1.7.1
Message-ID:  <202111080311.1A83BnRT091733@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by wen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=72c6cd5d6d4d866a3fcd256413c78fcd1b4579d0

commit 72c6cd5d6d4d866a3fcd256413c78fcd1b4579d0
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2021-11-08 03:08:59 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2021-11-08 03:08:59 +0000

    science/py-scipy: Update to 1.7.1
    
    PR:             259584
    Reported by:    wen@
    Exp-run by:     antoine@
---
 science/py-scipy/Makefile                                     |  7 ++++---
 science/py-scipy/distinfo                                     | 10 +++++-----
 .../files/patch-scipy___lib_boost_boost_math_tools_config.hpp | 11 +++++++++++
 3 files changed, 20 insertions(+), 8 deletions(-)

diff --git a/science/py-scipy/Makefile b/science/py-scipy/Makefile
index 9f34f1b791b8..2f8fff337c4e 100644
--- a/science/py-scipy/Makefile
+++ b/science/py-scipy/Makefile
@@ -1,7 +1,7 @@
 # Created by: ijliao
 
 PORTNAME=	scipy
-DISTVERSION=	1.6.0
+DISTVERSION=	1.7.1
 CATEGORIES=	science python
 MASTER_SITES=	https://docs.scipy.org/doc/scipy-${PORTVERSION}/:doc \
 		CHEESESHOP:source \
@@ -19,13 +19,14 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 BUILD_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pythran>=0:devel/py-pythran
 LIB_DEPENDS=	libblas.so:math/blas \
 		libopenblas.so:math/openblas
 RUN_DEPENDS=	${PYNUMPY}
 
 USES=		compiler:c++14-lang cpe fortran python:3.7+ shebangfix
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent cython distutils
 
 FFLAGS+=	-std=legacy
 LDFLAGS+=	-shared
diff --git a/science/py-scipy/distinfo b/science/py-scipy/distinfo
index ce461d364261..c098b886afe2 100644
--- a/science/py-scipy/distinfo
+++ b/science/py-scipy/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1611377424
-SHA256 (scipy-1.6.0.tar.gz) = cb6dc9f82dfd95f6b9032a8d7ea70efeeb15d5b5fd6ed4e8537bb3c673580566
-SIZE (scipy-1.6.0.tar.gz) = 27275413
-SHA256 (scipy-ref-1.6.0.pdf) = 7091ef452ac5864be231d0ca3a6ccff9cdba7c03f92e867a76215de3033ff726
-SIZE (scipy-ref-1.6.0.pdf) = 34332184
+TIMESTAMP = 1636331176
+SHA256 (scipy-1.7.1.tar.gz) = 6b47d5fa7ea651054362561a28b1ccc8da9368a39514c1bbf6c0977a1c376764
+SIZE (scipy-1.7.1.tar.gz) = 36102628
+SHA256 (scipy-ref-1.7.1.pdf) = 6b774337060474ca74c47dfe77f88bd5f39cdc00a6649bb29df071fb720d810e
+SIZE (scipy-ref-1.7.1.pdf) = 33542025
diff --git a/science/py-scipy/files/patch-scipy___lib_boost_boost_math_tools_config.hpp b/science/py-scipy/files/patch-scipy___lib_boost_boost_math_tools_config.hpp
new file mode 100644
index 000000000000..bd4ded6a7460
--- /dev/null
+++ b/science/py-scipy/files/patch-scipy___lib_boost_boost_math_tools_config.hpp
@@ -0,0 +1,11 @@
+--- scipy/_lib/boost/boost/math/tools/config.hpp.orig	2021-11-01 02:28:55 UTC
++++ scipy/_lib/boost/boost/math/tools/config.hpp
+@@ -28,7 +28,7 @@
+ 
+ #include <boost/math/tools/user.hpp>
+ 
+-#if (defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__EMSCRIPTEN__)\
++#if (defined(__CYGWIN__) || defined(__NetBSD__) || defined(__EMSCRIPTEN__)\
+    || (defined(__hppa) && !defined(__OpenBSD__)) || (defined(__NO_LONG_DOUBLE_MATH) && (DBL_MANT_DIG != LDBL_MANT_DIG))) \
+    && !defined(BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS)
+ #  define BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111080311.1A83BnRT091733>