diff --git a/math/py-scs/Makefile b/math/py-scs/Makefile index bdf1f9e4ae5b..3611b719d74f 100644 --- a/math/py-scs/Makefile +++ b/math/py-scs/Makefile @@ -1,29 +1,29 @@ PORTNAME= scs -DISTVERSION= 3.2.4.post2 +DISTVERSION= 3.2.4.post3 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Splitting conic solver for Python WWW= https://github.com/cvxgrp/scs LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}meson-python>0:devel/meson-python@${PY_FLAVOR} \ ${PYNUMPY} LIB_DEPENDS= libopenblas.so:math/openblas RUN_DEPENDS= ${PYNUMPY} \ ${PYTHON_PKGNAMEPREFIX}scipy>=0.13.2:science/py-scipy@${PY_FLAVOR} USES= python blaslapack:openblas fortran localbase:ldflags pkgconfig # fortran is for openblas USE_PYTHON= pep517 autoplist pytest # 2 tests fail, see https://github.com/cvxgrp/scs/issues/273 CONFIGURE_ENV= BLAS_LAPACK_LIBS="openblas" MAKE_ENV= ${CONFIGURE_ENV} post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_scs_*.so .include diff --git a/math/py-scs/distinfo b/math/py-scs/distinfo index 490586b67a95..4c4544df894f 100644 --- a/math/py-scs/distinfo +++ b/math/py-scs/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1718821336 -SHA256 (scs-3.2.4.post2.tar.gz) = d9299567c8577a1be74ec8efdf68822d6ec4ee5fb832fb150e1be257621d64e2 -SIZE (scs-3.2.4.post2.tar.gz) = 1536028 +TIMESTAMP = 1718925164 +SHA256 (scs-3.2.4.post3.tar.gz) = a6ee9cb167c3d3bc57e023ee70df15ecb1fccc3eec286a02198f35198d56b612 +SIZE (scs-3.2.4.post3.tar.gz) = 1536058 diff --git a/math/py-scs/files/patch-pyproject.toml b/math/py-scs/files/patch-pyproject.toml index ab15f26d199f..7b7980d3fad4 100644 --- a/math/py-scs/files/patch-pyproject.toml +++ b/math/py-scs/files/patch-pyproject.toml @@ -1,10 +1,11 @@ ---- pyproject.toml.orig 2024-06-19 18:23:27 UTC +--- pyproject.toml.orig 2024-06-20 23:14:01 UTC +++ pyproject.toml -@@ -1,6 +1,6 @@ build-backend = 'mesonpy' +@@ -1,7 +1,7 @@ requires = [ [build-system] build-backend = 'mesonpy' --requires = ['meson-python', 'oldest-supported-numpy'] -+requires = ['meson-python', 'numpy'] - - [project] - name = 'scs' + requires = [ +- "numpy >= 2.0.0; python_version > '3.8'", ++ "numpy; python_version > '3.8'", + "oldest-supported-numpy; python_version <= '3.8'", + "meson-python" + ]