From b590c8d7572b727d565cc0b8ff660d43569845de Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Jun 2026 19:09:37 -0500 Subject: Adding metadata --- dev-python/pyocr/Manifest | 1 + dev-python/pyocr/metadata.xml | 19 +++++++++++++++++++ dev-python/pyocr/pyocr-0.8.5.ebuild | 30 ++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 dev-python/pyocr/Manifest create mode 100644 dev-python/pyocr/metadata.xml create mode 100644 dev-python/pyocr/pyocr-0.8.5.ebuild (limited to 'dev-python/pyocr') diff --git a/dev-python/pyocr/Manifest b/dev-python/pyocr/Manifest new file mode 100644 index 000000000000..508a8c1584eb --- /dev/null +++ b/dev-python/pyocr/Manifest @@ -0,0 +1 @@ +DIST pyocr-0.8.5.tar.gz 71843 BLAKE2B 14ea301a562b4e2ecc9a8b01b64a6a651facc78e54402359313b04fd20bad89e0a390ff1899f72c94db4e2d42c7c648afa5c1267ff6afe85fb14c32e15c6e19b SHA512 4b0bb576db05e3cc253bc031e158e2c018370e2c309df742b9755cf576bbd1fd5baddc851a4cde1ad96d3c2ae1c28e75e735ee7035d62ad8bf9c908546042897 diff --git a/dev-python/pyocr/metadata.xml b/dev-python/pyocr/metadata.xml new file mode 100644 index 000000000000..155a9cafd570 --- /dev/null +++ b/dev-python/pyocr/metadata.xml @@ -0,0 +1,19 @@ + + + + + voyageur@gentoo.org + Bernard Cafarelli + + + python@gentoo.org + + +Pyocr is an optical character recognition (OCR) tool wrapper for python. That is, it helps using OCR tools from a Python program. + +It has been tested only on GNU/Linux systems. It should also work on similar systems (*BSD, etc). It doesn't work on Windows, MacOSX, etc. + +Pyocr can be used as a wrapper for google's Tesseract-OCR or Cuneiform. It can read all image types supported by Pillow, including jpeg, png, gif, bmp, tiff, and others. It also support bounding box data. + + baldeagleos-repo + diff --git a/dev-python/pyocr/pyocr-0.8.5.ebuild b/dev-python/pyocr/pyocr-0.8.5.ebuild new file mode 100644 index 000000000000..df555b39d337 --- /dev/null +++ b/dev-python/pyocr/pyocr-0.8.5.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2025 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 pypi + +DESCRIPTION="An optical character recognition (OCR) tool wrapper" +HOMEPAGE=" + https://gitlab.gnome.org/World/OpenPaperwork/pyocr/ + https://pypi.org/project/pyocr/ +" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}] + app-text/tesseract +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +# (tests apparently do not require any backend installed) +distutils_enable_tests unittest -- cgit v1.3