git: 6a5ba3384e0a - main - math/py-unyt: update 2.9.5 → 3.0.3

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 04 Jul 2024 16:18:47 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6a5ba3384e0a8c767a9b086862785adf01bdb090

commit 6a5ba3384e0a8c767a9b086862785adf01bdb090
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-07-04 15:41:41 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-07-04 16:18:42 +0000

    math/py-unyt: update 2.9.5 → 3.0.3
    
    Reported by:    portscout
---
 math/py-unyt/Makefile | 14 ++++++++------
 math/py-unyt/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/math/py-unyt/Makefile b/math/py-unyt/Makefile
index ebebc6084e76..3c84133512a4 100644
--- a/math/py-unyt/Makefile
+++ b/math/py-unyt/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	unyt
-DISTVERSION=	2.9.5
+DISTVERSION=	3.0.3
 CATEGORIES=	math python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,13 +11,15 @@ WWW=		https://github.com/yt-project/unyt
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-PY_DEPENDS=	${PYNUMPY} \
-		${PYTHON_PKGNAMEPREFIX}sympy>=1.5:math/py-sympy@${PY_FLAVOR}
-BUILD_DEPENDS=	${PY_DEPENDS}
-RUN_DEPENDS=	${PY_DEPENDS}
+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=	${PYNUMPY} \
+		${PYTHON_PKGNAMEPREFIX}packaging>=20.9:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sympy>=1.7:math/py-sympy@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils autoplist pytest
+USE_PYTHON=	pep517 autoplist pytest
 
 NO_ARCH=	yes
 
diff --git a/math/py-unyt/distinfo b/math/py-unyt/distinfo
index 3852b5c46768..2327e2080e87 100644
--- a/math/py-unyt/distinfo
+++ b/math/py-unyt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1685291605
-SHA256 (unyt-2.9.5.tar.gz) = 99892f33b5c6bf97053beac84c8a136747631828f030725e9a01147d48377337
-SIZE (unyt-2.9.5.tar.gz) = 1368888
+TIMESTAMP = 1720059355
+SHA256 (unyt-3.0.3.tar.gz) = d1d6f481186c663b2631fe129e82abdf0aed61a93a70662040020aabe016384b
+SIZE (unyt-3.0.3.tar.gz) = 1357681