aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2026-07-09 02:28:59 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-07-09 05:20:15 +0000
commitb3ca7e71d49541372983b68d4abe3dc21c3a862c (patch)
tree601e88a2bfe91a5d5680ff50cacdda97e507aae6
parent20221c14e678869e962bccdf2e01ae84d26ba848 (diff)
misc/py-cvat-sdk: New port: Software Development Kit for Computer Vision Annotation Tool (CVAT)
-rw-r--r--misc/Makefile1
-rw-r--r--misc/py-cvat-sdk/Makefile36
-rw-r--r--misc/py-cvat-sdk/distinfo3
-rw-r--r--misc/py-cvat-sdk/pkg-descr4
4 files changed, 44 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 7b5e1082730c..9a57cf34a1da 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -485,6 +485,7 @@
SUBDIR += py-cppman
SUBDIR += py-crudini
SUBDIR += py-csvw
+ SUBDIR += py-cvat-sdk
SUBDIR += py-datasets
SUBDIR += py-detecta
SUBDIR += py-diffusers
diff --git a/misc/py-cvat-sdk/Makefile b/misc/py-cvat-sdk/Makefile
new file mode 100644
index 000000000000..42a7c30d523d
--- /dev/null
+++ b/misc/py-cvat-sdk/Makefile
@@ -0,0 +1,36 @@
+PORTNAME= cvat-sdk
+PORTVERSION= 2.69.0
+CATEGORIES= misc python # machine-learning
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/}-${PORTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Software Development Kit for Computer Vision Annotation Tool (CVAT)
+WWW= https://github.com/cvat-ai/cvat \
+ https://www.cvat.ai/
+
+LICENSE= MIT
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=21.4.0:devel/py-attrs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pillow>=10.3.0:graphics/py-pillow@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}platformdirs>=2.1.0:devel/py-platformdirs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.5.3:devel/py-python-dateutil@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tqdm>=4.64.0:misc/py-tqdm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.2.0:devel/py-typing-extensions@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}urllib3>=1.25.3:net/py-urllib3@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+NO_ARCH= yes
+
+post-extract:
+ @${REINPLACE_CMD} -e 's/^license = "\([^"]*\)"/license = {text = "\1"}/' \
+ -e '/^license-files/d' \
+ -e 's/setuptools>=77/setuptools>=0/' \
+ ${WRKSRC}/pyproject.toml
+
+.include <bsd.port.mk>
diff --git a/misc/py-cvat-sdk/distinfo b/misc/py-cvat-sdk/distinfo
new file mode 100644
index 000000000000..1fdc0233e2cd
--- /dev/null
+++ b/misc/py-cvat-sdk/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1783090332
+SHA256 (cvat_sdk-2.69.0.tar.gz) = 799ff1a763e1444a515edafcd162b7ab2fa89638211872bad139c63796a9dc7a
+SIZE (cvat_sdk-2.69.0.tar.gz) = 246397
diff --git a/misc/py-cvat-sdk/pkg-descr b/misc/py-cvat-sdk/pkg-descr
new file mode 100644
index 000000000000..805f11581004
--- /dev/null
+++ b/misc/py-cvat-sdk/pkg-descr
@@ -0,0 +1,4 @@
+CVAT SDK is the Software Development Kit for CVAT (Computer Vision
+Annotation Tool). It provides Python bindings for interacting with
+the CVAT platform, enabling programmatic management of annotation
+tasks, datasets, and projects.