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

Felix Yan felixonmars at archlinux.org
Thu Aug 15 01:54:21 UTC 2019


    Date: Thursday, August 15, 2019 @ 01:54:20
  Author: felixonmars
Revision: 499253

archrelease: copy trunk to community-any

Added:
  python-lark-parser/repos/community-any/PKGBUILD
    (from rev 499252, python-lark-parser/trunk/PKGBUILD)
Deleted:
  python-lark-parser/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-15 01:54:09 UTC (rev 499252)
+++ PKGBUILD	2019-08-15 01:54:20 UTC (rev 499253)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-lark-parser
-pkgname=(python-lark-parser python2-lark-parser)
-pkgver=0.7.2
-_nearley_commit=a46b37471db486db0f6e1ce6a2934fb238346b44
-pkgrel=1
-pkgdesc="A modern parsing library"
-url="https://github.com/lark-parser/lark"
-license=('MIT')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-js2py' 'python2-js2py')
-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=('4b8cda9e97f9d3774dbe81d0e27c3020fa3ab214ca88a0fde268a4ebc1802506f3cbffcf7585299aaaeec8be3bf5fd3a23b40ef19f1cd367b71457df282fd29f'
-            'fe14909f8a1d1626f8a632e8d48bf83602923f468b7bbb819557b85ab5e384cb042241ba15525e9850f2bbd65cad12497ed0b7ff6bc86c04d78b63d0c1bb66b4')
-
-prepare() { 
-  rmdir lark-$pkgver/tests/test_nearley/nearley
-  ln -s "$srcdir"/nearley-$_nearley_commit lark-$pkgver/tests/test_nearley/nearley
-}
-
-build() {
-  cd lark-$pkgver
-  python setup.py build
-  python2 setup.py build
-}
-
-check() {
-  cd lark-$pkgver
-  python -m tests
-  python2 -m tests
-}
-
-package_python-lark-parser() {
-  depends=('python')
-
-  cd lark-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-lark-parser() {
-  depends=('python2')
-
-  cd lark-$pkgver
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-lark-parser/repos/community-any/PKGBUILD (from rev 499252, python-lark-parser/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-15 01:54:20 UTC (rev 499253)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-lark-parser
+pkgname=(python-lark-parser python2-lark-parser)
+pkgver=0.7.3
+_nearley_commit=a46b37471db486db0f6e1ce6a2934fb238346b44
+pkgrel=1
+pkgdesc="A modern parsing library"
+url="https://github.com/lark-parser/lark"
+license=('MIT')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-js2py' 'python2-js2py')
+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=('0dab89f728653afa869b651685d6375b8a8f6c3741eb3fa47ef47e18302ba34b784ae1e5647b4b50c6dec740ed62b9b5e064dc6ebe8fc16df2aab0f0454fe266'
+            'fe14909f8a1d1626f8a632e8d48bf83602923f468b7bbb819557b85ab5e384cb042241ba15525e9850f2bbd65cad12497ed0b7ff6bc86c04d78b63d0c1bb66b4')
+
+prepare() { 
+  rmdir lark-$pkgver/tests/test_nearley/nearley
+  ln -s "$srcdir"/nearley-$_nearley_commit lark-$pkgver/tests/test_nearley/nearley
+}
+
+build() {
+  cd lark-$pkgver
+  python setup.py build
+  python2 setup.py build
+}
+
+check() {
+  cd lark-$pkgver
+  python -m tests
+  python2 -m tests
+}
+
+package_python-lark-parser() {
+  depends=('python')
+
+  cd lark-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-lark-parser() {
+  depends=('python2')
+
+  cd lark-$pkgver
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list