diff options
Diffstat (limited to 'dev-python/pyocr')
-rw-r--r-- | dev-python/pyocr/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyocr/pyocr-0.8.1.ebuild | 30 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/pyocr/Manifest b/dev-python/pyocr/Manifest index 457f6a1f3f98..7ac4c46dc11b 100644 --- a/dev-python/pyocr/Manifest +++ b/dev-python/pyocr/Manifest @@ -1,3 +1,5 @@ +DIST pyocr-0.8.1.tar.gz 67150 BLAKE2B d7f06db3b27c7352365713640c2421e5b73f54869d46c684d6b96d26c3d4c719c5daa1650e023f0cc5a17c0e51b4fb387ef8583ed501ab8369fc70d1c78e77bf SHA512 8a38f8175bd96de152cb0c34640fe0ca0bee369ecc455a1730a47f64d619901e48491fe0cf333073962f28a478f01ec71593881995e956589f60511b8636a32e DIST pyocr-0.8.tar.gz 65454 BLAKE2B 881353eebce22cf316cd4375cc8971e740a9a463216a5b49c07c7813340cfa1a9bdd869b84b4c26566deab1551884179ae2fe0184dec73880b716118367803cd SHA512 c8d811001b460a9004a80fbf570df3fe9a6af11e8ca0e90f23e5f3be54f6a54d859f4ad3db126a5216ea557ecb38ebd5dbece91810df2bf3e95f514c39649bce +EBUILD pyocr-0.8.1.ebuild 805 BLAKE2B f80030efe0c0ef3a8056bb36cea9b833744379d1d1692d82477c6d1d83e9d986caa678fa5dc45ed2060a3204c43c1fc84118243ab729c56c1cc7f45cde250716 SHA512 f4e6282be89a90617477a83b76f14a00c57062655354eab2c0d9c9054a9a539a812d17e3bdd64c7ccc8dbf6d5be3f9eedb874baa7e3d06c070eaec1e04a718dc EBUILD pyocr-0.8.ebuild 804 BLAKE2B b0f48b6c0d42f8626d06730fbd5400b9bb3d4b5fc16683b8e99ed5f73f9ef1c4cd1af8ecccd820d43ef5036369c487e9d17e6fa4905bc6136ed597e2961c7778 SHA512 cef145c69319ff438fb778ae7a264e5582e70393df33d39a3a5e14ea082323ac8b8a18d6775ef00ff042ef39bc92a612405f77d4287984797e7460ccf2f4e8c5 MISC metadata.xml 1132 BLAKE2B 77ed8febe8322997eab2442bec13f5f4f7f101ecc3c410b62756687e8a24665388ecdc35a03a1728185f421e8dca3fb83eb3673807a9c7b600db27e7e30086cc SHA512 3307c040d15ee0ca37cae959e9824f0046f487a120b7b2b4c19fd1fc33b4bf1689796cbd0c6a6a2ff5f580910857abb7a3bcbe990d1384628445dc427a2c6500 diff --git a/dev-python/pyocr/pyocr-0.8.1.ebuild b/dev-python/pyocr/pyocr-0.8.1.ebuild new file mode 100644 index 000000000000..b52028de434d --- /dev/null +++ b/dev-python/pyocr/pyocr-0.8.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="An optical character recognition (OCR) tool wrapper" +HOMEPAGE="https://gitlab.gnome.org/World/OpenPaperwork/pyocr" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cuneiform +tesseract" +REQUIRED_USE="|| ( cuneiform tesseract )" + +RDEPEND=" + dev-python/pillow[${PYTHON_USEDEP}]" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]" + +# (tests apparently do not require any backend installed) +distutils_enable_tests unittest + +RDEPEND+=" + cuneiform? ( app-text/cuneiform ) + tesseract? ( app-text/tesseract )" |