diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2017-01-18 12:34:08 +0100 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2017-01-18 12:34:08 +0100 |
commit | afeb9691113a74c62278a275b8dfbcba506b2ee4 (patch) | |
tree | c2bdd82747261afb0d41fb039211c3105318f977 /dev-python/pyocr | |
parent | profiles: mask x11-misc/ksuperkey for removal (diff) | |
download | gentoo-afeb9691113a74c62278a275b8dfbcba506b2ee4.tar.gz gentoo-afeb9691113a74c62278a275b8dfbcba506b2ee4.tar.bz2 gentoo-afeb9691113a74c62278a275b8dfbcba506b2ee4.zip |
dev-python/pyocr: 0.4.5 bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-python/pyocr')
-rw-r--r-- | dev-python/pyocr/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pyocr/pyocr-0.4.5.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/pyocr/Manifest b/dev-python/pyocr/Manifest index cb1638acea5e..890729e7cf42 100644 --- a/dev-python/pyocr/Manifest +++ b/dev-python/pyocr/Manifest @@ -1,3 +1,4 @@ DIST pyocr-0.4.1.tar.gz 1277997 SHA256 6fdefe9aed5c0c6543876d9dbd33ac0fc222a38ccdf1e2104fb3adac13e1485e SHA512 1e0bd840b02239695b4b7d572e8abea772a0b8833f532a8eaa3e733020677c906a2daeb6845c265a2a47a7ffeae876599dd124e6b3a7f67e90fa082b92e44ceb WHIRLPOOL 82b5edcb243c6024e0b3c44136cd18e4c6f4ec901aac69aa091fec537c54233d5ec05cb56a9d819bfb21550c456ca4144bbf547468e5e47aff9854d1514d4b26 DIST pyocr-0.4.2.tar.gz 1279567 SHA256 60f468176f1f1580dd56c3ecacfdebd2119d5a6a8cd49defa9e04d1b2da2225c SHA512 7394749a5bec4f4c9059821687e63c87f18136ace7cb5125a3266fe6245b02cfb35ff94538a942b29b4ce02155fea2de47c252102bc593ecac5b4ec522a588af WHIRLPOOL 75ed9048b46ce4b76ac7129eefbec421dea311e64f1b4e69718bbff219b21aea512f274496ce41281cc711b2e5e56023411c4c00803da24ec4052888d252b74b DIST pyocr-0.4.4.tar.gz 1281459 SHA256 e60cdf268fb663cd047b3a607bed3a341311c15d9b134c93ebfa789ddc43cd06 SHA512 793c53d0858a679d34374ed22d7bb600f9a4e6e49a312b5ccf1bbb9bd3390c63170833f36a691903e2301820a4fd6beb30f451c85b829779b77dce3ffab6c934 WHIRLPOOL 47b422b10cb8866a22450e731319b5c87cc41621e6de1b054a31ddf397a69a26af48563f5617e517fded7fbc0c548082d5b4f412c7d81c5a91c52b90f807e5ca +DIST pyocr-0.4.5.tar.gz 1281832 SHA256 ac14f15d396a501a5441b7fb9460e809c416572b1dc8da8bd6c998f7704301e5 SHA512 60a78864f3a1d2eb665941ecfa90eb6d04668b187fa140de8131ee6097526a75d65e05257233b4821048eb67382bb9131d6916bd70367fd7232ceecbb9dc4398 WHIRLPOOL 680a81999e08c1e066b5fcbd251d283969f2b7348c1b94fd6beb350ea5ed9723e9f170aed121d7df7ff1a24354b449440cab84f4bbcc0e567ca4b90b6d0c345c diff --git a/dev-python/pyocr/pyocr-0.4.5.ebuild b/dev-python/pyocr/pyocr-0.4.5.ebuild new file mode 100644 index 000000000000..b1c7e5f2c97d --- /dev/null +++ b/dev-python/pyocr/pyocr-0.4.5.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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/jflesch/pyocr" +SRC_URI="https://github.com/jflesch/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 +} |