George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages / 
python-lark-parser


Commits:
01fed50f by George Rawlinson at 2024-11-07T10:05:55+13:00
upgpkg: 1.2.2-1

* New upstream release.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-lark-parser
        pkgdesc = A modern parsing library
-       pkgver = 1.1.9
-       pkgrel = 3
+       pkgver = 1.2.2
+       pkgrel = 1
        url = https://github.com/lark-parser/lark
        arch = any
        license = MIT
@@ -20,9 +20,11 @@ pkgbase = python-lark-parser
        optdepends = python-regex: for regex support
        optdepends = python-js2py: for nearley support
        provides = python-lark
-       source = 
python-lark-parser::git+https://github.com/lark-parser/lark#commit=262ab71d497a8814f0ca42ca468b923fdb47a3c7
+       source = 
python-lark-parser::git+https://github.com/lark-parser/lark#tag=1.2.2
        source = 
github.com-Hardmath123-nearley::git+https://github.com/Hardmath123/nearley
-       b2sums = SKIP
+       sha512sums = 
f20915d7c94a774f04679949d8a302cceda0408fec1aa02c68aaed2bb4855fd1de0a2b05b48b6ceed842aa64663eb42e3ea570ae5ff05836af3fd3cc36b274e7
+       sha512sums = SKIP
+       b2sums = 
372b3b9cc27a5ab2ff493c7bc7cd32e9c01c52c32b2106ce1920351671cce36a247e2d4485876e9589d83fa5e2de3514b876a7f21336d2ca265141c274f1b25d
        b2sums = SKIP
 
 pkgname = python-lark-parser


=====================================
PKGBUILD
=====================================
@@ -2,8 +2,8 @@
 # Contributor: Felix Yan <[email protected]>
 
 pkgname=python-lark-parser
-pkgver=1.1.9
-pkgrel=3
+pkgver=1.2.2
+pkgrel=1
 pkgdesc='A modern parsing library'
 arch=('any')
 url='https://github.com/lark-parser/lark'
@@ -32,18 +32,14 @@ optdepends=(
   'python-js2py: for nearley support'
 )
 provides=('python-lark')
-_commit='262ab71d497a8814f0ca42ca468b923fdb47a3c7'
 source=(
-  "$pkgname::git+$url#commit=$_commit"
+  "$pkgname::git+$url#tag=$pkgver"
   'github.com-Hardmath123-nearley::git+https://github.com/Hardmath123/nearley'
 )
-b2sums=('SKIP' 'SKIP')
-
-pkgver() {
-  cd "$pkgname"
-
-  git describe --tags | sed 's/^v//'
-}
+sha512sums=('f20915d7c94a774f04679949d8a302cceda0408fec1aa02c68aaed2bb4855fd1de0a2b05b48b6ceed842aa64663eb42e3ea570ae5ff05836af3fd3cc36b274e7'
+            'SKIP')
+b2sums=('372b3b9cc27a5ab2ff493c7bc7cd32e9c01c52c32b2106ce1920351671cce36a247e2d4485876e9589d83fa5e2de3514b876a7f21336d2ca265141c274f1b25d'
+        'SKIP')
 
 prepare() {
   cd "$pkgname"
@@ -52,9 +48,6 @@ prepare() {
   git submodule init
   git config submodule.tests/test_nearley/nearley.url 
"$srcdir/github.com-Hardmath123-nearley"
   git -c protocol.file.allow=always submodule update
-
-  # include *.lark files
-  git cherry-pick --no-commit 656334cb8793fd4e08a12843eaced5a7bb518be3
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-lark-parser/-/commit/01fed50f9ada8dd51c1266b73908bbaea6f5ba14

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-lark-parser/-/commit/01fed50f9ada8dd51c1266b73908bbaea6f5ba14
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to