diff --git a/lark-1.1.5.tar.gz b/lark-1.1.5.tar.gz deleted file mode 100644 index d3d631b..0000000 --- a/lark-1.1.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b7a10ba0e3fa335a45502e228a7df4d80bf0a320b6c9d322fe7893c70b7a2448 -size 409659 diff --git a/lark-1.1.8.tar.gz b/lark-1.1.8.tar.gz new file mode 100644 index 0000000..47fb0ea --- /dev/null +++ b/lark-1.1.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1cd78aeb722ac90bb49572b990027fdd5f3283981339d18c12ebe435b9397b0a +size 415961 diff --git a/python-lark.changes b/python-lark.changes index e1f54cc..bd56955 100644 --- a/python-lark.changes +++ b/python-lark.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Wed Dec 20 21:59:06 UTC 2023 - Dirk Müller + +- update to 1.1.8: + * Populate the `Token.end_*` fields for ignored tokens + * Include .lark files in package data + * Add an error message when using Lark.save() when + parser!='lalr' + * Add and improve docstrings + * Small update to PR #1338 + * Fix 1345 attempt two + * Earley now uses OrderedSet for better output stability + * ContextualLexer now uses self.basic_lexer for easy + extensibility (iss… + * Improved typing around LALR and ParserState + * Typing fixes. Mypy now produces 0 type errors + * Standalone: Added support for interactive parser. +- update to 1.1.7: + * Bugfix in propagate_positions (issue #1304) +- update to 1.1.6: + * Added strict-mode, enabled by `strict=True`, implemented + using interegular by @MegaIng + * Read more here: https://lark- + parser.readthedocs.io/en/latest/how_to_use.html#strict-mode + * Cache: Replace md5 hashing with sha256. + * Support for Python-style comments in Lark grammar + * Updates to python.lark + * Bugfixes and cleanup + ------------------------------------------------------------------- Tue Oct 24 10:45:58 UTC 2023 - Daniel Garcia @@ -16,7 +45,7 @@ Thu Apr 13 22:42:25 UTC 2023 - Matej Cepl ------------------------------------------------------------------- Tue Dec 13 15:41:34 UTC 2022 - Yogalakshmi Arunachalam -- Update to v1.1.5 +- Update to v1.1.5 * What's Changed setup.cfg: Replace deprecated license_file with license_files by @mgorny in #1209 Fix Github shenanigans by @erezsh in #1220 @@ -27,7 +56,7 @@ Tue Dec 13 15:41:34 UTC 2022 - Yogalakshmi Arunachalam ------------------------------------------------------------------- Fri Dec 2 18:23:05 UTC 2022 - Yogalakshmi Arunachalam -- Update to v1.1.4 +- Update to v1.1.4 ci: Python 3.11 final by @henryiii in #1204 Add __all__ to __init__ by @aspizu in #1200 PropagatePositions: Allow any object to carry the metadata, @@ -40,7 +69,7 @@ Fri Dec 2 18:23:05 UTC 2022 - Yogalakshmi Arunachalam ------------------------------------------------------------------- Fri Oct 28 17:58:49 UTC 2022 - Yogalakshmi Arunachalam -- Update to v1.1.3 +- Update to v1.1.3 Various fixes and refactors * Add user to cache filename; better handle cache load/save failures by @klauer in #1179 * refactor: add 'usedforsecurity=False' arg to hashlib.md5 usage by @cquick01 in #1190 @@ -66,7 +95,7 @@ Fri Oct 28 17:58:49 UTC 2022 - Yogalakshmi Arunachalam ------------------------------------------------------------------- Sun Oct 9 10:06:19 UTC 2022 - Ben Greiner -- Rename to python-lark +- Rename to python-lark - Update dependencies - Fix License identifier: LICENSE was changed 6 years ago @@ -145,20 +174,20 @@ Wed Apr 15 10:54:30 UTC 2020 - Marketa Calabkova - Update to 0.8.5 * Updated js2py version (for the optional nearley support) * Added the g_regex_flags option, to allow applying flags to all terminals. - * The standalone parser is now MPL2, instead of GPL. The Mozilla - Public License is much less restrictive, so this shouldn't affect - anyone who's already using the standalone parser. But it should + * The standalone parser is now MPL2, instead of GPL. The Mozilla + Public License is much less restrictive, so this shouldn't affect + anyone who's already using the standalone parser. But it should make it easier for other users to adopt it. - * The biggest change to this release is a new LALR engine, that is + * The biggest change to this release is a new LALR engine, that is capable of dealing with a few edge cases that the previous parser couldn't. - * Transformers now visit tokens, as well as rules (an alternative to + * Transformers now visit tokens, as well as rules (an alternative to lexer_callbacks) ------------------------------------------------------------------- Sun Oct 27 14:28:26 UTC 2019 - Lars Vogdt - Update to 0.7.7: - * Fixed a bug in Earley where running it from different threads + * Fixed a bug in Earley where running it from different threads produced bad results * Improved error reporting when using LALR * Added 'edit_terminals' option, to allow programmatical manipulation diff --git a/python-lark.spec b/python-lark.spec index 2b9e127..043acdd 100644 --- a/python-lark.spec +++ b/python-lark.spec @@ -16,31 +16,28 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 %{?sle15_python_module_pythons} Name: python-lark -Version: 1.1.5 +Version: 1.1.8 Release: 0 Summary: A parsing library for Python License: MIT Group: Development/Languages/Python URL: https://github.com/lark-parser/lark Source: https://github.com/lark-parser/lark/archive/%{version}.tar.gz#/lark-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest >= 6} +BuildRequires: %{python_module regex} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Suggests: python-regex Suggests: python-Js2Py Suggests: python-atomicwrites -# SECTION TEST -BuildRequires: %{python_module regex} -BuildRequires: %{python_module pytest >= 6} -# /SECTION -BuildArch: noarch +Suggests: python-regex # Upstream renamed the package with v0.12.0, SUSE had the old name until 1.1.2 Provides: python-lark-parser = %{version}-%{release} Obsoletes: python-lark-parser <= 1.1.2 +BuildArch: noarch %python_subpackages %description @@ -52,10 +49,10 @@ With Lark, one can parse any context-free grammar with little code. %setup -q -n lark-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check