git: c9d087f82835 - main - math/py-unyt: Update 2.8.0 -> 2.9.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 30 Sep 2022 04:38:19 UTC
The branch main has been updated by yuri:

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

commit c9d087f82835474981a050d38b7f52314c129bb4
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-09-30 04:30:15 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-09-30 04:30:15 +0000

    math/py-unyt: Update 2.8.0 -> 2.9.0
    
    Reported by:    portscout
---
 math/py-unyt/Makefile | 8 +++-----
 math/py-unyt/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/math/py-unyt/Makefile b/math/py-unyt/Makefile
index 4f0da1dfde8f..ea4ccfae3d4d 100644
--- a/math/py-unyt/Makefile
+++ b/math/py-unyt/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	unyt
-DISTVERSION=	2.8.0
+DISTVERSION=	2.9.0
 CATEGORIES=	math python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,14 +15,12 @@ PY_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}sympy>=1.2:math/py-sympy@${PY_FLAVOR}
 BUILD_DEPENDS=	${PY_DEPENDS}
 RUN_DEPENDS=	${PY_DEPENDS}
-TEST_DEPENDS=	py.test:devel/py-pytest@${PY_FLAVOR}
 
 USES=		python:3.6+
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	distutils autoplist pytest
 
 NO_ARCH=	yes
 
-do-test: # tests fail: https://github.com/yt-project/unyt/issues/192
-	@cd ${WRKSRC} && pytest
+TEST_WRKSRC=	${WRKSRC}/unyt/tests
 
 .include <bsd.port.mk>
diff --git a/math/py-unyt/distinfo b/math/py-unyt/distinfo
index 50a9f891deb1..6611237866db 100644
--- a/math/py-unyt/distinfo
+++ b/math/py-unyt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1627952296
-SHA256 (unyt-2.8.0.tar.gz) = 6a17f849af0ec376fccb111c26b767022189d157d416f0fe5078f31b6b01a22e
-SIZE (unyt-2.8.0.tar.gz) = 324621
+TIMESTAMP = 1664511824
+SHA256 (unyt-2.9.0.tar.gz) = ff0d399dd3790a78eca9e27f0d239991f1d3ff88d0cf40dda0b86f8a21ae0eb6
+SIZE (unyt-2.9.0.tar.gz) = 1433787