git: fde30a57455c - main - textproc/py-odfdo: New port: Python library for OpenDocument Format

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 20 Oct 2026 20:20:52 UTC
The branch main has been updated by yuri:

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

commit fde30a57455cdc385b56b27fb78034370129b843
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-10-20 20:18:35 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-10-20 20:20:47 +0000

    textproc/py-odfdo: New port: Python library for OpenDocument Format
    
    PR:             299280
    Approved by:    Baptiste Daroussin <bapt@FreeBSD.org> (on behalf of portmgr@)
---
 textproc/Makefile           |  1 +
 textproc/py-odfdo/Makefile  | 23 +++++++++++++++++++++++
 textproc/py-odfdo/distinfo  |  3 +++
 textproc/py-odfdo/pkg-descr |  2 ++
 4 files changed, 29 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index a43972e09f2c..2c329b501b60 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1589,6 +1589,7 @@
     SUBDIR += py-ntc-templates
     SUBDIR += py-numpydoc
     SUBDIR += py-ocrmypdf
+    SUBDIR += py-odfdo
     SUBDIR += py-openpyxl
     SUBDIR += py-opensearch-py
     SUBDIR += py-openstackdocstheme
diff --git a/textproc/py-odfdo/Makefile b/textproc/py-odfdo/Makefile
new file mode 100644
index 000000000000..52ac2ed642b2
--- /dev/null
+++ b/textproc/py-odfdo/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	odfdo
+DISTVERSION=	3.27.2
+CATEGORIES=	textproc python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Python library for OpenDocument Format
+WWW=		https://github.com/jdum/odfdo
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}uv-build>=0.12.0:devel/py-uv-build@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=4.9.4:devel/py-lxml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.15.0:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-odfdo/distinfo b/textproc/py-odfdo/distinfo
new file mode 100644
index 000000000000..0423a960ef10
--- /dev/null
+++ b/textproc/py-odfdo/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1792525646
+SHA256 (odfdo-3.27.2.tar.gz) = 8a55f373d03e18d177e8a1b5a3eb51b639bfdf9568586882f293bc52d206f37b
+SIZE (odfdo-3.27.2.tar.gz) = 342524
diff --git a/textproc/py-odfdo/pkg-descr b/textproc/py-odfdo/pkg-descr
new file mode 100644
index 000000000000..358095daa5f3
--- /dev/null
+++ b/textproc/py-odfdo/pkg-descr
@@ -0,0 +1,2 @@
+Library for creating, parsing, and editing OpenDocument Format files.
+It supports OpenDocument text, spreadsheet, and presentation documents.