aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2026-07-09 01:25:45 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-07-09 05:20:15 +0000
commit8506a373eb3987c17f00259a9df9b0c366770639 (patch)
tree7b38ceec6f9ca3178b08230201753a38cd68e766
parentcce58f536a18f272c3a4f7fac6e489badc01db3e (diff)
misc/py-analysis-framework-base: New port: Base interfaces and models for document analysis frameworks
-rw-r--r--misc/Makefile1
-rw-r--r--misc/py-analysis-framework-base/Makefile24
-rw-r--r--misc/py-analysis-framework-base/distinfo3
-rw-r--r--misc/py-analysis-framework-base/pkg-descr4
4 files changed, 32 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 3728dcc48d47..cff68f06c77c 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -454,6 +454,7 @@
SUBDIR += py-accelerate
SUBDIR += py-aistudio-sdk
SUBDIR += py-alive-progress
+ SUBDIR += py-analysis-framework-base
SUBDIR += py-anthropic
SUBDIR += py-apache-beam
SUBDIR += py-ascii-magic
diff --git a/misc/py-analysis-framework-base/Makefile b/misc/py-analysis-framework-base/Makefile
new file mode 100644
index 000000000000..aae85d98dc2b
--- /dev/null
+++ b/misc/py-analysis-framework-base/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= analysis-framework-base
+PORTVERSION= 1.0.0
+CATEGORIES= misc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= analysis_framework_base-${PORTVERSION}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Base interfaces and models for document analysis frameworks
+WWW= https://github.com/rdwj/docling-analysis-framework # maybe? the URL listed on PyPI is invalid
+
+LICENSE= MIT
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${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' ${WRKSRC}/pyproject.toml
+
+.include <bsd.port.mk>
diff --git a/misc/py-analysis-framework-base/distinfo b/misc/py-analysis-framework-base/distinfo
new file mode 100644
index 000000000000..c02738a72866
--- /dev/null
+++ b/misc/py-analysis-framework-base/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1783088212
+SHA256 (analysis_framework_base-1.0.0.tar.gz) = dccbee6e11ea0ce012a0f345c0ee716cd8d5239cf987598c330cf70f627bbd73
+SIZE (analysis_framework_base-1.0.0.tar.gz) = 16331
diff --git a/misc/py-analysis-framework-base/pkg-descr b/misc/py-analysis-framework-base/pkg-descr
new file mode 100644
index 000000000000..6e177c21f900
--- /dev/null
+++ b/misc/py-analysis-framework-base/pkg-descr
@@ -0,0 +1,4 @@
+Analysis Framework Base provides base interfaces and models for document
+analysis frameworks. It defines common abstractions used across the
+analysis framework ecosystem, enabling interoperability between different
+document analysis and evaluation tools.