python3-lark-parser: initial commit, version 0.11.3

This commit is contained in:
Tim Biermann 2021-06-14 19:51:51 +00:00
parent e670a0df14
commit 475f30fe24
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 165 additions and 0 deletions

View File

@ -0,0 +1,136 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python3.9/
drwxr-xr-x root/root usr/lib/python3.9/site-packages/
drwxr-xr-x root/root usr/lib/python3.9/site-packages/lark-stubs/
-rw-rw-r-- root/root usr/lib/python3.9/site-packages/lark-stubs/__init__.pyi
-rw-rw-r-- root/root usr/lib/python3.9/site-packages/lark-stubs/ast_utils.pyi
-rw-rw-r-- root/root usr/lib/python3.9/site-packages/lark-stubs/exceptions.pyi
-rw-rw-r-- root/root usr/lib/python3.9/site-packages/lark-stubs/grammar.pyi
-rw-rw-r-- root/root usr/lib/python3.9/site-packages/lark-stubs/indenter.pyi
-rw-rw-r-- root/root usr/lib/python3.9/site-packages/lark-stubs/lark.pyi
-rw-rw-r-- root/root usr/lib/python3.9/site-packages/lark-stubs/lexer.pyi
-rw-rw-r-- root/root usr/lib/python3.9/site-packages/lark-stubs/load_grammar.pyi
-rw-rw-r-- root/root usr/lib/python3.9/site-packages/lark-stubs/reconstruct.pyi
-rw-rw-r-- root/root usr/lib/python3.9/site-packages/lark-stubs/tree.pyi
-rw-rw-r-- root/root usr/lib/python3.9/site-packages/lark-stubs/visitors.pyi
drwxr-xr-x root/root usr/lib/python3.9/site-packages/lark/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__init__.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/lark/__pycache__/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/__init__.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/ast_utils.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/ast_utils.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/common.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/common.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/exceptions.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/exceptions.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/grammar.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/grammar.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/indenter.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/indenter.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/lark.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/lark.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/lexer.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/lexer.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/load_grammar.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/load_grammar.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/parse_tree_builder.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/parse_tree_builder.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/parser_frontends.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/parser_frontends.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/reconstruct.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/reconstruct.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/tree.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/tree.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/tree_matcher.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/tree_matcher.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/utils.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/utils.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/visitors.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pycache__/visitors.cpython-39.pyc
drwxr-xr-x root/root usr/lib/python3.9/site-packages/lark/__pyinstaller/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pyinstaller/__init__.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/lark/__pyinstaller/__pycache__/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pyinstaller/__pycache__/__init__.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pyinstaller/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pyinstaller/__pycache__/hook-lark.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pyinstaller/__pycache__/hook-lark.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/__pyinstaller/hook-lark.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/ast_utils.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/common.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/exceptions.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/grammar.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/lark/grammars/
-rw-rw-r-- root/root usr/lib/python3.9/site-packages/lark/grammars/common.lark
-rw-rw-r-- root/root usr/lib/python3.9/site-packages/lark/grammars/lark.lark
-rw-rw-r-- root/root usr/lib/python3.9/site-packages/lark/grammars/python.lark
-rw-rw-r-- root/root usr/lib/python3.9/site-packages/lark/grammars/unicode.lark
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/indenter.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/lark.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/lexer.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/load_grammar.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parse_tree_builder.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parser_frontends.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/lark/parsers/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__init__.py (EMPTY)
drwxr-xr-x root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/__init__.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/cyk.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/cyk.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/earley.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/earley.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/earley_common.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/earley_common.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/earley_forest.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/earley_forest.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/grammar_analysis.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/grammar_analysis.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/lalr_analysis.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/lalr_analysis.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/lalr_interactive_parser.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/lalr_interactive_parser.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/lalr_parser.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/lalr_parser.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/lalr_puppet.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/lalr_puppet.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/xearley.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/__pycache__/xearley.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/cyk.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/earley.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/earley_common.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/earley_forest.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/grammar_analysis.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/lalr_analysis.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/lalr_interactive_parser.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/lalr_parser.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/lalr_puppet.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/parsers/xearley.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/reconstruct.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/lark/tools/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/tools/__init__.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/lark/tools/__pycache__/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/tools/__pycache__/__init__.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/tools/__pycache__/__init__.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/tools/__pycache__/nearley.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/tools/__pycache__/nearley.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/tools/__pycache__/serialize.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/tools/__pycache__/serialize.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/tools/__pycache__/standalone.cpython-39.opt-1.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/tools/__pycache__/standalone.cpython-39.pyc
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/tools/nearley.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/tools/serialize.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/tools/standalone.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/tree.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/tree_matcher.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/utils.py
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark/visitors.py
drwxr-xr-x root/root usr/lib/python3.9/site-packages/lark_parser-0.11.3-py3.9.egg-info/
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark_parser-0.11.3-py3.9.egg-info/PKG-INFO
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark_parser-0.11.3-py3.9.egg-info/SOURCES.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark_parser-0.11.3-py3.9.egg-info/dependency_links.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark_parser-0.11.3-py3.9.egg-info/entry_points.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark_parser-0.11.3-py3.9.egg-info/not-zip-safe
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark_parser-0.11.3-py3.9.egg-info/requires.txt
-rw-r--r-- root/root usr/lib/python3.9/site-packages/lark_parser-0.11.3-py3.9.egg-info/top_level.txt

View File

@ -0,0 +1,4 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3zLUIPxu6ejDi2+NI+CQu/kwDGJSyFcE0p61ghuFDcQ0TDOPsuhMy5BNpI3MtupgrldEKCplcL6+fKAe5MzozQM=
SHA256 (Pkgfile) = be08772c0ded2dd53287935ba292f6e4cc174eefd66f8bf96a508bc959e25ab5
SHA256 (.footprint) = da600bdff5ecf03076851fa263c5fc21885b9020ec6f62bd2e094432235ec713

View File

@ -0,0 +1,25 @@
# Description: A modern parsing library
# URL: https://github.com/lark-parser/lark
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-setuptools
name=python3-lark-parser
version=0.11.3
release=1
_nearley_commit=a46b37471db486db0f6e1ce6a2934fb238346b44
source=(https://github.com/lark-parser/lark/archive/$version/$name-$version.tar.gz
https://github.com/kach/nearley/archive/$_nearley_commit/nearley-$_nearley_commit.tar.gz)
build() {
ls
rmdir lark-$version/tests/test_nearley/nearley
ln -s nearely-$_nearley_commit lark-$version/tests/test_nearley/nearley
cd lark-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --prefix=/usr \
--root=$PKG \
--skip-build \
-O1
}