diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/pytesseract | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pytesseract')
| -rw-r--r-- | dev-python/pytesseract/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pytesseract/metadata.xml | 21 | ||||
| -rw-r--r-- | dev-python/pytesseract/pytesseract-0.3.13.ebuild | 39 |
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/pytesseract/Manifest b/dev-python/pytesseract/Manifest new file mode 100644 index 000000000000..0451c2b491a0 --- /dev/null +++ b/dev-python/pytesseract/Manifest @@ -0,0 +1 @@ +DIST pytesseract-0.3.13.gh.tar.gz 1099109 BLAKE2B 72bd060c070471cd85ef467c4ba339c0e88c151d2af768212071a35e79169f718907a2dbedb53f10821ce69302253e01181bfa29b1e9b4af1847dac5453c7aba SHA512 da5edaaca8a0c796c2a47777e4b894824b16522d7d3a0e8f669a183bcbdfdf0d0412de4ca53d5bef082fd2b627356e7fd21f86e3107525a99a011fcaba5adacf diff --git a/dev-python/pytesseract/metadata.xml b/dev-python/pytesseract/metadata.xml new file mode 100644 index 000000000000..a84e92e967c4 --- /dev/null +++ b/dev-python/pytesseract/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>tupone@gentoo.org</email> + <name>Tupone Alfredo</name> + </maintainer> + <longdescription lang="en"> + Python-tesseract is an optical character recognition (OCR) tool for + python. + That is, it will recognize and "read" the text embedded in images. + + Python-tesseract is a wrapper for Google's Tesseract-OCR Engine. + It is also useful as a stand-alone invocation script to tesseract, as + it can read all image types supported by the Pillow and Leptonica + imaging libraries, including jpeg, png, gif, bmp, tiff, and others. + Additionally, if used as a script, Python-tesseract will print the + recognized text instead of writing it to a file. + </longdescription> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/pytesseract/pytesseract-0.3.13.ebuild b/dev-python/pytesseract/pytesseract-0.3.13.ebuild new file mode 100644 index 000000000000..4c47b503fbeb --- /dev/null +++ b/dev-python/pytesseract/pytesseract-0.3.13.ebuild @@ -0,0 +1,39 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Optical character recognition (OCR) tool" +HOMEPAGE=" + https://github.com/madmaze/pytesseract/ + https://pypi.org/project/pytesseract/ +" +SRC_URI=" + https://github.com/madmaze/pytesseract/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 arm64 x86" + +RDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + app-text/tesseract +" +BDEPEND=" + test? ( + app-text/tesseract[jpeg,png,tiff,webp] + media-libs/leptonica[gif,jpeg2k] + app-text/tessdata_fast[l10n_fr] + dev-python/pillow[jpeg,zlib] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest |
