Install this version:
emerge -a =sci-ml/rapidocr-3.8.4
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sci-ml/rapidocr-3.8.4
Or alternatively:
emerge --autounmask-write -a =sci-ml/rapidocr-3.8.4
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.8.4 | 8 | ~amd64 | 0 |
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
inherit distutils-r1
DESCRIPTION="Awesome OCR multiple programing languages toolkits based on ONNXRuntime, OpenVINO, PaddlePaddle and PyTorch"
HOMEPAGE="https://rapidai.github.io/RapidOCRDocs/main/"
SRC_URI="https://github.com/RapidAI/RapidOCR/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
S=${WORKDIR}/RapidOCR-${PV}/python
RDEPEND="
>=dev-python/pyclipper-1.2.0[${PYTHON_USEDEP}]
>=media-libs/opencv-4.5.1.48[python,${PYTHON_USEDEP}]
>=dev-python/numpy-1.19.5[${PYTHON_USEDEP}]
<dev-python/numpy-3[${PYTHON_USEDEP}]
>=dev-python/six-1.15.0[${PYTHON_USEDEP}]
>=dev-python/shapely-1.7.1[${PYTHON_USEDEP}]
!=dev-python/shapely-2.0.4[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
dev-python/omegaconf[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/colorlog[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
>=dev-python/pyclipper-1.2.0[] >=media-libs/opencv-4.5.1.48[python,] >=dev-python/numpy-1.19.5[] <dev-python/numpy-3[] >=dev-python/six-1.15.0[] >=dev-python/shapely-1.7.1[] !=dev-python/shapely-2.0.4[] dev-python/pyyaml[] dev-python/pillow[] dev-python/tqdm[] dev-python/omegaconf[] dev-python/requests[] dev-python/colorlog[]
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | rapidocr-3.8.4.tar.gz | 2144153 bytes | https://github.com/RapidAI/RapidOCR/archive/refs/tags/v3.8.4.tar.gz |