From 0433c5c0a2be9e1fc13aebf7f0cc50cd416cc48e Mon Sep 17 00:00:00 2001 From: Bernard Cafarelli Date: Mon, 29 May 2017 14:39:00 +0200 Subject: [PATCH] dev-python/pyocr: 0.4.7 bump, update homepage Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- dev-python/pyocr/Manifest | 1 + dev-python/pyocr/pyocr-0.4.7.ebuild | 30 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 dev-python/pyocr/pyocr-0.4.7.ebuild diff --git a/dev-python/pyocr/Manifest b/dev-python/pyocr/Manifest index 7618e09477f3..2167cc2e614c 100644 --- a/dev-python/pyocr/Manifest +++ b/dev-python/pyocr/Manifest @@ -1,2 +1,3 @@ DIST pyocr-0.4.5.tar.gz 1281832 SHA256 ac14f15d396a501a5441b7fb9460e809c416572b1dc8da8bd6c998f7704301e5 SHA512 60a78864f3a1d2eb665941ecfa90eb6d04668b187fa140de8131ee6097526a75d65e05257233b4821048eb67382bb9131d6916bd70367fd7232ceecbb9dc4398 WHIRLPOOL 680a81999e08c1e066b5fcbd251d283969f2b7348c1b94fd6beb350ea5ed9723e9f170aed121d7df7ff1a24354b449440cab84f4bbcc0e567ca4b90b6d0c345c DIST pyocr-0.4.6.tar.gz 1282437 SHA256 1b8b8eac73de03750857edfd58cd8b4b73f025493bd08300121a6c26591ed78a SHA512 3543ef444dc729506574120bafaa192a7b2a689ab408cf59960e2b0be2d9a2eb13fa3bcb02c27022ab48257e8ceac824ca9b8d7e9850ddeef0a877117b889c11 WHIRLPOOL a3e8e77889d5655529fb093e4d8f5206945b135cb0703bfaef0a885ccd3abe8b92092ae82b14cb30ae8f10dd752e2665fa2042b586221ce7431913e18ee59924 +DIST pyocr-0.4.7.tar.gz 1283774 SHA256 2ee1b8107deaeef11505daf777a02affa836e3e13dea37c849b47c332e207ced SHA512 ee4433c34058e0c79478dbf4276f55dabadcf5c841e86e1988e574bf91d96b96a314ef5e15047fb510737c956b4deed200eb47799de6fb1c021e407a6d49c192 WHIRLPOOL 022da075eaec5e86be2e6ee21b7cb8265ff8943e20666c10e3d58dbde2512fe0036cbaf594f0f38a8924d286392607e93ac6958a0c5365a36be3a5edbd1e203c diff --git a/dev-python/pyocr/pyocr-0.4.7.ebuild b/dev-python/pyocr/pyocr-0.4.7.ebuild new file mode 100644 index 000000000000..634a7ad88580 --- /dev/null +++ b/dev-python/pyocr/pyocr-0.4.7.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 + +DESCRIPTION="An optical character recognition (OCR) tool wrapper for python" +HOMEPAGE="https://github.com/openpaperwork/pyocr" +SRC_URI="https://github.com/openpaperwork/pyocr/archive/${PV}.tar.gz -> ${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] + +python_test() { + ${EPYTHON} run_tests.py || die +} -- 2.26.2