mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 22:28:08 -07:00
dev-python/pyocr: 0.5.1 bump
Switch to pypi releases Update metadata links Package-Manager: Portage-2.3.28, Repoman-2.3.9
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
26
dev-python/pyocr/pyocr-0.5.1.ebuild
Normal file
26
dev-python/pyocr/pyocr-0.5.1.ebuild
Normal file
@@ -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]
|
||||
Reference in New Issue
Block a user