diff --git a/python-spark_parser.changes b/python-spark_parser.changes index fa02a05..527fee3 100644 --- a/python-spark_parser.changes +++ b/python-spark_parser.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Mon Nov 11 21:08:13 UTC 2024 - Dirk Müller + +- update to 1.9.0: + * Revamp for a more modern Python style in the 3.12 era: + + start adding type annotations to code. + + use pyproject.toml + + remove illegal escape sequences + * `BuildTree` now builds trees iteratively rather than + recursively. With this we can handle larger trees which are + needed in the decompilers. + * Revise `README.rst` for the above and go over spelling and + grammar + * Internally, more git branches have been created to support + older Python. + ------------------------------------------------------------------- Sun Aug 16 22:50:53 UTC 2020 - John Vandenberg diff --git a/python-spark_parser.spec b/python-spark_parser.spec index 829d26c..ce07864 100644 --- a/python-spark_parser.spec +++ b/python-spark_parser.spec @@ -1,7 +1,7 @@ # # spec file for package python-spark_parser # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-spark_parser -Version: 1.8.9 +Version: 1.9.0 Release: 0 Summary: An Earley-Algorithm Context-free grammar Parser Toolkit License: MIT @@ -26,8 +26,10 @@ Group: Development/Languages/Python URL: https://github.com/rocky/python-spark/ Source: https://files.pythonhosted.org/packages/source/s/spark_parser/spark_parser-%{version}.tar.gz BuildRequires: %{python_module click} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-click @@ -49,10 +51,10 @@ grammar. These are grammars which are left-recursive. %setup -q -n spark_parser-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/spark-parser-coverage %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -69,6 +71,7 @@ grammar. These are grammars which are left-recursive. %license LICENSE %doc ChangeLog README.rst %python_alternative %{_bindir}/spark-parser-coverage -%{python_sitelib}/* +%{python_sitelib}/spark_parser +%{python_sitelib}/spark_parser-%{version}.dist-info %changelog diff --git a/spark_parser-1.8.9.tar.gz b/spark_parser-1.8.9.tar.gz deleted file mode 100644 index 2b2bf0d..0000000 --- a/spark_parser-1.8.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a7bb97b97953fb8bf0cd8158d820b6467ef1e7f747738e82248ae4c824f1e25a -size 118345 diff --git a/spark_parser-1.9.0.tar.gz b/spark_parser-1.9.0.tar.gz new file mode 100644 index 0000000..b38992c --- /dev/null +++ b/spark_parser-1.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc66d48c4265c4133db41a9c5fe9c1c502b3b20167df158a0f234cd31712cf64 +size 80108