aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-lark-parser/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-lark-parser/APKBUILD')
-rw-r--r--community/py3-lark-parser/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/py3-lark-parser/APKBUILD b/community/py3-lark-parser/APKBUILD
new file mode 100644
index 0000000000..a935e3c844
--- /dev/null
+++ b/community/py3-lark-parser/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Russ Webber <russ@rw.id.au>
+# Maintainer: Russ Webber <russ@rw.id.au>
+pkgname=py3-lark-parser
+pkgver=0.11.3
+pkgrel=1
+pkgdesc="modern parsing library for Python, implementing Earley & LALR(1) and an easy interface"
+url="https://github.com/lark-parser/lark"
+arch="noarch"
+license="MIT"
+options="!check" # requires python dependency js2py
+depends="python3"
+makedepends="py3-setuptools"
+source="$pkgname-$pkgver.tar.gz::https://github.com/lark-parser/lark/archive/$pkgver.tar.gz"
+builddir="$srcdir/lark-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="
+16d318493c59d305cee16501568ecd38e1a8c38ab3905ad02a74171382f57bc56d226dd697ea86b3b8a47d2262195291523eb9443ff73d9117ffccc1f44708d0 py3-lark-parser-0.11.3.tar.gz
+"