summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2019-06-13 13:19:04 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2019-06-13 13:19:16 +0200
commitee82a4c7cab65bab96125cfb5003f7aaa41d7483 (patch)
tree5d8d687a0c64a3f31d3c4de400800294a0e21ecc
parentdev-python/setuptools_scm_git_archive: add ~x86 keyword (diff)
downloadgentoo-ee82a4c7cab65bab96125cfb5003f7aaa41d7483.tar.gz
gentoo-ee82a4c7cab65bab96125cfb5003f7aaa41d7483.tar.bz2
gentoo-ee82a4c7cab65bab96125cfb5003f7aaa41d7483.zip
dev-python/pyocr: 0.7 bump
Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
-rw-r--r--dev-python/pyocr/Manifest1
-rw-r--r--dev-python/pyocr/pyocr-0.7.ebuild26
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/pyocr/Manifest b/dev-python/pyocr/Manifest
index 672f23ac509c..2ae620f43df8 100644
--- a/dev-python/pyocr/Manifest
+++ b/dev-python/pyocr/Manifest
@@ -1,2 +1,3 @@
DIST pyocr-0.5.3.tar.gz 18067 BLAKE2B f7e668630f0227d1e3df90de673f7c7b437f0c7ac0c5fb567ea1633df0184870d4472d5c2c4c48e7b65ebd8fa6516ae04409643910a527eb4a17ce2cfc00e504 SHA512 bc1010fab290e96a973dbdd6a4fe7ffae3bed0ecdf20615dc609e4a784faf9668c2673c2398626a3b08f1d840d1aa07661506d35343ae122ad2666f6a7107ba5
DIST pyocr-0.6.tar.gz 17826 BLAKE2B bc7239a5a9d07f55650247d0586bc0856c8f0be6aa549d2816a3703559fffc8b53aee5e23b9e5a24a2e1c655d5c605c73dbaff9fd3129fe08ffbd6f24709b07b SHA512 f517f5c9180cd1cbf0faa56f733a8b6015abb4af25647f513f95022dd72ee0ba07350475b238dff810a35677278f457dfbf9448a50b9c275fa4f1aa08f4a4c2f
+DIST pyocr-0.7.tar.gz 67838 BLAKE2B a5bb88ca981cf2bc68344d739ce35eaa7db26cae28c581cd72a7855e67ac668ea064ff2a71845ededa640a8e9a54fc0aaba464527cc43acea5eb4edf3812bd9a SHA512 054f3190eaaafea0e2b591af2220af519d8a2fe3c623417e4b84c52faf9d98339570e896983713e9fbb54087f5eb4afe0b1d6f56e43ea894f7206a7c17203438
diff --git a/dev-python/pyocr/pyocr-0.7.ebuild b/dev-python/pyocr/pyocr-0.7.ebuild
new file mode 100644
index 000000000000..07ad6371df5b
--- /dev/null
+++ b/dev-python/pyocr/pyocr-0.7.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{5,6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="An optical character recognition (OCR) tool wrapper for python"
+HOMEPAGE="https://github.com/openpaperwork/pyocr"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${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}
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+ dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]"
+
+REQUIRED_USE="|| ( cuneiform tesseract )"