[arch-commits] Commit in python-pytesseract/trunk (PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Tue Dec 15 07:57:18 UTC 2020
Date: Tuesday, December 15, 2020 @ 07:57:18
Author: polyzen
Revision: 775850
upgpkg: python-pytesseract 0.3.7-1
Modified:
python-pytesseract/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-15 07:31:45 UTC (rev 775849)
+++ PKGBUILD 2020-12-15 07:57:18 UTC (rev 775850)
@@ -3,8 +3,8 @@
_name=pytesseract
pkgname=python-pytesseract
-pkgver=0.3.6
-pkgrel=4
+pkgver=0.3.7
+pkgrel=1
pkgdesc='Python wrapper for Google Tesseract'
arch=('any')
url=https://github.com/madmaze/pytesseract
@@ -11,16 +11,16 @@
license=('Apache')
depends=('python-pillow' 'python-setuptools' 'tesseract')
checkdepends=('python-pytest' 'tesseract-data-eng' 'tesseract-data-fra')
-source=("$url/archive/v.$pkgver/$_name-v.$pkgver.tar.gz")
-sha512sums=('002777ce3c9609455aca36e0e17f19ead32c5d48b8bc04081b63aa1520104572ecdf975a85fbf010e29bd6eb66db810f1b88ee8e852de274dc9fdea96acf80bf')
+source=("$url/archive/v$pkgver/$_name-v$pkgver.tar.gz")
+b2sums=('88096f3b4d36fe00dc0123e80d4bbd7fe83726c6aa8a5a72a8ba93e405493869fdcada66a9d10ec54195c278a799ac8fa6bbf9da868896ef760babdadd53ad7f')
build() {
- cd $_name-v.$pkgver
+ cd $_name-$pkgver
python setup.py build
}
check() {
- cd $_name-v.$pkgver
+ cd $_name-$pkgver
mkdir -p temp
local sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
python setup.py install --skip-build --root=temp
@@ -28,7 +28,7 @@
}
package() {
- cd $_name-v.$pkgver
+ cd $_name-$pkgver
export PYTHONHASHSEED=0
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
More information about the arch-commits
mailing list