1 |
commit: 5eafbc2180adac8328f094444fb01a53b21435c7 |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 2 11:12:44 2017 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 2 11:18:22 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5eafbc21 |
7 |
|
8 |
dev-python/pyocr: 0.4.4 bump |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-python/pyocr/Manifest | 1 + |
13 |
dev-python/pyocr/pyocr-0.4.4.ebuild | 31 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pyocr/Manifest b/dev-python/pyocr/Manifest |
17 |
index ebdcd0e..cb1638a 100644 |
18 |
--- a/dev-python/pyocr/Manifest |
19 |
+++ b/dev-python/pyocr/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST pyocr-0.4.1.tar.gz 1277997 SHA256 6fdefe9aed5c0c6543876d9dbd33ac0fc222a38ccdf1e2104fb3adac13e1485e SHA512 1e0bd840b02239695b4b7d572e8abea772a0b8833f532a8eaa3e733020677c906a2daeb6845c265a2a47a7ffeae876599dd124e6b3a7f67e90fa082b92e44ceb WHIRLPOOL 82b5edcb243c6024e0b3c44136cd18e4c6f4ec901aac69aa091fec537c54233d5ec05cb56a9d819bfb21550c456ca4144bbf547468e5e47aff9854d1514d4b26 |
22 |
DIST pyocr-0.4.2.tar.gz 1279567 SHA256 60f468176f1f1580dd56c3ecacfdebd2119d5a6a8cd49defa9e04d1b2da2225c SHA512 7394749a5bec4f4c9059821687e63c87f18136ace7cb5125a3266fe6245b02cfb35ff94538a942b29b4ce02155fea2de47c252102bc593ecac5b4ec522a588af WHIRLPOOL 75ed9048b46ce4b76ac7129eefbec421dea311e64f1b4e69718bbff219b21aea512f274496ce41281cc711b2e5e56023411c4c00803da24ec4052888d252b74b |
23 |
+DIST pyocr-0.4.4.tar.gz 1281459 SHA256 e60cdf268fb663cd047b3a607bed3a341311c15d9b134c93ebfa789ddc43cd06 SHA512 793c53d0858a679d34374ed22d7bb600f9a4e6e49a312b5ccf1bbb9bd3390c63170833f36a691903e2301820a4fd6beb30f451c85b829779b77dce3ffab6c934 WHIRLPOOL 47b422b10cb8866a22450e731319b5c87cc41621e6de1b054a31ddf397a69a26af48563f5617e517fded7fbc0c548082d5b4f412c7d81c5a91c52b90f807e5ca |
24 |
|
25 |
diff --git a/dev-python/pyocr/pyocr-0.4.4.ebuild b/dev-python/pyocr/pyocr-0.4.4.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000..b1c7e5f |
28 |
--- /dev/null |
29 |
+++ b/dev-python/pyocr/pyocr-0.4.4.ebuild |
30 |
@@ -0,0 +1,31 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=6 |
36 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="An optical character recognition (OCR) tool wrapper for python" |
41 |
+HOMEPAGE="https://github.com/jflesch/pyocr" |
42 |
+SRC_URI="https://github.com/jflesch/pyocr/archive/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-3" |
45 |
+IUSE="cuneiform +tesseract" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+ |
49 |
+RDEPEND="cuneiform? ( app-text/cuneiform ) |
50 |
+ tesseract? ( app-text/tesseract ) |
51 |
+ dev-python/pillow |
52 |
+ dev-python/six" |
53 |
+DEPEND="${RDEPEND}" |
54 |
+ |
55 |
+REQUIRED_USE="|| ( cuneiform tesseract )" |
56 |
+ |
57 |
+RESTRICT="test" # reguires tesseract[l10n_fr,l10n_en,l10n_jp] |
58 |
+ |
59 |
+python_test() { |
60 |
+ ${EPYTHON} run_tests.py || die |
61 |
+} |