mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
New package: python3-pyocr-0.8.5
This commit is contained in:
parent
45dff05a2b
commit
993523d07b
1 changed files with 21 additions and 0 deletions
21
srcpkgs/python3-pyocr/template
Normal file
21
srcpkgs/python3-pyocr/template
Normal 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
|
||||
}
|
Loading…
Add table
Reference in a new issue