Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages / python-pytesseract
Commits: 46584555 by Daniel M. Capella at 2024-04-04T23:21:53-04:00 upgpkg: 0.3.13-2: Rebuild for Python 3.12 https://archlinux.org/todo/python-modules-part-1/ - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = python-pytesseract pkgdesc = Python wrapper for Google Tesseract pkgver = 0.3.13 - pkgrel = 1 + pkgrel = 2 url = https://github.com/madmaze/pytesseract arch = any license = Apache ===================================== PKGBUILD ===================================== @@ -2,10 +2,10 @@ # Maintainer: Alexander Epaneshnikov <alex1...@archlinux.org> # Contributor: Christoph Brill <egore...@gmail.com> -_name=pytesseract pkgname=python-pytesseract +_name=${pkgname#python-} pkgver=0.3.13 -pkgrel=1 +pkgrel=2 pkgdesc='Python wrapper for Google Tesseract' arch=('any') url=https://github.com/madmaze/pytesseract @@ -23,19 +23,19 @@ source=("git+$url.git#tag=v$pkgver") b2sums=('f85ddc0168e710237b7fd7b59127bad033d43d91637e7151ee8e4da40505095adb11067f6c56135205a895449e1cf831479ed33f082c0aba3ea9466f85456712') build() { - cd $_name + cd "$_name" python -m build --wheel --skip-dependency-check --no-isolation } check() { - cd $_name + cd "$_name" python -m venv --system-site-packages test-env test-env/bin/python -m installer dist/*.whl test-env/bin/python -m pytest } package() { - cd $_name + cd "$_name" python -m installer --destdir="$pkgdir" dist/*.whl } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytesseract/-/commit/46584555e1d703ba9bf4eac551a27eecf2826e0a -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-pytesseract/-/commit/46584555e1d703ba9bf4eac551a27eecf2826e0a You're receiving this email because of your account on gitlab.archlinux.org.