1 |
commit: 5de4394347b2576ad6fa55615193f3c42df029f0 |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 22 12:33:49 2021 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 22 13:09:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5de43943 |
7 |
|
8 |
dev-python/pyocr: 0.8.1 bump |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
12 |
|
13 |
dev-python/pyocr/Manifest | 1 + |
14 |
dev-python/pyocr/pyocr-0.8.1.ebuild | 30 ++++++++++++++++++++++++++++++ |
15 |
2 files changed, 31 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/pyocr/Manifest b/dev-python/pyocr/Manifest |
18 |
index 4c352354d860..202c86b8f88f 100644 |
19 |
--- a/dev-python/pyocr/Manifest |
20 |
+++ b/dev-python/pyocr/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
+DIST pyocr-0.8.1.tar.gz 67150 BLAKE2B d7f06db3b27c7352365713640c2421e5b73f54869d46c684d6b96d26c3d4c719c5daa1650e023f0cc5a17c0e51b4fb387ef8583ed501ab8369fc70d1c78e77bf SHA512 8a38f8175bd96de152cb0c34640fe0ca0bee369ecc455a1730a47f64d619901e48491fe0cf333073962f28a478f01ec71593881995e956589f60511b8636a32e |
23 |
DIST pyocr-0.8.tar.gz 65454 BLAKE2B 881353eebce22cf316cd4375cc8971e740a9a463216a5b49c07c7813340cfa1a9bdd869b84b4c26566deab1551884179ae2fe0184dec73880b716118367803cd SHA512 c8d811001b460a9004a80fbf570df3fe9a6af11e8ca0e90f23e5f3be54f6a54d859f4ad3db126a5216ea557ecb38ebd5dbece91810df2bf3e95f514c39649bce |
24 |
|
25 |
diff --git a/dev-python/pyocr/pyocr-0.8.1.ebuild b/dev-python/pyocr/pyocr-0.8.1.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..b52028de434d |
28 |
--- /dev/null |
29 |
+++ b/dev-python/pyocr/pyocr-0.8.1.ebuild |
30 |
@@ -0,0 +1,30 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="An optical character recognition (OCR) tool wrapper" |
40 |
+HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/pyocr" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-3+" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="cuneiform +tesseract" |
47 |
+REQUIRED_USE="|| ( cuneiform tesseract )" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-python/pillow[${PYTHON_USEDEP}]" |
51 |
+BDEPEND=" |
52 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
53 |
+ dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]" |
54 |
+ |
55 |
+# (tests apparently do not require any backend installed) |
56 |
+distutils_enable_tests unittest |
57 |
+ |
58 |
+RDEPEND+=" |
59 |
+ cuneiform? ( app-text/cuneiform ) |
60 |
+ tesseract? ( app-text/tesseract )" |