[arch-commits] Commit in python-pyocr/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Jan 29 17:13:06 UTC 2021


    Date: Friday, January 29, 2021 @ 17:13:05
  Author: arojas
Revision: 835418

Update to 0.8

Modified:
  python-pyocr/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-29 17:09:59 UTC (rev 835417)
+++ PKGBUILD	2021-01-29 17:13:05 UTC (rev 835418)
@@ -2,17 +2,17 @@
 
 _pkgname=pyocr
 pkgname=python-pyocr
-pkgver=0.7.2
-pkgrel=5
+pkgver=0.8
+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)
+makedepends=(git python-setuptools-scm)
 optdepends=('cuneiform: OCR backend'
             'tesseract: OCR backend')
-_commit=f4b068cdf359186bfbed36959c53e9e52e2eda84  # tags/0.7.2^0
+_commit=f9f93bbd83ab5814b1c56c3ffe41addc9ec622dc
 source=("git+https://gitlab.gnome.org/World/OpenPaperwork/pyocr.git#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -21,6 +21,10 @@
   git describe --tags | sed 's/-/+/g'
 }
 
+prepare() {
+  sed -e '/setuptools_scm_git_archive/d' -i $_pkgname/setup.py # Remove unused makedepends
+}
+
 build() {
   cd $_pkgname
   make



More information about the arch-commits mailing list