diff --git a/DEVELOPERS b/DEVELOPERS index 28d85d7370..62053c4b64 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1556,6 +1556,7 @@ F: package/alfred/ F: package/bmx7/ F: package/python-aexpect/ F: package/python-alembic/ +F: package/python-lark/ F: package/softhsm2/ F: support/testing/tests/package/sample_python_aexpect.py F: support/testing/tests/package/test_python_aexpect.py diff --git a/package/Config.in b/package/Config.in index 433b62eae3..75a756ba6f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1081,6 +1081,7 @@ menu "External python modules" source "package/python-jsonschema/Config.in" source "package/python-keyring/Config.in" source "package/python-kiwisolver/Config.in" + source "package/python-lark/Config.in" source "package/python-libconfig/Config.in" source "package/python-libusb1/Config.in" source "package/python-lmdb/Config.in" diff --git a/package/python-lark/Config.in b/package/python-lark/Config.in new file mode 100644 index 0000000000..1f45690f8d --- /dev/null +++ b/package/python-lark/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_LARK + bool "python-lark" + help + Lark is a parsing toolkit for Python, built with a focus + on ergonomics, performance and modularity. + + https://github.com/lark-parser/lark diff --git a/package/python-lark/python-lark.hash b/package/python-lark/python-lark.hash new file mode 100644 index 0000000000..3773c00f7c --- /dev/null +++ b/package/python-lark/python-lark.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/lark/json +md5 fd3ca96a8d9d67798508470032921078 lark-1.1.2.tar.gz +sha256 7a8d0c07d663da9391d7faee1bf1d7df4998c47ca43a593cbef5c7566acd057a lark-1.1.2.tar.gz +# Locally computed sha256 checksums +sha256 6e83ad8e0de51690a53eac02dd2b6188dfd7949053be56fba5b651140d27ee57 LICENSE diff --git a/package/python-lark/python-lark.mk b/package/python-lark/python-lark.mk new file mode 100644 index 0000000000..52c249552e --- /dev/null +++ b/package/python-lark/python-lark.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-lark +# +################################################################################ + +PYTHON_LARK_VERSION = 1.1.2 +PYTHON_LARK_SOURCE = lark-$(PYTHON_LARK_VERSION).tar.gz +PYTHON_LARK_SITE = https://files.pythonhosted.org/packages/a3/c5/11d0a086590b207ad1b6c9ba6e019f8290652f3d703cdb002d72e220dd99 +PYTHON_LARK_SETUP_TYPE = setuptools +PYTHON_LARK_LICENSE = MIT +PYTHON_LARK_LICENSE_FILES = LICENSE + +$(eval $(python-package))