Index: science/py-scipy/Makefile =================================================================== --- science/py-scipy/Makefile +++ science/py-scipy/Makefile @@ -1,5 +1,5 @@ PORTNAME= scipy -DISTVERSION= 1.11.1 +DISTVERSION= 1.11.3 CATEGORIES= science python MASTER_SITES= https://docs.scipy.org/doc/${PORTNAME}-${DISTVERSION}/:doc \ PYPI:source \ @@ -20,7 +20,10 @@ ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pythran>=0:devel/py-pythran@${PY_FLAVOR} \ - unzip>0:archivers/unzip + ${PYTHON_PKGNAMEPREFIX}meson-python>=0:devel/meson-python@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ + unzip>0:archivers/unzip \ + meson:devel/meson LIB_DEPENDS= libblas.so:math/blas \ libopenblas.so:math/openblas RUN_DEPENDS= ${PYNUMPY} @@ -29,21 +32,24 @@ ${PYTHON_PKGNAMEPREFIX}pooch>0:devel/py-pooch@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-timeout>0:devel/py-pytest-timeout@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}scikit-umfpack>0:math/py-scikit-umfpack@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} -USES= compiler:c++14-lang cpe fortran python:3.9-3.11 shebangfix -USE_PYTHON= autoplist concurrent cython distutils - -FFLAGS+= -std=legacy -LDFLAGS+= -shared -PYDISTUTILS_BUILDARGS= --fcompiler=gnu95 -PYDISTUTILS_CONFIGUREARGS= --fcompiler=gnu95 +USES= compiler:c++14-lang cpe fortran pkgconfig python:3.9-3.11 shebangfix +USE_PYTHON= cython pep517 PORTDOCS= * OPTIONS_DEFINE= DOCS +do-configure: + cd ${WRKSRC} && meson setup build + +do-build: + cd ${WRKSRC}/build && meson compile + +do-install: + cd ${WRKSRC}/build && DESTDIR=${STAGEDIR} meson install + post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/scipy/ -name '*.so' | ${XARGS} ${STRIP_CMD} @@ -52,7 +58,7 @@ @${UNZIP_CMD} -d ${STAGEDIR}${DOCSDIR} ${DISTDIR}/scipy-html-${DISTVERSION}.zip @${RM} ${STAGEDIR}${PREFIX}/share/doc/${PYTHON_PKGNAMEPREFIX}${PORTNAME}/.buildinfo -do-test: - @cd ${WRKSRC} && ${TOUCH} .coveragerc && ${PYTHON_CMD} runtests.py +#do-test: +# @cd ${WRKSRC}/build && meson test .include Index: science/py-scipy/distinfo =================================================================== --- science/py-scipy/distinfo +++ science/py-scipy/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1688646879 -SHA256 (scipy-1.11.1.tar.gz) = fb5b492fa035334fd249f0973cc79ecad8b09c604b42a127a677b45a9a3d4289 -SIZE (scipy-1.11.1.tar.gz) = 56031509 -SHA256 (scipy-html-1.11.1.zip) = e0a90d5fb0b93f0433c63cc1f80c8084e54c0402606a60a7898f61b53be60f13 -SIZE (scipy-html-1.11.1.zip) = 50389323 +TIMESTAMP = 1696383044 +SHA256 (scipy-1.11.3.tar.gz) = bba4d955f54edd61899776bad459bf7326e14b9fa1c552181f0479cc60a568cd +SIZE (scipy-1.11.3.tar.gz) = 56335652 +SHA256 (scipy-html-1.11.3.zip) = 1ada7ab15a484a39dfe3b770249526fafe6ed897b770141c10d577125e060f30 +SIZE (scipy-html-1.11.3.zip) = 50442667