From 4ab723ac5e29928b658d40ba82ba41a3dea1afe1 Mon Sep 17 00:00:00 2001 From: Kye Shi Date: Tue, 20 Jul 2021 21:34:40 -0700 Subject: [PATCH] New package: python3-lark-0.11.3 --- srcpkgs/python3-lark/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-lark/template diff --git a/srcpkgs/python3-lark/template b/srcpkgs/python3-lark/template new file mode 100644 index 00000000000000..57a2ff8f9f4958 --- /dev/null +++ b/srcpkgs/python3-lark/template @@ -0,0 +1,23 @@ +# Template file for 'python3-lark' +pkgname=python3-lark +version=0.11.3 +revision=1 +wrksrc="lark-$version" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Modern parsing toolkit for Python" +maintainer="Kye Shi " +license="MIT" +homepage="https://lark-parser.readthedocs.io/en/latest/" +distfiles="$PYPI_SITE/l/lark/lark-$version.tar.gz" +checksum="3100d9749b5a85735ec428b83100876a5da664804579e729c23a36341f961e7e" + +do_check() { + # https://github.com/lark-parser/lark/issues/902 + python3 -m tests +} + +post_install() { + vlicense "LICENSE" +}