summaryrefslogtreecommitdiff
path: root/dev-python/pyocr
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pyocr
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pyocr')
-rw-r--r--dev-python/pyocr/Manifest8
-rw-r--r--dev-python/pyocr/metadata.xml22
-rw-r--r--dev-python/pyocr/pyocr-0.4.6.ebuild30
-rw-r--r--dev-python/pyocr/pyocr-0.4.7-r1.ebuild30
-rw-r--r--dev-python/pyocr/pyocr-0.4.7.ebuild30
5 files changed, 120 insertions, 0 deletions
diff --git a/dev-python/pyocr/Manifest b/dev-python/pyocr/Manifest
new file mode 100644
index 000000000000..b3d0ebd4eef8
--- /dev/null
+++ b/dev-python/pyocr/Manifest
@@ -0,0 +1,8 @@
+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
+EBUILD pyocr-0.4.6.ebuild 745 SHA256 9ab5370548cbdebf8db3adcf444d01ca164b10ce2469c58eb157f8d56748c94e SHA512 359fd7441598355279852ce0aaf0716d43552d771f8d70c70698116c1167f6fc8285d945ade54df5758a85c4fcd73ec3f19e8dbce98b6ebfabeffb8beac20459 WHIRLPOOL fbcb559791780a4ee5f6dfb17fd775aabf842668c78e616bd4b3236d6121934fbd5c12e39145abccd1190bdbf8549408c4c10ef060a43be543bd8d9eb6ce09ff
+EBUILD pyocr-0.4.7-r1.ebuild 761 SHA256 287fbfdcc8a41e77735992bfdbcc6260024ba90d814a946d8b976b9f7e07b106 SHA512 68050ad1419fce72d68b419e3d0a0ef8a14acd330408ddab125bffc144d30710de49f3603cd0a3079f2b74fda0956d6d62e56137e9f182cb6d1163960e122d97 WHIRLPOOL 8809d823a30471e793076b139a5790d1a38433b71153b626bfa3363c2cac65fde3ddf0575115c1d42ea6949eb6aecaeaff09dfd2697fdd72413b6b1456289015
+EBUILD pyocr-0.4.7.ebuild 757 SHA256 0912b85b064caa9654cb5ea0cc2044108f31d6c878e971ece151d4b30a69e631 SHA512 eee4c10d8e3ea4b6f06ca0284e2334c28d2b9119d4d397bb7fba7f1004f1023a2b28edca7850f9ddb572d83864e864ef3354026a4517e3a19fe9417dc7d4f89b WHIRLPOOL 2f45d6ac38fcba034bb18ffa8634be861753908c3421413622b98a2267b3c564a43e483330882156da0e52af7221b91b9a5937bce6d598eadba24a2bba794b7a
+MISC ChangeLog 3233 SHA256 4cb5247a9f275a029736f8b81f6a131540a8e51d086415a38b86df2933b620eb SHA512 63f78203a23b1ebeb2d32587c20044e9966e0562a901fcbeb31252412dc7ed1f649ca6366b69b3201568f6c39f69a1a733a175ee930d243d022cbce304c8bade WHIRLPOOL e4ee97a938b86b1eb82d32a6c5d38faf6df885101bba2934188eb388751a3fa634fcbf2ae2be0d94a2556b5ef0c496268bbcb34798ce12384bc231336b857404
+MISC ChangeLog-2015 687 SHA256 905a4fd6806fefbfbe9a6ddb31c5e822b17169812ce08aa2f3c727caf79b8bad SHA512 baca15e19a6e00c30c44b3f2a5042e7e02bdc3b9982b9e971c45c805d44228c81884b2c707b71ceca200b3a83d523fba27d750d380ef9b6b9c4c72de5702eefe WHIRLPOOL 8a31b12db1f5a3018af9ea134a48340b82647f3c701c66b9fd4dbe8458878c20d4d3d5cb3b4bbe5ebe1099fa1097f4265d1334c8d3399d8587ce4c0ee9826e5f
+MISC metadata.xml 1068 SHA256 e9ce6c6c3aef221f63419905d06fccf8998357d28f4d5707617d072cd28e0501 SHA512 c4fe226c68e85011b2470ec1bcd43eb3744df25948c7dd13a8c21ac3b89e6394f21a4d92793366c17bcaa25c24d8979d75a21bb6e2e884dbeef73e2db0f8f52b WHIRLPOOL b2dac010e8a3fa8d80323953d0cba80c0606f8099190af2ab256ba8668763269e05f1fb730276725c0b3b6f3fb52c19b45e30bf3b9407d4bcbe91fd20ad7ee44
diff --git a/dev-python/pyocr/metadata.xml b/dev-python/pyocr/metadata.xml
new file mode 100644
index 000000000000..2270fa30d7b8
--- /dev/null
+++ b/dev-python/pyocr/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+ </maintainer>
+ <longdescription lang="en">
+Pyocr is an optical character recognition (OCR) tool wrapper for python. That is, it helps using OCR tools from a Python program.
+
+It has been tested only on GNU/Linux systems. It should also work on similar systems (*BSD, etc). It doesn't work on Windows, MacOSX, etc.
+
+Pyocr can be used as a wrapper for google's Tesseract-OCR or Cuneiform. It can read all image types supported by Pillow, including jpeg, png, gif, bmp, tiff, and others. It also support bounding box data.
+ </longdescription>
+ <use>
+ <flag name="cuneiform">Enable support for the <pkg>app-text/cuneiform</pkg> OCR engine</flag>
+ <flag name="tesseract">Enable support for the <pkg>app-text/tesseract</pkg> OCR engine</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">openpaperwork/pyocr</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pyocr/pyocr-0.4.6.ebuild b/dev-python/pyocr/pyocr-0.4.6.ebuild
new file mode 100644
index 000000000000..1b297d3a7383
--- /dev/null
+++ b/dev-python/pyocr/pyocr-0.4.6.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/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
+}
diff --git a/dev-python/pyocr/pyocr-0.4.7-r1.ebuild b/dev-python/pyocr/pyocr-0.4.7-r1.ebuild
new file mode 100644
index 000000000000..f1067744bffe
--- /dev/null
+++ b/dev-python/pyocr/pyocr-0.4.7-r1.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,3_6} )
+
+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
+}
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
+}