dev-python/rapidocr - 3.9.2 (hering-overlay)

Search

Install

Install this version:

emerge -a =dev-python/rapidocr-3.9.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/rapidocr-3.9.2

Or alternatively:

emerge --autounmask-write -a =dev-python/rapidocr-3.9.2

Package Information

Description:
Awesome OCR Library
Homepage:
https://github.com/rapidai/rapidocr
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
3.9.2 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( pypy3 python3_{8..15} )
inherit distutils-r1

DESCRIPTION="Awesome OCR Library"
HOMEPAGE="https://github.com/rapidai/rapidocr"
SRC_URI="https://github.com/RapidAI/RapidOCR/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P}/python"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="opencv"

RDEPEND="
	opencv? ( media-libs/opencv[python,${PYTHON_USEDEP}] )
"

export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}

src_unpack() {
	default
	mv "${WORKDIR}/RapidOCR-${PV}" "${WORKDIR}/${P}"
}

distutils_enable_tests pytest

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/rapidocr | euse -E <flag> -p dev-python/rapidocr | euse -D <flag> -p dev-python/rapidocr

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

	opencv? ( media-libs/opencv[python,] )

Manifest for 3.9.2

Type File Size Source URLs
DIST rapidocr-3.9.2.tar.gz 2180973 bytes https://github.com/RapidAI/RapidOCR/archive/refs/tags/v3.9.2.tar.gz