summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-09-07 15:49:32 +0200
committerManuel Rüger <mrueg@gentoo.org>2016-09-07 15:49:32 +0200
commitb2bb237d8ac575bc4a1ae4fca5c42ee99bfcc038 (patch)
tree9203fe9d09946dcd5ab12134b10c96cf4e87027f /dev-python/pyocr
parentnet-wireless/bluez: Version bump to 5.41 (diff)
downloadgentoo-b2bb237d8ac575bc4a1ae4fca5c42ee99bfcc038.tar.gz
gentoo-b2bb237d8ac575bc4a1ae4fca5c42ee99bfcc038.tar.bz2
gentoo-b2bb237d8ac575bc4a1ae4fca5c42ee99bfcc038.zip
dev-python/pyocr: Version bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/pyocr')
-rw-r--r--dev-python/pyocr/Manifest1
-rw-r--r--dev-python/pyocr/pyocr-0.4.1.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/pyocr/Manifest b/dev-python/pyocr/Manifest
index ccf89b89d597..7a018063bd61 100644
--- a/dev-python/pyocr/Manifest
+++ b/dev-python/pyocr/Manifest
@@ -1,3 +1,4 @@
DIST pyocr-0.2.4.tar.gz 309220 SHA256 a8db05190b505691a5c5fd1459072fda7f429940b562209b42f3db93c1292ef6 SHA512 8df6aa267743ae05864a0272764bfefc95c5071399ac90a7c0d52ec9fff65c55380066fad46412f71f6c7b2f8125e1b618fec6ecca4d7ff696c005115cd59d9d WHIRLPOOL 22efb3f668b9adc0e80a71b86d157252c4de8cee0d7628f1835b40d8892501871ba58ad6928dab97a76b66d66319bdbe43fe0a4cfa57d39b6216c673747b9dd3
DIST pyocr-0.3.0.tar.gz 315750 SHA256 b17279f1961487d635dd43dbbf94c3cee678ab262812cf4d7b0bd919f960f13d SHA512 c5014026072d4a5edad2bf32817c07c09436aed0d2544aba6d1418dd6f0a238ee4794171922d5d473142ff21e5df97b27be6fe12c83124a39dd2c1f67445d6de WHIRLPOOL a6b10f313660b80c47ead6b0e6a426e3ce595dda23954c25675273ef5a7adc8abce626a964fc14eb12baa9b46e346e54c6dd49e91b2a92d4be68db8e07b5edde
DIST pyocr-0.3.1.tar.gz 316203 SHA256 119c8be5ae3cce0aea07dc1178c3f37f8f2473421baeda09f1ed2c411449e4ec SHA512 50a5d7fd48e03c38edb65e6a1940476bdfbe98f6deb9a9ac0a1d0a429f9b0044849a1f3a91e436ffb6ef986333741852dee37a1df4ae2c15c354a6dfa0c66bc9 WHIRLPOOL c17f91afd00f9fdab59f3e5646f3f11edf9f01bd5528a9bcff87d8180129bdf55ff8e49d287a5da09c4a468a8368e97b547fc28eb2e789f6df3b63f296905ee2
+DIST pyocr-0.4.1.tar.gz 1277997 SHA256 6fdefe9aed5c0c6543876d9dbd33ac0fc222a38ccdf1e2104fb3adac13e1485e SHA512 1e0bd840b02239695b4b7d572e8abea772a0b8833f532a8eaa3e733020677c906a2daeb6845c265a2a47a7ffeae876599dd124e6b3a7f67e90fa082b92e44ceb WHIRLPOOL 82b5edcb243c6024e0b3c44136cd18e4c6f4ec901aac69aa091fec537c54233d5ec05cb56a9d819bfb21550c456ca4144bbf547468e5e47aff9854d1514d4b26
diff --git a/dev-python/pyocr/pyocr-0.4.1.ebuild b/dev-python/pyocr/pyocr-0.4.1.ebuild
new file mode 100644
index 000000000000..b28e85a4e18a
--- /dev/null
+++ b/dev-python/pyocr/pyocr-0.4.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 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
+}