git: 1bc0d621db40 - main - misc/py-jiwer: update 3.0.4 → 3.1.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 23 Apr 2025 21:52:43 UTC
The branch main has been updated by yuri:

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

commit 1bc0d621db4078df953d5685ffca8554708b11a9
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-04-23 15:00:03 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-04-23 21:52:36 +0000

    misc/py-jiwer: update 3.0.4 → 3.1.0
---
 misc/py-jiwer/Makefile | 9 ++++++---
 misc/py-jiwer/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/misc/py-jiwer/Makefile b/misc/py-jiwer/Makefile
index afe34a2dd3f4..a7069247ccb6 100644
--- a/misc/py-jiwer/Makefile
+++ b/misc/py-jiwer/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	jiwer
 #DISTVERSIONPREFIX=	v
-DISTVERSION=	3.0.4 # see https://github.com/jitsi/jiwer/issues/91
+DISTVERSION=	3.1.0
 CATEGORIES=	misc python # machine-learning
 MASTER_SITES=	PYPI # no tests
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,12 +12,13 @@ WWW=		https://github.com/jitsi/jiwer
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>=8.1.3:devel/py-click@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rapidfuzz>=3:devel/py-rapidfuzz@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-benchmark>=4.0.0:devel/py-pytest-benchmark@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	pep517 concurrent autoplist #pytest
+USE_PYTHON=	pep517 concurrent autoplist pytest
 
 #USE_GITHUB=	yes
 #GH_ACCOUNT=	jitsi
@@ -26,4 +27,6 @@ TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
 NO_ARCH=	yes
 
+# tests as of 3.1.0: 72 passed, 18 warnings in 635.74s (0:10:35)
+
 .include <bsd.port.mk>
diff --git a/misc/py-jiwer/distinfo b/misc/py-jiwer/distinfo
index 70736cf03395..a54205a05911 100644
--- a/misc/py-jiwer/distinfo
+++ b/misc/py-jiwer/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1722887112
-SHA256 (jiwer-3.0.4.tar.gz) = 2438acdc7ca22128fcab4be60db595809d2b5e73785b736de36dc3281a2a6ae8
-SIZE (jiwer-3.0.4.tar.gz) = 17515
+TIMESTAMP = 1745439188
+SHA256 (jiwer-3.1.0.tar.gz) = dc492d09e570f1baba98c76aba09baf8e09c06e6808a4ba412dd4bde67fb79ac
+SIZE (jiwer-3.1.0.tar.gz) = 103187