1 |
commit: d7e35bc59596a8f94babf3b254385bed3840eb8a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 27 04:19:05 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 27 04:40:43 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7e35bc5 |
7 |
|
8 |
dev-python/pyocr: Bump to 0.8.3 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pyocr/Manifest | 1 + |
13 |
dev-python/pyocr/pyocr-0.8.3.ebuild | 37 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 38 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pyocr/Manifest b/dev-python/pyocr/Manifest |
17 |
index 30b7d81ac1f2..fb705957a712 100644 |
18 |
--- a/dev-python/pyocr/Manifest |
19 |
+++ b/dev-python/pyocr/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pyocr-0.8.2.tar.gz 67598 BLAKE2B b5cc1338b73f1147195dd094c332836e49189c3fff051de7e634d99de1135b07b1343af3d7c2dcb302e583a0b307c20aa2aaea4e878d6b2325a5aade7e438b23 SHA512 85100aa236bb2c862b5b67137267a657ae88b06eeb9bd1a895c18bfd7318641fa01ea3966499ccdfcc21480522e4996f0e12f2e8931bb455ade3adea428af17d |
22 |
+DIST pyocr-0.8.3.tar.gz 67625 BLAKE2B 86edfb08519eda73b29b57b57d495c0fa3bebe8b521d96ce4b644d534d2b32e92532e6275f595912c77093eaf0b1f767f08a130605e9b50142fddf77eb570c4d SHA512 aa4f4fcedd668010841d036899bb83bc0fca6499b29ce2f209e538fd3a2448dce2b52721f0b77bc402d9b3f62052af53e25e78780103172623dea1b367caeab1 |
23 |
|
24 |
diff --git a/dev-python/pyocr/pyocr-0.8.3.ebuild b/dev-python/pyocr/pyocr-0.8.3.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..da459ab474c5 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pyocr/pyocr-0.8.3.ebuild |
29 |
@@ -0,0 +1,37 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="An optical character recognition (OCR) tool wrapper" |
41 |
+HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/pyocr" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-3+" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="cuneiform +tesseract" |
48 |
+REQUIRED_USE="|| ( cuneiform tesseract )" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
52 |
+" |
53 |
+BDEPEND=" |
54 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
55 |
+ dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}] |
56 |
+" |
57 |
+ |
58 |
+# (tests apparently do not require any backend installed) |
59 |
+distutils_enable_tests unittest |
60 |
+ |
61 |
+RDEPEND+=" |
62 |
+ cuneiform? ( app-text/cuneiform ) |
63 |
+ tesseract? ( app-text/tesseract ) |
64 |
+" |
65 |
+ |
66 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |