math/py-numpy: Update to 1.22.4
PR: 264153
Reported by: wen@
Exp-run by: antoine@
(cherry picked from commit ff9098f709
)
This commit is contained in:
parent
484cb70c3e
commit
03a6fffb8e
@ -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
|
||||
|
@ -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}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user