diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2026-07-09 04:36:59 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2026-07-09 05:20:16 +0000 |
| commit | aa00ecdebb491ff2096f3ef5d59aefec24ab1701 (patch) | |
| tree | a11707dca929c594bec5f6cf1d4a6b87d738e114 | |
| parent | b3ca7e71d49541372983b68d4abe3dc21c3a862c (diff) | |
misc/py-faster-coco-eval: New port: Faster interpretation of the original COCOEval for computer vision
| -rw-r--r-- | misc/Makefile | 1 | ||||
| -rw-r--r-- | misc/py-faster-coco-eval/Makefile | 30 | ||||
| -rw-r--r-- | misc/py-faster-coco-eval/distinfo | 3 | ||||
| -rw-r--r-- | misc/py-faster-coco-eval/pkg-descr | 4 |
4 files changed, 38 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 9a57cf34a1da..35f62204e008 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -499,6 +499,7 @@ SUBDIR += py-facenet-pytorch SUBDIR += py-fal-client SUBDIR += py-fast-histogram + SUBDIR += py-faster-coco-eval SUBDIR += py-fastmcp SUBDIR += py-fastmcp-slim SUBDIR += py-fastscapelib diff --git a/misc/py-faster-coco-eval/Makefile b/misc/py-faster-coco-eval/Makefile new file mode 100644 index 000000000000..4cb928e3ed09 --- /dev/null +++ b/misc/py-faster-coco-eval/Makefile @@ -0,0 +1,30 @@ +PORTNAME= faster-coco-eval +PORTVERSION= 1.7.2 +CATEGORIES= misc python +MASTER_SITES= PYPI +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 + +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} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=2.0.0:math/py-numpy@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 cython concurrent autoplist + +post-extract: + @${REINPLACE_CMD} -e 's/^license = "\([^"]*\)"/license = {text = "\1"}/' \ + -e '/^license-files/d' \ + -e 's/pybind11>=2.12.0, <3/pybind11>=2.12.0/' \ + ${WRKSRC}/pyproject.toml + @${REINPLACE_CMD} -e '/data_files=/d' ${WRKSRC}/setup.py + +.include <bsd.port.mk> diff --git a/misc/py-faster-coco-eval/distinfo b/misc/py-faster-coco-eval/distinfo new file mode 100644 index 000000000000..a9d933eae2f2 --- /dev/null +++ b/misc/py-faster-coco-eval/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1783090784 +SHA256 (faster_coco_eval-1.7.2.tar.gz) = 7f06cad6d60a4624c1e4a479b2d612be3e98565fc0dd4c8b41dabd5bdfe45557 +SIZE (faster_coco_eval-1.7.2.tar.gz) = 103791 diff --git a/misc/py-faster-coco-eval/pkg-descr b/misc/py-faster-coco-eval/pkg-descr new file mode 100644 index 000000000000..27f71371c516 --- /dev/null +++ b/misc/py-faster-coco-eval/pkg-descr @@ -0,0 +1,4 @@ +Faster COCO Eval provides a faster implementation of the original +COCO evaluation metrics for object detection. It accelerates the +computation of precision, recall, and mean Average Precision (mAP) +metrics used in the COCO object detection benchmark. |
