[arch-commits] Commit in python-pyocr/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sun Jul 3 20:29:14 UTC 2022
Date: Sunday, July 3, 2022 @ 20:29:14
Author: arojas
Revision: 1243852
Update to 0.8.3
Modified:
python-pyocr/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-03 20:24:24 UTC (rev 1243851)
+++ PKGBUILD 2022-07-03 20:29:14 UTC (rev 1243852)
@@ -2,8 +2,8 @@
_pkgname=pyocr
pkgname=python-pyocr
-pkgver=0.8
-pkgrel=3
+pkgver=0.8.3
+pkgrel=1
pkgdesc='Python wrapper for Tesseract and Cuneiform'
arch=('any')
url='https://gitlab.gnome.org/World/OpenPaperwork/pyocr'
@@ -12,7 +12,7 @@
makedepends=('git' 'python-setuptools-scm')
optdepends=('cuneiform: OCR backend'
'tesseract: OCR backend')
-_commit=f9f93bbd83ab5814b1c56c3ffe41addc9ec622dc
+_commit=920b07154e1240efbd16e5b0bfd5fe2b57ac8334
source=("git+https://gitlab.gnome.org/World/OpenPaperwork/pyocr.git#commit=$_commit")
sha256sums=('SKIP')
@@ -22,7 +22,9 @@
}
prepare() {
- sed -e '/setuptools_scm_git_archive/d' -i $_pkgname/setup.py # Remove unused makedepends
+ cd $_pkgname
+ git revert -n c11aa77bea433f0a6f75d077bd7871a7fc0c54c1 # Remove version constraint
+ sed -e '/setuptools_scm_git_archive/d' -i setup.py # Remove unused makedepends
}
build() {
More information about the arch-commits
mailing list