gpo.zugaina.org

Search Portage & Overlays:

dev-python/PyMuPDF

A Python library for manipulation of PDF documents

Screenshots

  • PyMuPDF-9999
    test python_targets_python3_12 python_targets_python3_13 python_targets_python3_14 debug

    View      Download      Browse     License: AGPL-3   
    Overlay: 4nykey
  • PyMuPDF-1.27.2.3
    ~amd64
    test python_targets_python3_12 python_targets_python3_13 python_targets_python3_14 debug

    View      Download      Browse     License: AGPL-3   
    Overlay: 4nykey
  • PyMuPDF-1.27.2.3
    ~amd64 ~arm64
    test python_targets_python3_12 python_targets_python3_13 python_targets_python3_14 debug

    View      Download      Browse     License: AGPL-3   
    Overlay: stuff
  • pymupdf-1.25.4
    ~amd64 ~x86
    -tesseract python_targets_python3_11 python_targets_python3_12 python_targets_python3_13

    View      Download      Browse     License: AGPL-3   
    Overlay: xoores
  • pymupdf-1.25.2
    ~amd64 ~x86
    -tesseract python_targets_python3_11 python_targets_python3_12 python_targets_python3_13

    View      Download      Browse     License: AGPL-3   
    Overlay: xoores
  • pymupdf-1.24.9
    ~amd64 ~x86
    -tesseract python_targets_python3_11 python_targets_python3_12 python_targets_python3_13

    View      Download      Browse     License: AGPL-3   
    Overlay: xoores

ChangeLog

commit 58a75a1a66aee7766f26821a73f6aee22852f647
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Jun 17 18:19:10 2026 +0200

dev-python/PyMuPDF: Keyword 1.27.2.3 for ~arm64

The fitz/PyMuPDF wrapper on top of dev-python/mupdf; aarch64-portable.

commit e19aa852e22455dabeb0106f7b4edc6f3977b89c
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sat May 9 15:03:43 2026 +0200

dev-python/PyMuPDF: new package, fork from ::4nykey

High-level Python interface to the MuPDF library — PDF manipulation,
text extraction, page rendering, image embedding, form/widget editing.
Closes the dependency chain for sci-ml/amd-gaia[ui] (RAG over PDFs).

Built against system app-text/mupdf via dev-python/mupdf, not the
copy bundled in upstream's tarball. The PYMUPDF_SETUP_MUPDF_BUILD=
empty + _MUPDF_REBUILD=0 env vars in python_compile keep upstream's
setup.py from rebuilding MuPDF; PYMUPDF_INCLUDES + _MUPDF_LIB point
the wheel build at /usr/include/mupdf and /usr/lib64.

EPYTEST_DESELECT carries 25 entries forked from ::4nykey: most are
upstream regression tests for specific GitHub issue numbers
(test_NNNN), the rest need OCR (tesseract), lint tools at test time
(codespell, pylint), or test data not in the distfile. Re-verify on
PyMuPDF bumps.

tests.diff (forked from ::4nykey) disables conftest.py's
install_required_packages() — that hook auto-pip-installs missing
test deps which is wrong inside a sandboxed build.

Verified end-to-end: build a PDF in-memory with new_page +
insert_text, save to BytesIO, reopen via Document(stream=) +
get_text() — round-trip works against system app-text/mupdf-1.27.2.

PyMuPDF doesn't tag GitHub releases conventionally — the version
"1.27.2.3" is a usable tag-name on github.com/pymupdf/pymupdf
matching what PyPI ships.