14
0

Accepting request 533147 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/533147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-spark_parser?expand=0&rev=2
This commit is contained in:
2017-10-13 12:16:30 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 11 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 11 15:32:25 UTC 2017 - jengelh@inai.de
- Trim history from package description.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 7 22:42:35 UTC 2017 - toddrme2178@gmail.com Thu Sep 7 22:42:35 UTC 2017 - toddrme2178@gmail.com

View File

@@ -13,6 +13,7 @@
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -20,15 +21,15 @@
Name: python-spark_parser Name: python-spark_parser
Version: 1.6.1 Version: 1.6.1
Release: 0 Release: 0
License: MIT
Summary: An Earley-Algorithm Context-free grammar Parser Toolkit Summary: An Earley-Algorithm Context-free grammar Parser Toolkit
Url: https://github.com/rocky/python-spark/ License: MIT
Group: Development/Languages/Python 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 Source: https://files.pythonhosted.org/packages/source/s/spark_parser/spark_parser-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with test} %if %{with test}
BuildRequires: %{python_module click} BuildRequires: %{python_module click}
BuildRequires: %{python_module nose >= 1.0} BuildRequires: %{python_module nose >= 1.0}
@@ -40,16 +41,10 @@ BuildArch: noarch
%description %description
SPARK stands for Scanning, Parsing, and Rewriting Kit. It uses Jay SPARK stands for Scanning, Parsing, and Rewriting Kit. It uses Jay
Earley's algorithm for parsing context free grammars, and comes with Earley's algorithm for parsing context-free grammars, and comes with
some generic Abstract Syntax Tree routines. There is also a prototype some generic Abstract Syntax Tree routines. There is also a prototype
scanner which does its job by combining Python regular expressions. scanner which does its job by combining Python regular expressions.
The original version of this was written by John Aycock for his Ph.d
thesis and was described in his 1998 paper: "Compiling Little
Languages in Python" at the 7th International Python Conference. The
current incarnation of this code is maintained (or not) by Rocky
Bernstein.
Please Note: Earley algorithm parsers are almost linear when given an LR Please Note: Earley algorithm parsers are almost linear when given an LR
grammar. These are grammars which are left-recursive. grammar. These are grammars which are left-recursive.