[arch-commits] Commit in python-pyocr/trunk (PKGBUILD)
Balló György
bgyorgy at archlinux.org
Thu Jun 3 18:27:36 UTC 2021
Date: Thursday, June 3, 2021 @ 18:27:35
Author: bgyorgy
Revision: 955718
Minor changes
Modified:
python-pyocr/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-03 18:12:17 UTC (rev 955717)
+++ PKGBUILD 2021-06-03 18:27:35 UTC (rev 955718)
@@ -4,12 +4,12 @@
pkgname=python-pyocr
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-scm)
+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
@@ -27,10 +27,10 @@
build() {
cd $_pkgname
- make
+ python setup.py build
}
package() {
cd $_pkgname
- python3 setup.py install --root="$pkgdir" --optimize=1
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
More information about the arch-commits
mailing list