rpms/python-ply/devel python-ply.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Tom Callaway (spot)
fedora-extras-commits at redhat.com
Mon Mar 24 21:32:58 UTC 2008
Author: spot
Update of /cvs/extras/rpms/python-ply/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28925/devel
Modified Files:
.cvsignore sources
Added Files:
python-ply.spec
Log Message:
initial import
--- NEW FILE python-ply.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: python-ply
Summary: Python Lex-Yacc
Version: 2.3
Release: 2%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
URL: http://www.dabeaz.com/ply/
Source0: http://www.dabeaz.com/ply/ply-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
%description
PLY is a straightforward lex/yacc implementation. Here is a list of its
essential features:
* It is implemented entirely in Python.
* It uses LR-parsing which is reasonably 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 straightforward to use and provides very extensive error checking.
* PLY doesn't try to do anything more or less than provide the basic lex/yacc
functionality. In other words, it's not a large parsing framework or a
component of some larger system.
%prep
%setup -q -n ply-%{version}
sed -i 's|/usr/local/bin/python|/usr/bin/python|g' example/yply/yply.py
chmod -x example/yply/yply.py example/newclasscalc/calc.py example/classcalc/calc.py example/cleanup.sh
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README COPYING example/
%{python_sitelib}/ply/
%{python_sitelib}/ply*.egg-info
%changelog
* Mon Mar 24 2008 Tom "spot" Callaway <tcallawa at redhat.com> 0.2.3-2
- add example dir as doc
* Sat Mar 15 2008 Tom "spot" Callaway <tcallawa at redhat.com> 0.2.3-1
- Initial package for Fedora
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-ply/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 24 Mar 2008 21:27:17 -0000 1.1
+++ .cvsignore 24 Mar 2008 21:32:15 -0000 1.2
@@ -0,0 +1 @@
+ply-2.3.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-ply/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 24 Mar 2008 21:27:17 -0000 1.1
+++ sources 24 Mar 2008 21:32:15 -0000 1.2
@@ -0,0 +1 @@
+e406e5eef98661d395d901f8cc3d1219 ply-2.3.tar.gz
More information about the fedora-extras-commits
mailing list