diff options
-rw-r--r-- | dev-python/pyocr/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyocr/pyocr-0.5.2.ebuild | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/pyocr/Manifest b/dev-python/pyocr/Manifest index 9991c226473d..5530a99cdefd 100644 --- a/dev-python/pyocr/Manifest +++ b/dev-python/pyocr/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-python/pyocr/pyocr-0.5.2.ebuild b/dev-python/pyocr/pyocr-0.5.2.ebuild new file mode 100644 index 000000000000..f08810e858da --- /dev/null +++ b/dev-python/pyocr/pyocr-0.5.2.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] |