diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-08-26 07:22:26 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-08-26 07:23:52 +0200 |
commit | c20aac58e07cca25d6165a74aac3cc1a620f3c8a (patch) | |
tree | d03401f4970d9f7f3c99128589288911772947d3 /dev-python/pytesseract | |
parent | dev-python/tifffile: Bump to 2023.8.25 (diff) | |
download | gentoo-c20aac58e07cca25d6165a74aac3cc1a620f3c8a.tar.gz gentoo-c20aac58e07cca25d6165a74aac3cc1a620f3c8a.tar.bz2 gentoo-c20aac58e07cca25d6165a74aac3cc1a620f3c8a.zip |
dev-python/pytesseract: Bump to 0.3.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytesseract')
-rw-r--r-- | dev-python/pytesseract/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pytesseract/metadata.xml | 1 | ||||
-rw-r--r-- | dev-python/pytesseract/pytesseract-0.3.11.ebuild | 38 |
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/pytesseract/Manifest b/dev-python/pytesseract/Manifest index cac470d1e9e7..0e2172e29297 100644 --- a/dev-python/pytesseract/Manifest +++ b/dev-python/pytesseract/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-python/pytesseract/metadata.xml b/dev-python/pytesseract/metadata.xml index 2f762d632807..a59128537ce9 100644 --- a/dev-python/pytesseract/metadata.xml +++ b/dev-python/pytesseract/metadata.xml @@ -19,5 +19,6 @@ </longdescription> <upstream> <remote-id type="github">madmaze/pytesseract</remote-id> + <remote-id type="pypi">pytesseract</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/pytesseract/pytesseract-0.3.11.ebuild b/dev-python/pytesseract/pytesseract-0.3.11.ebuild new file mode 100644 index 000000000000..d9a773f6bf86 --- /dev/null +++ b/dev-python/pytesseract/pytesseract-0.3.11.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 |