Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
python-ply.12408
python-ply.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-ply.spec of Package python-ply.12408
# # spec file for package python-ply # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ply Version: 3.4 Release: 0 Url: http://www.dabeaz.com/ply/ Summary: Python Lex & Yacc License: BSD-3-Clause Group: Development/Languages/Python Source: http://www.dabeaz.com/ply/ply-%{version}.tar.gz Patch0: python-ply-shebangs.patch BuildRequires: %{python_module devel} BuildRequires: fdupes BuildRequires: python-rpm-macros %if 0%{?suse_version} > 1110 || 0%{?fedora} > 12 || 0%{?mdkversion} BuildArch: noarch %endif %python_subpackages %description PLY is yet another implementation of lex and yacc for Python. Some notable features include the fact that its implemented entirely in Python and it uses LALR(1) parsing which is efficient and well suited for larger grammars. PLY provides most of the standard lex/yacc features including support for empty productions, precedence rules, error recovery, and support for ambiguous grammars. PLY is extremely easy to use and provides very extensive error checking. It is compatible with both Python 2 and Python 3. %package doc Summary: Python Lex & Yacc License: LGPL-2.1-or-later Group: Development/Languages/Python Requires: %{name} = %{version} %description doc PLY is yet another implementation of lex and yacc for Python. Some notable features include the fact that its implemented entirely in Python and it uses LALR(1) parsing which is efficient and well suited for larger grammars. PLY provides most of the standard lex/yacc features including support for empty productions, precedence rules, error recovery, and support for ambiguous grammars. PLY is extremely easy to use and provides very extensive error checking. It is compatible with both Python 2 and Python 3. %prep %setup -q -n ply-%{version} %patch0 -p1 %build export CFLAGS="%{optflags}" %python_build %install %python_install chmod a-x test/* %fdupes %{buildroot}/%{_prefix} %clean rm -rf %{buildroot} %files %{python_files} %defattr(-,root,root,-) %doc ANNOUNCE CHANGES README TODO %python_sitelib/* %files %{python_files doc} %defattr(-,root,root,-) %doc doc example test %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor