commit:     18f1249ab8d322e9f47ed27aa69efbf65abc89f1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 13 02:36:23 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep 13 02:36:23 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18f1249a

dev-python/pytesseract: Bump to 0.3.12

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pytesseract/Manifest                  |  1 +
 dev-python/pytesseract/pytesseract-0.3.12.ebuild | 38 ++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/dev-python/pytesseract/Manifest b/dev-python/pytesseract/Manifest
index 0e2172e29297..759ac6c51592 100644
--- a/dev-python/pytesseract/Manifest
+++ b/dev-python/pytesseract/Manifest
@@ -1,2 +1,3 @@
 DIST pytesseract-0.3.10.tar.gz 1098547 BLAKE2B 
d89f9082d8c7236b97bb96441809a19f494aacd23d4c02d5b7fb1b742616e7b26c249d49fceecc4f652792cdc3d7f2a79cd580a3360157f81205ff04d65afb10
 SHA512 
de77f0497c2bf60c1febf439ed13f0a8978aa23df76aadb789f8151177b73f45229799bd6b236aa7356a5145064f892e5b528a2d5a396849348f5b22f4343e16
 DIST pytesseract-0.3.11.gh.tar.gz 1098497 BLAKE2B 
adaefd8ec43fc464e7d031a5e95c686d6d8f1c0bb10782f2be075ce347d27b0d3b95d5bc1f3283a6692441ddcb5b87bcb3ee7d320eab51400d03d7717297841f
 SHA512 
0f3f8ac985689add9c134581a51ced75399e525797417294616489931deb5eda378ccd8a0ab875e449caa400ba8745b7494a1d610e9a572b5e1295fdc9a5ce0b
+DIST pytesseract-0.3.12.gh.tar.gz 1099117 BLAKE2B 
07fa50a552347a0f6be536933b98056c78d96e7317a9eb325faa5b4a1a2ef66bd2936ab17ca0abe2e56a0c1da75ca675f2a3c5260fc2882072d6535b78b519dc
 SHA512 
931fcd03a7682cbebc42b1452519ef05ef4c931a47a4364841e0fc5861c9dd9f90ffe38f3211ed3846788dc29eefbc9aba2bbf2af30fb3816abdfcaaa6757365

diff --git a/dev-python/pytesseract/pytesseract-0.3.12.ebuild 
b/dev-python/pytesseract/pytesseract-0.3.12.ebuild
new file mode 100644
index 000000000000..d9a773f6bf86
--- /dev/null
+++ b/dev-python/pytesseract/pytesseract-0.3.12.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+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 ~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]
+       )
+"
+
+distutils_enable_tests pytest

Reply via email to