[arch-commits] Commit in python-pytesseract/repos/community-any (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Mon Dec 14 05:09:18 UTC 2020


    Date: Monday, December 14, 2020 @ 05:09:17
  Author: polyzen
Revision: 774833

archrelease: copy trunk to community-any

Added:
  python-pytesseract/repos/community-any/PKGBUILD
    (from rev 774832, python-pytesseract/trunk/PKGBUILD)
Deleted:
  python-pytesseract/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   67 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 34 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-14 05:08:51 UTC (rev 774832)
+++ PKGBUILD	2020-12-14 05:09:17 UTC (rev 774833)
@@ -1,33 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Christoph Brill <egore911 at gmail.com>
-
-_name=pytesseract
-pkgname=python-pytesseract
-pkgver=0.3.6
-pkgrel=3
-pkgdesc='Python wrapper for Google Tesseract'
-arch=('any')
-url=https://github.com/madmaze/pytesseract
-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')
-
-build() {
-  cd $_name-v.$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_name-v.$pkgver
-  mkdir -p temp
-  local sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
-  python setup.py install --skip-build --root=temp
-  PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$sitepackages" pytest -k 'not test_image_to_data_common_output[dict]' # https://github.com/madmaze/pytesseract/issues/298
-}
-
-package() {
-  cd $_name-v.$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-pytesseract/repos/community-any/PKGBUILD (from rev 774832, python-pytesseract/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-14 05:09:17 UTC (rev 774833)
@@ -0,0 +1,34 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Christoph Brill <egore911 at gmail.com>
+
+_name=pytesseract
+pkgname=python-pytesseract
+pkgver=0.3.6
+pkgrel=4
+pkgdesc='Python wrapper for Google Tesseract'
+arch=('any')
+url=https://github.com/madmaze/pytesseract
+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')
+
+build() {
+  cd $_name-v.$pkgver
+  python setup.py build
+}
+
+check() {
+  cd $_name-v.$pkgver
+  mkdir -p temp
+  local sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
+  python setup.py install --skip-build --root=temp
+  PATH="$PWD/temp/usr/bin:$PATH" PYTHONPATH="$PWD/temp/$sitepackages" pytest -k 'not test_image_to_data_common_output[dict]' # https://github.com/madmaze/pytesseract/issues/298
+}
+
+package() {
+  cd $_name-v.$pkgver
+  export PYTHONHASHSEED=0
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list