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

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Dec 2 20:01:46 UTC 2021


    Date: Thursday, December 2, 2021 @ 20:01:46
  Author: foutrelis
Revision: 1062433

archrelease: copy trunk to community-staging-any

Added:
  python-pyocr/repos/community-staging-any/PKGBUILD
    (from rev 1062432, python-pyocr/trunk/PKGBUILD)
Deleted:
  python-pyocr/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 20:01:44 UTC (rev 1062432)
+++ PKGBUILD	2021-12-02 20:01:46 UTC (rev 1062433)
@@ -1,36 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-_pkgname=pyocr
-pkgname=python-pyocr
-pkgver=0.8
-pkgrel=2
-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-staging-any/PKGBUILD (from rev 1062432, python-pyocr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 20:01:46 UTC (rev 1062433)
@@ -0,0 +1,36 @@
+# 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
+}



More information about the arch-commits mailing list