diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2017-01-02 12:12:44 +0100 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2017-01-02 12:18:22 +0100 |
commit | 5eafbc2180adac8328f094444fb01a53b21435c7 (patch) | |
tree | cd5f3b3af5edd7fca0ff26f07cb29da0d133fdda /dev-python/pyocr | |
parent | dev-python/pyinsane: 2.0.9 bump (diff) | |
download | gentoo-5eafbc2180adac8328f094444fb01a53b21435c7.tar.gz gentoo-5eafbc2180adac8328f094444fb01a53b21435c7.tar.bz2 gentoo-5eafbc2180adac8328f094444fb01a53b21435c7.zip |
dev-python/pyocr: 0.4.4 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.4.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/pyocr/Manifest b/dev-python/pyocr/Manifest index ebdcd0efd373..cb1638acea5e 100644 --- a/dev-python/pyocr/Manifest +++ b/dev-python/pyocr/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-python/pyocr/pyocr-0.4.4.ebuild b/dev-python/pyocr/pyocr-0.4.4.ebuild new file mode 100644 index 000000000000..b1c7e5f2c97d --- /dev/null +++ b/dev-python/pyocr/pyocr-0.4.4.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 +} |