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

Felix Yan felixonmars at archlinux.org
Mon May 6 18:40:25 UTC 2019


    Date: Monday, May 6, 2019 @ 18:40:24
  Author: felixonmars
Revision: 461374

upgpkg: python-lark-parser 0.7.1-2

correct source version

Modified:
  python-lark-parser/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-06 18:39:59 UTC (rev 461373)
+++ PKGBUILD	2019-05-06 18:40:24 UTC (rev 461374)
@@ -3,9 +3,8 @@
 pkgbase=python-lark-parser
 pkgname=(python-lark-parser python2-lark-parser)
 pkgver=0.7.1
-_tag=0.66
 _nearley_commit=a46b37471db486db0f6e1ce6a2934fb238346b44
-pkgrel=1
+pkgrel=2
 pkgdesc="A modern parsing library"
 url="https://github.com/lark-parser/lark"
 license=('MIT')
@@ -12,14 +11,12 @@
 arch=('any')
 makedepends=('python-setuptools' 'python2-setuptools')
 checkdepends=('python-js2py' 'python2-js2py')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/lark-parser/lark/archive/$_tag.tar.gz"
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/lark-parser/lark/archive/$pkgver.tar.gz"
         "nearley-$_nearley_commit.tar.gz::https://github.com/kach/nearley/archive/$_nearley_commit.tar.gz")
-sha512sums=('bf887812abc45e00f816e3801a0ef29979b371abeccf6c1dede853757c93e5e16bc9ffad31dab7f915650c7b27a1d93f171a90e55776f599061e1aa1b912f36b'
+sha512sums=('c272a6bcbab57083a8ec7b0c3cdbe49122e7fab93b07480663b713977637ce5373a4304f81c563235f5311b11a94af33a7eeceaea5ba8fd90e5579edbf9eb83c'
             'fe14909f8a1d1626f8a632e8d48bf83602923f468b7bbb819557b85ab5e384cb042241ba15525e9850f2bbd65cad12497ed0b7ff6bc86c04d78b63d0c1bb66b4')
 
-prepare() {
-  mv lark-{$_tag,$pkgver}
-
+prepare() { 
   rmdir lark-$pkgver/tests/test_nearley/nearley
   ln -s "$srcdir"/nearley-$_nearley_commit lark-$pkgver/tests/test_nearley/nearley
 }



More information about the arch-commits mailing list