Date: Tue, 04 Aug 2026 20:11:02 +0000 From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 3cd2f1c9eba9 - main - math/py-unyt: update 3.0.=?utf-8?Q?3 =E2=86=92 3.?=1.0 Message-ID: <6a724756.3d904.3fe1a151@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=3cd2f1c9eba9856291b63abd24cd24cf25a2b820 commit 3cd2f1c9eba9856291b63abd24cd24cf25a2b820 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2026-08-04 19:06:49 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2026-08-04 20:10:27 +0000 math/py-unyt: update 3.0.3 → 3.1.0 --- math/py-unyt/Makefile | 22 ++++++++++++++-------- math/py-unyt/distinfo | 6 +++--- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/math/py-unyt/Makefile b/math/py-unyt/Makefile index 6442deb24ced..bbd5de5c952e 100644 --- a/math/py-unyt/Makefile +++ b/math/py-unyt/Makefile @@ -1,6 +1,5 @@ PORTNAME= unyt -DISTVERSION= 3.0.3 -PORTREVISION= 2 +DISTVERSION= 3.1.0 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,18 +11,25 @@ WWW= https://github.com/yt-project/unyt LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PY_SETUPTOOLS} \ - ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=7.0.1:devel/py-setuptools-scm@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.11,<4:devel/py-flit-core@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.21.3:math/py-numpy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=20.9:devel/py-packaging@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sympy>=1.7:math/py-sympy@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}sympy>=1.9.0:math/py-sympy@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-doctestplus>=1.4.0:devel/py-pytest-doctestplus@${PY_FLAVOR} USES= python USE_PYTHON= pep517 autoplist pytest NO_ARCH= yes -TEST_WRKSRC= ${WRKSRC}/unyt/tests +TEST_ENV= ${MAKE_ENV} \ + PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \ + PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \ + PYTEST_ADDOPTS="--rootdir=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -p pytest_doctestplus" +TEST_WRKSRC= ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/unyt/tests + +# tests as of 3.1.0: 846 passed, 3 skipped, 2 xfailed, 2 failed. The 2 failures +# are in test_astropy/test_astropy_dimensionless and are caused by the installed +# astro/py-astropy package referencing np.in1d, which was removed in NumPy 2.x. .include <bsd.port.mk> diff --git a/math/py-unyt/distinfo b/math/py-unyt/distinfo index 2327e2080e87..8af2c7791cc9 100644 --- a/math/py-unyt/distinfo +++ b/math/py-unyt/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1720059355 -SHA256 (unyt-3.0.3.tar.gz) = d1d6f481186c663b2631fe129e82abdf0aed61a93a70662040020aabe016384b -SIZE (unyt-3.0.3.tar.gz) = 1357681 +TIMESTAMP = 1785731210 +SHA256 (unyt-3.1.0.tar.gz) = 771582a87f1e521c9b62f7ca269b1965c0f77b479f7a063a51e8cef8b4cae51d +SIZE (unyt-3.1.0.tar.gz) = 141137home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a724756.3d904.3fe1a151>
