1 |
commit: b5940a222195a15216a328c67ea794b2797572fe |
2 |
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 6 18:57:59 2022 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 6 18:57:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5940a22 |
7 |
|
8 |
dev-python/pytesseract: pillow is runtime required |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
12 |
|
13 |
dev-python/pytesseract/pytesseract-0.3.10.ebuild | 5 +++-- |
14 |
1 file changed, 3 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pytesseract/pytesseract-0.3.10.ebuild b/dev-python/pytesseract/pytesseract-0.3.10.ebuild |
17 |
index 7c903c4dc5bd..4fa1103fcf5a 100644 |
18 |
--- a/dev-python/pytesseract/pytesseract-0.3.10.ebuild |
19 |
+++ b/dev-python/pytesseract/pytesseract-0.3.10.ebuild |
20 |
@@ -3,7 +3,7 @@ |
21 |
|
22 |
EAPI=8 |
23 |
|
24 |
-PYTHON_COMPAT=( python3_{8,9,10} ) |
25 |
+PYTHON_COMPAT=( python3_{8..10} ) |
26 |
inherit distutils-r1 |
27 |
|
28 |
DESCRIPTION="Optical character recognition (OCR) tool" |
29 |
@@ -17,13 +17,14 @@ KEYWORDS="~amd64" |
30 |
|
31 |
DEPEND="" |
32 |
RDEPEND="${DEPEND} |
33 |
- dev-python/pillow |
34 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
35 |
app-text/tesseract" |
36 |
BDEPEND=" |
37 |
test? ( |
38 |
app-text/tesseract[jpeg,png,tiff,webp] |
39 |
media-libs/leptonica[gif,jpeg2k] |
40 |
app-text/tessdata_fast[l10n_fr] |
41 |
+ dev-python/pillow[jpeg,zlib] |
42 |
) |
43 |
" |