summaryrefslogtreecommitdiff
path: root/dev-python/pytesseract
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-05-06 12:39:02 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-05-06 12:39:02 +0000
commit5c8afe52d3f9b8e15f18af202f096893b1e7367f (patch)
tree1a8bdb87da4612b0ec8ab818e93beae55fe1a84f /dev-python/pytesseract
parent9fb02fec29b8d4a8f841cc22fc7d091423c8a490 (diff)
downloadbaldeagleos-repo-5c8afe52d3f9b8e15f18af202f096893b1e7367f.tar.gz
baldeagleos-repo-5c8afe52d3f9b8e15f18af202f096893b1e7367f.tar.xz
baldeagleos-repo-5c8afe52d3f9b8e15f18af202f096893b1e7367f.zip
Adding metadata
Diffstat (limited to 'dev-python/pytesseract')
-rw-r--r--dev-python/pytesseract/Manifest1
-rw-r--r--dev-python/pytesseract/metadata.xml22
-rw-r--r--dev-python/pytesseract/pytesseract-0.3.10.ebuild29
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/pytesseract/Manifest b/dev-python/pytesseract/Manifest
new file mode 100644
index 000000000000..cac470d1e9e7
--- /dev/null
+++ b/dev-python/pytesseract/Manifest
@@ -0,0 +1 @@
+DIST pytesseract-0.3.10.tar.gz 1098547 BLAKE2B d89f9082d8c7236b97bb96441809a19f494aacd23d4c02d5b7fb1b742616e7b26c249d49fceecc4f652792cdc3d7f2a79cd580a3360157f81205ff04d65afb10 SHA512 de77f0497c2bf60c1febf439ed13f0a8978aa23df76aadb789f8151177b73f45229799bd6b236aa7356a5145064f892e5b528a2d5a396849348f5b22f4343e16
diff --git a/dev-python/pytesseract/metadata.xml b/dev-python/pytesseract/metadata.xml
new file mode 100644
index 000000000000..26352e35d14a
--- /dev/null
+++ b/dev-python/pytesseract/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/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>gentoo-staging</origin>
+</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/pytesseract/pytesseract-0.3.10.ebuild b/dev-python/pytesseract/pytesseract-0.3.10.ebuild
new file mode 100644
index 000000000000..003696bc68d4
--- /dev/null
+++ b/dev-python/pytesseract/pytesseract-0.3.10.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+inherit distutils-r1
+
+DESCRIPTION="Optical character recognition (OCR) tool"
+HOMEPAGE="https://github.com/madmaze/pytesseract"
+SRC_URI="https://github.com/madmaze/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ app-text/tesseract"
+BDEPEND="
+ test? (
+ app-text/tesseract[jpeg,png,tiff,webp]
+ media-libs/leptonica[gif,jpeg2k]
+ app-text/tessdata_fast[l10n_fr]
+ )
+"
+
+distutils_enable_tests pytest