forked from pool/python-spark_parser
Accepting request 1223447 from devel:languages:python
- 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. OBS-URL: https://build.opensuse.org/request/show/1223447 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-spark_parser?expand=0&rev=8
This commit is contained in:
@@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 11 21:08:13 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <jayvdb@gmail.com>
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a7bb97b97953fb8bf0cd8158d820b6467ef1e7f747738e82248ae4c824f1e25a
|
||||
size 118345
|
3
spark_parser-1.9.0.tar.gz
Normal file
3
spark_parser-1.9.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dc66d48c4265c4133db41a9c5fe9c1c502b3b20167df158a0f234cd31712cf64
|
||||
size 80108
|
Reference in New Issue
Block a user