summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2018-09-19 19:37:47 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2018-09-19 19:39:53 +0200
commit32b651777dc5c45feb2a33e0646198eed9fdc45b (patch)
tree6445509bde5b10b718dc7893d910ecdd864c5c3f /dev-python/pyocr
parentmedia-video/libav: x86 stable (bug #617508) (diff)
downloadgentoo-32b651777dc5c45feb2a33e0646198eed9fdc45b.tar.gz
gentoo-32b651777dc5c45feb2a33e0646198eed9fdc45b.tar.bz2
gentoo-32b651777dc5c45feb2a33e0646198eed9fdc45b.zip
dev-python/pyocr: 0.5.3 bump
Note 0.5.* versions should work with tesseract 4 Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'dev-python/pyocr')
-rw-r--r--dev-python/pyocr/Manifest1
-rw-r--r--dev-python/pyocr/pyocr-0.5.3.ebuild26
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/pyocr/Manifest b/dev-python/pyocr/Manifest
index 5530a99cdefd..a1b83c83a0c8 100644
--- a/dev-python/pyocr/Manifest
+++ b/dev-python/pyocr/Manifest
@@ -1,3 +1,4 @@
DIST pyocr-0.4.7.tar.gz 1283774 BLAKE2B 0c4958882c350ee9e71f956694c180097607ca1c9e75b2886185361013f6038fd584a73de63de80546354de4023c6a8b1a589205f2e0c9165904d4fd3881b9f8 SHA512 ee4433c34058e0c79478dbf4276f55dabadcf5c841e86e1988e574bf91d96b96a314ef5e15047fb510737c956b4deed200eb47799de6fb1c021e407a6d49c192
DIST pyocr-0.5.1.tar.gz 17525 BLAKE2B 0f2d6383fe59fae2f3f0c7abb185e8a1c4ddfab7e5cd219cff56fa8c2b9b690ab696ea2fada91ea66060ea8d8e71a7d0cfa38a9ddc7bb8fc3ffc05ae0b1a304f SHA512 829c4d4591931a4823e5d328df05a950bf65b4ff38a899ffa1c1f8e57fa031bcf68e22e18828681e285758a4be14097f7344b95c169e64206743c2521a81776c
DIST pyocr-0.5.2.tar.gz 17532 BLAKE2B 0bd47a52379cbdf5d2a7c1a5a966596101101a7750458e317287835a857bfd2ff18fec4b6648a62a78db138038f4aee047135909a4486fd6b720c4508972cc5d SHA512 81f66e9c98b934392bb847b18bff88843fe43212499bb550894264aaef810312bc097c5cfa898e06323ce320cc73002ff632fa5767d36704d28b27eb4d0ace6c
+DIST pyocr-0.5.3.tar.gz 18067 BLAKE2B f7e668630f0227d1e3df90de673f7c7b437f0c7ac0c5fb567ea1633df0184870d4472d5c2c4c48e7b65ebd8fa6516ae04409643910a527eb4a17ce2cfc00e504 SHA512 bc1010fab290e96a973dbdd6a4fe7ffae3bed0ecdf20615dc609e4a784faf9668c2673c2398626a3b08f1d840d1aa07661506d35343ae122ad2666f6a7107ba5
diff --git a/dev-python/pyocr/pyocr-0.5.3.ebuild b/dev-python/pyocr/pyocr-0.5.3.ebuild
new file mode 100644
index 000000000000..f08810e858da
--- /dev/null
+++ b/dev-python/pyocr/pyocr-0.5.3.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="An optical character recognition (OCR) tool wrapper for python"
+HOMEPAGE="https://github.com/openpaperwork/pyocr"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+IUSE="cuneiform +tesseract"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="cuneiform? ( app-text/cuneiform )
+ tesseract? ( app-text/tesseract )
+ dev-python/pillow
+ dev-python/six"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="|| ( cuneiform tesseract )"
+
+RESTRICT="test" # reguires tesseract[l10n_fr,l10n_en,l10n_jp]