git: 16fd200a226b - main - science/py-quantities: Update 0.13.0 → 0.14.1

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 19 Jun 2023 05:40:46 UTC
The branch main has been updated by yuri:

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

commit 16fd200a226bdc3724253ab9f5ba2ce0dca88b7e
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-06-19 05:29:44 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-06-19 05:40:38 +0000

    science/py-quantities: Update 0.13.0 → 0.14.1
    
    Reported by:    portscout
---
 science/py-quantities/Makefile | 11 +++++------
 science/py-quantities/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/science/py-quantities/Makefile b/science/py-quantities/Makefile
index 2c69e3eb344a..910cf64aaa4d 100644
--- a/science/py-quantities/Makefile
+++ b/science/py-quantities/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	quantities
-DISTVERSION=	0.13.0
-PORTREVISION=	1
+DISTVERSION=	0.14.1
 CATEGORIES=	science python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,11 +13,11 @@ LICENSE=	BSD3CLAUSE
 RUN_DEPENDS=	${PYNUMPY}
 
 USES=		python:3.7+
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	distutils autoplist pytest # tests fail to run, see https://github.com/python-quantities/python-quantities/issues/224
 
-NO_ARCH=	yes
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+TEST_WRKSRC=	${WRKSRC}/quantities/tests
 
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/science/py-quantities/distinfo b/science/py-quantities/distinfo
index c6ffa77ff87c..bf45a7eea678 100644
--- a/science/py-quantities/distinfo
+++ b/science/py-quantities/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1642176908
-SHA256 (quantities-0.13.0.tar.gz) = 0fde20115410de21cefa786f3aeae69c1b51bb19ee492190324c1da705e61a81
-SIZE (quantities-0.13.0.tar.gz) = 85971
+TIMESTAMP = 1687152259
+SHA256 (quantities-0.14.1.tar.gz) = efeafffc0c0364f891a9327239cd12496bccb55cd037a6d1bf44de706f722877
+SIZE (quantities-0.14.1.tar.gz) = 91528