git: 594afc9b772a - main - textproc/py-docling-parse: update 7.17.0 → 7.22.2

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 10 Oct 2026 20:01:53 UTC
The branch main has been updated by yuri:

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

commit 594afc9b772a892523d07d5d53d9a4084423eb49
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-10-10 17:54:16 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-10-10 20:01:41 +0000

    textproc/py-docling-parse: update 7.17.0 → 7.22.2
---
 textproc/py-docling-parse/Makefile                  |  8 ++++++--
 textproc/py-docling-parse/distinfo                  |  6 +++---
 .../py-docling-parse/files/patch-CMakeLists.txt     |  6 +++---
 .../py-docling-parse/files/patch-pyproject.toml     | 21 +++++++--------------
 4 files changed, 19 insertions(+), 22 deletions(-)

diff --git a/textproc/py-docling-parse/Makefile b/textproc/py-docling-parse/Makefile
index e79d69ec6332..63b1b286fb1c 100644
--- a/textproc/py-docling-parse/Makefile
+++ b/textproc/py-docling-parse/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	docling-parse
-DISTVERSION=	7.17.0
+DISTVERSION=	7.22.2
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -25,7 +25,7 @@ LIB_DEPENDS=	libblend2d.so:graphics/blend2d \
 		liblcms2.so:graphics/lcms2 \
 		libopenjp2.so:graphics/openjpeg \
 		libqpdf.so:print/qpdf
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}docling-core>=2.95.0:textproc/py-docling-core@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}docling-core>=2.99.0:textproc/py-docling-core@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pillow>=10.0.0:graphics/py-pillow@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0.0:devel/py-pydantic2@${PY_FLAVOR}
 
@@ -34,4 +34,8 @@ USE_PYTHON=	autoplist concurrent pep517
 
 MAKE_ENV=	USE_SYSTEM_DEPS=ON
 
+post-patch:
+	@${REINPLACE_CMD} -e '/^license = /d' \
+		${WRKSRC}/pyproject.toml
+
 .include <bsd.port.mk>
diff --git a/textproc/py-docling-parse/distinfo b/textproc/py-docling-parse/distinfo
index 4550e95d392e..19da6a58adb8 100644
--- a/textproc/py-docling-parse/distinfo
+++ b/textproc/py-docling-parse/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1788718661
-SHA256 (docling_parse-7.17.0.tar.gz) = 21768a5d76b2a6d35dc5ca4d505f3e82dec59e6496a57d86dca43297b4566420
-SIZE (docling_parse-7.17.0.tar.gz) = 6977090
+TIMESTAMP = 1791629780
+SHA256 (docling_parse-7.22.2.tar.gz) = 368d076d2b887fcb44a90c37c219a190b975f01b257b61bd83ba75dc06861536
+SIZE (docling_parse-7.22.2.tar.gz) = 7045499
diff --git a/textproc/py-docling-parse/files/patch-CMakeLists.txt b/textproc/py-docling-parse/files/patch-CMakeLists.txt
index 4461a47abbc2..fe57295b804e 100644
--- a/textproc/py-docling-parse/files/patch-CMakeLists.txt
+++ b/textproc/py-docling-parse/files/patch-CMakeLists.txt
@@ -1,8 +1,8 @@
 -- Switch from extlib_qpdf_v12.cmake to extlib_qpdf_v11.cmake because
 -- FreeBSD's print/qpdf port is still at the v11.x API/ABI.
---- CMakeLists.txt.orig	2026-07-01 07:01:36 UTC
+--- CMakeLists.txt.orig	2026-10-05 07:00:27 UTC
 +++ CMakeLists.txt
-@@ -110,8 +110,8 @@ include(cmake/extlib_lcms2.cmake)
+@@ -136,8 +136,8 @@ include(cmake/extlib_lcms2.cmake)
  include(cmake/extlib_jpeg.cmake)
  include(cmake/extlib_openjpeg.cmake)
  include(cmake/extlib_lcms2.cmake)
@@ -11,5 +11,5 @@
 +include(cmake/extlib_qpdf_v11.cmake)
 +# # include(cmake/extlib_qpdf_v12.cmake)
  include(cmake/extlib_blend2d.cmake)
+ include(cmake/extlib_freetype.cmake)
  include(cmake/extlib_pdfium_jbig2.cmake)
- 
diff --git a/textproc/py-docling-parse/files/patch-pyproject.toml b/textproc/py-docling-parse/files/patch-pyproject.toml
index 9ce04f0d6460..8ba0d9ef622c 100644
--- a/textproc/py-docling-parse/files/patch-pyproject.toml
+++ b/textproc/py-docling-parse/files/patch-pyproject.toml
@@ -1,16 +1,7 @@
--- Fix license declaration format and remove build-system dependencies (cmake, cibuildwheel, delocate) that are provided by the ports framework.
---- pyproject.toml.orig	2026-07-09 20:28:30 UTC
+-- Remove build-system dependencies (cmake, cibuildwheel, delocate) that are provided by the ports framework.
+--- pyproject.toml.orig	2026-10-10 11:20:08 UTC
 +++ pyproject.toml
-@@ -2,7 +2,7 @@ description = "Simple package to extract text with coo
- name = "docling-parse"
- version = "7.4.0"
- description = "Simple package to extract text with coordinates from programmatic PDFs"
--license = "MIT"
-+license = {text = "MIT"}
- keywords = ["docling", "pdf", "parser"]
- classifiers = [
-     "Operating System :: MacOS :: MacOS X",
-@@ -40,25 +40,17 @@ requires = [
+@@ -40,27 +40,17 @@ requires = [
  
  [build-system]
  requires = [
@@ -22,7 +13,8 @@
 +    "pybind11>=0",
      "wheel>=0.43.0,<1.0.0",
 -    "delocate>=0.11.0,<1.0.0",
--    "cmake>=3.27.0,<4.0.0"
+-    "cmake>=3.27.0,<5.0.0; sys_platform != 'win32'",
+-    "cmake>=4.2.0,<5.0.0; sys_platform == 'win32'"
  ]
  build-backend = "setuptools.build_meta"
  
@@ -36,7 +28,8 @@
 +    "pybind11>=0",
      "wheel>=0.43.0,<1.0.0",
 -    "delocate>=0.11.0,<1.0.0",
--    "cmake>=3.27.0,<4.0.0"
+-    "cmake>=3.27.0,<5.0.0; sys_platform != 'win32'",
+-    "cmake>=4.2.0,<5.0.0; sys_platform == 'win32'"
  ]
  dev = [
      "pytest>=9.0.3,<10.0.0",