commit: 93cff246b483d75d22fdb84dc12e94c193c753f1 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> AuthorDate: Mon Apr 9 10:12:39 2018 +0000 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> CommitDate: Mon Apr 9 10:15:15 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93cff246
dev-python/pyocr: 0.5.1 bump Switch to pypi releases Update metadata links Package-Manager: Portage-2.3.28, Repoman-2.3.9 dev-python/pyocr/Manifest | 1 + dev-python/pyocr/metadata.xml | 1 + dev-python/pyocr/pyocr-0.5.1.ebuild | 26 ++++++++++++++++++++++++++ 3 files changed, 28 insertions(+) diff --git a/dev-python/pyocr/Manifest b/dev-python/pyocr/Manifest index 0afb8dd1c42..9991c226473 100644 --- a/dev-python/pyocr/Manifest +++ b/dev-python/pyocr/Manifest @@ -1 +1,2 @@ DIST pyocr-0.4.7.tar.gz 1283774 BLAKE2B 0c4958882c350ee9e71f956694c180097607ca1c9e75b2886185361013f6038fd584a73de63de80546354de4023c6a8b1a589205f2e0c9165904d4fd3881b9f8 SHA512 ee4433c34058e0c79478dbf4276f55dabadcf5c841e86e1988e574bf91d96b96a314ef5e15047fb510737c956b4deed200eb47799de6fb1c021e407a6d49c192 +DIST pyocr-0.5.1.tar.gz 17525 BLAKE2B 0f2d6383fe59fae2f3f0c7abb185e8a1c4ddfab7e5cd219cff56fa8c2b9b690ab696ea2fada91ea66060ea8d8e71a7d0cfa38a9ddc7bb8fc3ffc05ae0b1a304f SHA512 829c4d4591931a4823e5d328df05a950bf65b4ff38a899ffa1c1f8e57fa031bcf68e22e18828681e285758a4be14097f7344b95c169e64206743c2521a81776c diff --git a/dev-python/pyocr/metadata.xml b/dev-python/pyocr/metadata.xml index 2270fa30d7b..1940c945676 100644 --- a/dev-python/pyocr/metadata.xml +++ b/dev-python/pyocr/metadata.xml @@ -17,6 +17,7 @@ Pyocr can be used as a wrapper for google's Tesseract-OCR or Cuneiform. It can r <flag name="tesseract">Enable support for the <pkg>app-text/tesseract</pkg> OCR engine</flag> </use> <upstream> + <remote-id type="pypi">pyocr</remote-id> <remote-id type="github">openpaperwork/pyocr</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/pyocr/pyocr-0.5.1.ebuild b/dev-python/pyocr/pyocr-0.5.1.ebuild new file mode 100644 index 00000000000..1199a7e9268 --- /dev/null +++ b/dev-python/pyocr/pyocr-0.5.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 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="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}" + +REQUIRED_USE="|| ( cuneiform tesseract )" + +RESTRICT="test" # reguires tesseract[l10n_fr,l10n_en,l10n_jp]