git: ff9098f7093e - main - math/py-numpy: Update to 1.22.4
Date: Wed, 25 May 2022 07:24:24 UTC
The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=ff9098f7093e8f774790ac4139dc1090fae538da commit ff9098f7093e8f774790ac4139dc1090fae538da Author: Wen Heping <wen@FreeBSD.org> AuthorDate: 2022-05-25 07:22:27 +0000 Commit: Wen Heping <wen@FreeBSD.org> CommitDate: 2022-05-25 07:22:27 +0000 math/py-numpy: Update to 1.22.4 PR: 264153 Reported by: wen@ Exp-run by: antoine@ --- Mk/Uses/python.mk | 2 +- math/py-numpy/Makefile | 11 +++++++---- math/py-numpy/distinfo | 14 +++++++------- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk index 0b8f782c0314..54f311ca5fe0 100644 --- a/Mk/Uses/python.mk +++ b/Mk/Uses/python.mk @@ -645,7 +645,7 @@ CMAKE_ARGS+= -DPython_ADDITIONAL_VERSIONS=${PYTHON_VER} # Python 3rd-party modules PYGAME= ${PYTHON_PKGNAMEPREFIX}game>0:devel/py-game@${PY_FLAVOR} -PYNUMPY= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16,1<1.21,1:math/py-numpy@${PY_FLAVOR} +PYNUMPY= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16,1<1.23,1:math/py-numpy@${PY_FLAVOR} # Common Python modules that can be needed but only for some versions of Python. . if ${PYTHON_REL} < 30500 diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile index 5a3130271612..e75b710aeea0 100644 --- a/math/py-numpy/Makefile +++ b/math/py-numpy/Makefile @@ -1,7 +1,7 @@ # Created by: Tony Maher PORTNAME= numpy -PORTVERSION= 1.20.3 +PORTVERSION= 1.22.4 PORTEPOCH= 1 CATEGORIES= math python MASTER_SITES= CHEESESHOP \ @@ -19,10 +19,10 @@ COMMENT= The New Numeric Extension to Python LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}hypothesis>=5.41.3:devel/py-hypothesis@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=6.2.5:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hypothesis>=6.24.1:devel/py-hypothesis@${PY_FLAVOR} -USES= compiler:c11 cpe fortran python:3.7-3.9 zip +USES= compiler:c11 cpe fortran python:3.8-3.10 zip USE_PYTHON= allflavors autoplist concurrent cython distutils GCCLIBDIR_CMDS= ${FC} -print-file-name=libgfortran.so | ${SED} -e s/libgfortran.so// @@ -50,6 +50,7 @@ SUITESPARSE_LIB_DEPENDS=libumfpack.so:math/suitesparse-umfpack post-extract: @${TOUCH} ${WRKSRC}/numpy/f2py/tests/src/temp @${TOUCH} ${WRKSRC}/numpy/random/_examples/temp + @${TOUCH} ${WRKSRC}/numpy/core/tests/examples/temp pre-configure-SUITESPARSE-off: @${REINPLACE_CMD} -e 's|:%%LOCALBASE%%/include/suitesparse||' ${WRKSRC}/site.cfg @@ -63,6 +64,8 @@ pre-configure: ${WRKSRC}/site.cfg @${REINPLACE_CMD} -e "s|%%GCCLIBDIR%%|$$(${GCCLIBDIR_CMDS})|" ${WRKSRC}/site.cfg ${WRKSRC}/numpy/distutils/system_info.py +do-configure: + post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' | ${XARGS} ${STRIP_CMD} diff --git a/math/py-numpy/distinfo b/math/py-numpy/distinfo index 7a8bcb26092b..63ba43bee335 100644 --- a/math/py-numpy/distinfo +++ b/math/py-numpy/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1621965044 -SHA256 (numpy-1.20/numpy-1.20.3.zip) = e55185e51b18d788e49fe8305fd73ef4470596b33fc2c1ceb304566b99c71a69 -SIZE (numpy-1.20/numpy-1.20.3.zip) = 7761912 -SHA256 (numpy-1.20/numpy-ref.pdf) = 39514faf26f4fecb697d771ba83e9340e35d3afd22478ab7e641f9daed67e84a -SIZE (numpy-1.20/numpy-ref.pdf) = 7362241 -SHA256 (numpy-1.20/numpy-user.pdf) = 20cc665d19cbb4a2dfe7505a06dc23ae978982fec27e3108ddb332110bc2a94c -SIZE (numpy-1.20/numpy-user.pdf) = 4977046 +TIMESTAMP = 1653094711 +SHA256 (numpy-1.22/numpy-1.22.4.zip) = 425b390e4619f58d8526b3dcf656dde069133ae5c240229821f01b5f44ea07af +SIZE (numpy-1.22/numpy-1.22.4.zip) = 11458830 +SHA256 (numpy-1.22/numpy-ref.pdf) = 7bd59a87aa2ff30cf659fa112dc0da758059860a92ca55d78510a755e9fba411 +SIZE (numpy-1.22/numpy-ref.pdf) = 7537013 +SHA256 (numpy-1.22/numpy-user.pdf) = e3536a6505ac1d8be04922bee82d300833799aeb940af8c1fdb77533148221df +SIZE (numpy-1.22/numpy-user.pdf) = 3978348