Lines 1-7
Link Here
|
1 |
# Created by: Tony Maher |
1 |
# Created by: Tony Maher |
2 |
|
2 |
|
3 |
PORTNAME= numpy |
3 |
PORTNAME= numpy |
4 |
PORTVERSION= 1.20.3 |
4 |
PORTVERSION= 1.21.4 |
5 |
PORTEPOCH= 1 |
5 |
PORTEPOCH= 1 |
6 |
CATEGORIES= math python |
6 |
CATEGORIES= math python |
7 |
MASTER_SITES= CHEESESHOP \ |
7 |
MASTER_SITES= CHEESESHOP \ |
Lines 19-28
Link Here
|
19 |
LICENSE= BSD3CLAUSE |
19 |
LICENSE= BSD3CLAUSE |
20 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
20 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
21 |
|
21 |
|
22 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ |
22 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=6.2.4:devel/py-pytest@${PY_FLAVOR} \ |
23 |
${PYTHON_PKGNAMEPREFIX}hypothesis>=5.41.3:devel/py-hypothesis@${PY_FLAVOR} |
23 |
${PYTHON_PKGNAMEPREFIX}hypothesis>=6.12.0:devel/py-hypothesis@${PY_FLAVOR} |
24 |
|
24 |
|
25 |
USES= compiler:c11 cpe fortran python:3.7-3.9 zip |
25 |
USES= compiler:c11 cpe fortran python:3.7+ zip |
26 |
USE_PYTHON= allflavors autoplist concurrent cython distutils |
26 |
USE_PYTHON= allflavors autoplist concurrent cython distutils |
27 |
|
27 |
|
28 |
GCCLIBDIR_CMDS= ${FC} -print-file-name=libgfortran.so | ${SED} -e s/libgfortran.so// |
28 |
GCCLIBDIR_CMDS= ${FC} -print-file-name=libgfortran.so | ${SED} -e s/libgfortran.so// |
Lines 47-52
Link Here
|
47 |
OPENBLAS_VARS= BLASLIBS="openblas, gfortran" BLASNAME=openblas LAPACKLIBS="openblas, gfortran" LIBRARIES=libraries |
47 |
OPENBLAS_VARS= BLASLIBS="openblas, gfortran" BLASNAME=openblas LAPACKLIBS="openblas, gfortran" LIBRARIES=libraries |
48 |
SUITESPARSE_LIB_DEPENDS=libumfpack.so:math/suitesparse-umfpack |
48 |
SUITESPARSE_LIB_DEPENDS=libumfpack.so:math/suitesparse-umfpack |
49 |
|
49 |
|
|
|
50 |
NO_TEST= yes |
51 |
|
50 |
post-extract: |
52 |
post-extract: |
51 |
@${TOUCH} ${WRKSRC}/numpy/f2py/tests/src/temp |
53 |
@${TOUCH} ${WRKSRC}/numpy/f2py/tests/src/temp |
52 |
@${TOUCH} ${WRKSRC}/numpy/random/_examples/temp |
54 |
@${TOUCH} ${WRKSRC}/numpy/random/_examples/temp |
Lines 62-67
Link Here
|
62 |
-e 's|%%LAPACKLIBS%%|${LAPACKLIBS}|; s|%%LIBRARIES%%|${LIBRARIES}|' \ |
64 |
-e 's|%%LAPACKLIBS%%|${LAPACKLIBS}|; s|%%LIBRARIES%%|${LIBRARIES}|' \ |
63 |
${WRKSRC}/site.cfg |
65 |
${WRKSRC}/site.cfg |
64 |
@${REINPLACE_CMD} -e "s|%%GCCLIBDIR%%|$$(${GCCLIBDIR_CMDS})|" ${WRKSRC}/site.cfg ${WRKSRC}/numpy/distutils/system_info.py |
66 |
@${REINPLACE_CMD} -e "s|%%GCCLIBDIR%%|$$(${GCCLIBDIR_CMDS})|" ${WRKSRC}/site.cfg ${WRKSRC}/numpy/distutils/system_info.py |
|
|
67 |
|
68 |
do-configure: |
65 |
|
69 |
|
66 |
post-install: |
70 |
post-install: |
67 |
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' | ${XARGS} ${STRIP_CMD} |
71 |
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' | ${XARGS} ${STRIP_CMD} |