Summary: Python Lex-Yacc Name: python2.4-ply Version: 2.3 Release: %mkrel 1 License: LGPL Group: Development/Python Source0: http://www.dabeaz.com/ply/ply-%{version}.tar.bz2 URL: http://www.dabeaz.com/ply/ BuildRoot: %{_tmppath}/%{name}-buildroot Requires: python2.4 BuildRequires: python2.4-devel BuildArch: noarch %description PLY is yet another implementation of lex and yacc for Python. Although several other parsing tools are available for Python, there are several reasons why you might want to take a look at PLY: - 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 extremely easy to use and provides very extensive error checking. %prep rm -rf $RPM_BUILD_ROOT %setup -n ply-%{version} %install python2.4 setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root,0755) %doc CHANGES COPYING README TODO doc example test %changelog * Wed Feb 12 2008 Julien Gormotte 2.3-2mdv2008.0 - rebuild for python 2.4 * Fri Feb 23 2007 Gaëtan Lehmann 2.3-1mdv2007.0 + Revision: 124895 - 2.3 * Thu Nov 30 2006 Gaëtan Lehmann 2.2-1mdv2007.1 + Revision: 88998 - sync sources - 2.2 drop patch 1 - 1.8 - Import python-ply * Thu May 25 2006 Gaetan Lehmann 1.7-1mdv2007.0 - New release 1.7 - update url * Tue Apr 25 2006 Nicolas Lécureuil 1.5-3mdk - Add BuildRequires - use mkrel * Sun Dec 05 2004 Michael Scherer 1.5-2mdk - Rebuild for new python * Tue Aug 31 2004 Lenny Cartier 1.5-1mdk - from Gaetan Lehmann : - Create package from scratch for mandrake system