[arch-commits] Commit in python-pyocr/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sun Jul 3 20:29:27 UTC 2022
Date: Sunday, July 3, 2022 @ 20:29:27
Author: arojas
Revision: 1243853
archrelease: copy trunk to community-any
Added:
python-pyocr/repos/community-any/PKGBUILD
(from rev 1243852, python-pyocr/trunk/PKGBUILD)
Deleted:
python-pyocr/repos/community-any/PKGBUILD
----------+
PKGBUILD | 74 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 38 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-03 20:29:14 UTC (rev 1243852)
+++ PKGBUILD 2022-07-03 20:29:27 UTC (rev 1243853)
@@ -1,36 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-_pkgname=pyocr
-pkgname=python-pyocr
-pkgver=0.8
-pkgrel=3
-pkgdesc='Python wrapper for Tesseract and Cuneiform'
-arch=('any')
-url='https://gitlab.gnome.org/World/OpenPaperwork/pyocr'
-license=('GPL3')
-depends=('python-pillow' 'python-six')
-makedepends=('git' 'python-setuptools-scm')
-optdepends=('cuneiform: OCR backend'
- 'tesseract: OCR backend')
-_commit=f9f93bbd83ab5814b1c56c3ffe41addc9ec622dc
-source=("git+https://gitlab.gnome.org/World/OpenPaperwork/pyocr.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd $_pkgname
- git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
- sed -e '/setuptools_scm_git_archive/d' -i $_pkgname/setup.py # Remove unused makedepends
-}
-
-build() {
- cd $_pkgname
- python setup.py build
-}
-
-package() {
- cd $_pkgname
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
Copied: python-pyocr/repos/community-any/PKGBUILD (from rev 1243852, python-pyocr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-03 20:29:27 UTC (rev 1243853)
@@ -0,0 +1,38 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgname=pyocr
+pkgname=python-pyocr
+pkgver=0.8.3
+pkgrel=1
+pkgdesc='Python wrapper for Tesseract and Cuneiform'
+arch=('any')
+url='https://gitlab.gnome.org/World/OpenPaperwork/pyocr'
+license=('GPL3')
+depends=('python-pillow' 'python-six')
+makedepends=('git' 'python-setuptools-scm')
+optdepends=('cuneiform: OCR backend'
+ 'tesseract: OCR backend')
+_commit=920b07154e1240efbd16e5b0bfd5fe2b57ac8334
+source=("git+https://gitlab.gnome.org/World/OpenPaperwork/pyocr.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $_pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $_pkgname
+ git revert -n c11aa77bea433f0a6f75d077bd7871a7fc0c54c1 # Remove version constraint
+ sed -e '/setuptools_scm_git_archive/d' -i setup.py # Remove unused makedepends
+}
+
+build() {
+ cd $_pkgname
+ python setup.py build
+}
+
+package() {
+ cd $_pkgname
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list