From f05377d668e191a35972df6770c693dde7ef9aba Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Sat, 17 Sep 2022 09:03:03 -0700 Subject: [PATCH] math/{,py-}fenics-basix: Update 0.5.0.post0 -> 0.5.1 Reported by: portscout --- math/fenics-basix/Makefile | 4 ++-- math/fenics-basix/distinfo | 6 +++--- math/py-fenics-basix/Makefile | 15 +++++++++++---- math/py-fenics-basix/distinfo | 6 +++--- 4 files changed, 19 insertions(+), 12 deletions(-) diff --git a/math/fenics-basix/Makefile b/math/fenics-basix/Makefile index d0ee136640dc..51f9de6ce9f7 100644 --- a/math/fenics-basix/Makefile +++ b/math/fenics-basix/Makefile @@ -1,6 +1,6 @@ PORTNAME= fenics-basix DISTVERSIONPREFIX= v -DISTVERSION= 0.5.0.post0 +DISTVERSION= 0.5.1 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org @@ -14,7 +14,7 @@ BUILD_DEPENDS= xtensor>0:math/xtensor \ xtl-quant-stack>0:devel/xtl-quant-stack LIB_DEPENDS= libopenblas.so:math/openblas -USES= cmake compiler:c++17-lang +USES= cmake compiler:c++20-lang USE_GITHUB= yes GH_ACCOUNT= FEniCS diff --git a/math/fenics-basix/distinfo b/math/fenics-basix/distinfo index f492e539eeaa..1c236db7276d 100644 --- a/math/fenics-basix/distinfo +++ b/math/fenics-basix/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1661728747 -SHA256 (FEniCS-basix-v0.5.0.post0_GH0.tar.gz) = 660196d7afb5ac5e4c79f92b38b0847e46865d5d5f9a7efabd7b3c658461eb81 -SIZE (FEniCS-basix-v0.5.0.post0_GH0.tar.gz) = 600747 +TIMESTAMP = 1663393118 +SHA256 (FEniCS-basix-v0.5.1_GH0.tar.gz) = 69133476ac35f0bd0deccb480676030378c341d7dfb2adaca22cd16b7e1dc1cb +SIZE (FEniCS-basix-v0.5.1_GH0.tar.gz) = 605826 diff --git a/math/py-fenics-basix/Makefile b/math/py-fenics-basix/Makefile index 730393b7089c..135c51ee2e30 100644 --- a/math/py-fenics-basix/Makefile +++ b/math/py-fenics-basix/Makefile @@ -1,6 +1,6 @@ PORTNAME= fenics-basix DISTVERSIONPREFIX= v -DISTVERSION= 0.5.0.post0 +DISTVERSION= 0.5.1 CATEGORIES= math PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,15 +15,19 @@ BUILD_DEPENDS= pybind11>=2.6.4:devel/pybind11 \ cmake-core>=3.16:devel/cmake-core \ xtensor>0:math/xtensor \ xtl-quant-stack>0:devel/xtl-quant-stack \ - ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}scikit-build>=0.12:devel/py-scikit-build@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libbasix.so:math/fenics-basix -RUN_DEPENDS= ${PYNUMPY} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numba>0:devel/py-numba@${PY_FLAVOR} \ + ${PYNUMPY} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fenics-ufl>0:math/py-fenics-ufl@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR} USES= localbase python -USE_PYTHON= distutils autoplist pytest # pytest doesn't find any tests, see https://github.com/FEniCS/basix/issues/590 +USE_PYTHON= distutils autoplist pytest # 36 tests are known to fail likely because of broken numba, see https://github.com/FEniCS/basix/issues/594 USE_GITHUB= yes GH_ACCOUNT= FEniCS @@ -31,4 +35,7 @@ GH_PROJECT= basix WRKSRC_SUBDIR= python +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +TEST_WRKSRC= ${WRKSRC}/../test + .include diff --git a/math/py-fenics-basix/distinfo b/math/py-fenics-basix/distinfo index 8b1472057888..88101754d4e3 100644 --- a/math/py-fenics-basix/distinfo +++ b/math/py-fenics-basix/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1661729492 -SHA256 (FEniCS-basix-v0.5.0.post0_GH0.tar.gz) = 660196d7afb5ac5e4c79f92b38b0847e46865d5d5f9a7efabd7b3c658461eb81 -SIZE (FEniCS-basix-v0.5.0.post0_GH0.tar.gz) = 600747 +TIMESTAMP = 1663393256 +SHA256 (FEniCS-basix-v0.5.1_GH0.tar.gz) = 69133476ac35f0bd0deccb480676030378c341d7dfb2adaca22cd16b7e1dc1cb +SIZE (FEniCS-basix-v0.5.1_GH0.tar.gz) = 605826