Date: Tue, 07 Apr 2026 23:39:03 +0000 From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 12bf1393bf10 - main - textproc/py-pymupdf4llm: New port: PyMuPDF utilities for LLM/RAG Message-ID: <69d59597.25471.a1e75ea@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=12bf1393bf109c530810481f99e469a9441f985e commit 12bf1393bf109c530810481f99e469a9441f985e Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2026-04-07 23:31:39 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2026-04-07 23:39:01 +0000 textproc/py-pymupdf4llm: New port: PyMuPDF utilities for LLM/RAG --- textproc/Makefile | 1 + textproc/py-pymupdf4llm/Makefile | 25 +++++++++++++++++++++++++ textproc/py-pymupdf4llm/distinfo | 3 +++ textproc/py-pymupdf4llm/pkg-descr | 4 ++++ 4 files changed, 33 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 2573598b7073..aaf32ffe1d46 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1576,6 +1576,7 @@ SUBDIR += py-pylons-sphinx-themes SUBDIR += py-pyls-spyder SUBDIR += py-pymdown-extensions + SUBDIR += py-pymupdf4llm SUBDIR += py-pypa-docs-theme SUBDIR += py-pypandoc SUBDIR += py-pyphen diff --git a/textproc/py-pymupdf4llm/Makefile b/textproc/py-pymupdf4llm/Makefile new file mode 100644 index 000000000000..c901ba2499c7 --- /dev/null +++ b/textproc/py-pymupdf4llm/Makefile @@ -0,0 +1,25 @@ +PORTNAME= pymupdf4llm +DISTVERSION= 0.3.4 +CATEGORIES= textproc python # machine-learning +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= PyMuPDF utilities for LLM/RAG +WWW= https://pymupdf.readthedocs.io/en/latest/pymupdf4llm/ \ + https://github.com/pymupdf/pymupdf4llm + +LICENSE= AGPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymupdf>=1.27.1:print/py-PyMuPDF@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tabulate>0:devel/py-tabulate@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/textproc/py-pymupdf4llm/distinfo b/textproc/py-pymupdf4llm/distinfo new file mode 100644 index 000000000000..a97bf893cdc6 --- /dev/null +++ b/textproc/py-pymupdf4llm/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1775602606 +SHA256 (pymupdf4llm-0.3.4.tar.gz) = 48d396a5fb3c14351493c7f1dd25b2a843efdbdc4526e489ee100643a2cebec1 +SIZE (pymupdf4llm-0.3.4.tar.gz) = 74956 diff --git a/textproc/py-pymupdf4llm/pkg-descr b/textproc/py-pymupdf4llm/pkg-descr new file mode 100644 index 000000000000..f5795d477a03 --- /dev/null +++ b/textproc/py-pymupdf4llm/pkg-descr @@ -0,0 +1,4 @@ +pymupdf4llm provides utilities to convert PDF documents to Markdown format +suitable for use with Large Language Models (LLMs) and Retrieval-Augmented +Generation (RAG) systems. It is built on top of PyMuPDF and preserves the +document's structure, tables, images, and text formatting.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d59597.25471.a1e75ea>
