New package: python3-pyocr-0.8.5

This commit is contained in:
idealist1508 2024-05-10 08:28:42 +02:00
parent 45dff05a2b
commit 993523d07b

View file

@ -0,0 +1,21 @@
# Template file for 'python3-pyocr'
pkgname=python3-pyocr
version=0.8.5
revision=1
build_style=python3-module
hostmakedepends="python3-build python3-installer python3-setuptools_scm python3-wheel"
depends="python3 tesseract-ocr"
short_desc="Python wrapper for Tesseract and Cuneiform"
maintainer="idealist1508 <id1508-github@yahoo.com>"
license="GPL-3.0-or-later"
homepage="https://gitlab.gnome.org/World/OpenPaperwork/pyocr"
distfiles="https://gitlab.gnome.org/World/OpenPaperwork/pyocr/-/archive/${version}/pyocr-${version}.tar.bz2"
checksum=ba9c63cfac7bb6e441590053954466b41768e6b87f1b279c2d62460cad8bb174
do_build() {
python -m build --wheel --no-isolation
}
do_install() {
python -m installer --destdir="$DESTDIR" dist/*.whl
}