git: 3737b273ff46 - main - misc/py-faster-coco-eval: update 1.7.2 → 1.8.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 13 Sep 2026 03:06:49 UTC
The branch main has been updated by yuri:

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

commit 3737b273ff46314cbf59459101625d58b5b60175
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-09-12 21:09:28 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-09-13 03:06:17 +0000

    misc/py-faster-coco-eval: update 1.7.2 → 1.8.0
---
 misc/py-faster-coco-eval/Makefile | 26 +++++++++++++++++++-------
 misc/py-faster-coco-eval/distinfo |  6 +++---
 2 files changed, 22 insertions(+), 10 deletions(-)

diff --git a/misc/py-faster-coco-eval/Makefile b/misc/py-faster-coco-eval/Makefile
index 4cb928e3ed09..3aceac1f9ddd 100644
--- a/misc/py-faster-coco-eval/Makefile
+++ b/misc/py-faster-coco-eval/Makefile
@@ -1,24 +1,34 @@
 PORTNAME=	faster-coco-eval
-PORTVERSION=	1.7.2
-CATEGORIES=	misc python
-MASTER_SITES=	PYPI
+PORTVERSION=	1.8.0
+CATEGORIES=	misc python # machine-learning
+#MASTER_SITES=	PYPI # no test datasets
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	faster_coco_eval-${PORTVERSION}
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Faster interpretation of the original COCOEval for computer vision
-WWW=		https://github.com/MiXaiLL76/faster_coco_eval
+WWW=		https://mixaill76.github.io/faster_coco_eval/ \
+		https://github.com/MiXaiLL76/faster_coco_eval
 
 LICENSE=	MIT
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=2.0.0:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pybind11>=2.12.0:devel/py-pybind11@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=2.0.0:math/py-numpy@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}torchvision>0:misc/py-torchvision@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	pep517 cython concurrent autoplist
+USE_PYTHON=	pep517 cython concurrent autoplist pytest
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	MiXaiLL76
+GH_PROJECT=	${PORTNAME:S/-/_/g}
+
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+TEST_WRKSRC=	${WRKSRC}/tests
+TEST_ARGS=	--disable-plugin-autoload
 
 post-extract:
 	@${REINPLACE_CMD} -e 's/^license = "\([^"]*\)"/license = {text = "\1"}/' \
@@ -27,4 +37,6 @@ post-extract:
 		${WRKSRC}/pyproject.toml
 	@${REINPLACE_CMD} -e '/data_files=/d' ${WRKSRC}/setup.py
 
+# tests as of 1.8.0: 2 failed, 171 passed, 25 skipped in 6.54s, see https://github.com/MiXaiLL76/faster_coco_eval/issues/132
+
 .include <bsd.port.mk>
diff --git a/misc/py-faster-coco-eval/distinfo b/misc/py-faster-coco-eval/distinfo
index a9d933eae2f2..6223c87fc5c4 100644
--- a/misc/py-faster-coco-eval/distinfo
+++ b/misc/py-faster-coco-eval/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1783090784
-SHA256 (faster_coco_eval-1.7.2.tar.gz) = 7f06cad6d60a4624c1e4a479b2d612be3e98565fc0dd4c8b41dabd5bdfe45557
-SIZE (faster_coco_eval-1.7.2.tar.gz) = 103791
+TIMESTAMP = 1789247089
+SHA256 (MiXaiLL76-faster_coco_eval-1.8.0_GH0.tar.gz) = 501d2b0093f86eacfb7c2a6676eb0c9498abe47bf37bb7072d864525b5e66e9b
+SIZE (MiXaiLL76-faster_coco_eval-1.8.0_GH0.tar.gz) = 5516526