Install this version:
emerge -a =app-text/ocrmypdf-17.11.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-text/ocrmypdf-17.11.0
Or alternatively:
emerge --autounmask-write -a =app-text/ocrmypdf-17.11.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 17.11.0 | 8 | ~amd64 | 0 |
# cribbed from https://aur.archlinux.org/packages/ocrmypdf
EAPI=8
PYTHON_COMPAT=( python3_{8..14} pypy3 )
DISTUTILS_USE_PEP517=hatchling
inherit distutils-r1 pypi
DESCRIPTION="A tool to add an OCR text layer to scanned PDF files, allowing them to be searched"
HOMEPAGE="https://github.com/ocrmypdf/OCRmyPDF"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
media-gfx/img2pdf
dev-python/pillow
app-text/tesseract
app-text/ghostscript-gpl
app-text/unpaper
media-gfx/pngquant
>=dev-python/pikepdf-10.0.0
dev-python/reportlab
dev-python/pdfminer
dev-python/tqdm
dev-python/pluggy
dev-python/rich
dev-python/packaging
dev-python/deprecation
dev-python/pydantic
dev-python/uharfbuzz
dev-python/fpdf2
"
# dev-python/importlib_resources
media-gfx/img2pdf dev-python/pillow app-text/tesseract app-text/ghostscript-gpl app-text/unpaper media-gfx/pngquant >=dev-python/pikepdf-10.0.0 dev-python/reportlab dev-python/pdfminer dev-python/tqdm dev-python/pluggy dev-python/rich dev-python/packaging dev-python/deprecation dev-python/pydantic dev-python/uharfbuzz dev-python/fpdf2