commit 6d622eacda2f93f2a2348287cc3cdc7b08649ed385770afb45a28e23df429738 Author: OBS User unknown Date: Fri Mar 28 03:58:27 2008 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ply?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ply-2.3.tar.gz b/ply-2.3.tar.gz new file mode 100644 index 0000000..d962bfa --- /dev/null +++ b/ply-2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a358cf5473881c5473e19e5720e8cda8d06ae49bd5c1495fb635a7c206ad50c6 +size 115318 diff --git a/python-ply-shebangs.patch b/python-ply-shebangs.patch new file mode 100644 index 0000000..c831d20 --- /dev/null +++ b/python-ply-shebangs.patch @@ -0,0 +1,18 @@ +diff -r 446141c632ef example/yply/yply.py +--- a/example/yply/yply.py Tue Mar 18 00:37:59 2008 +0100 ++++ b/example/yply/yply.py Tue Mar 18 00:38:48 2008 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin/python ++#!/usr/bin/env python + # yply.py + # + # Author: David Beazley (dave@dabeaz.com) +diff -r 446141c632ef test/testlex.py +--- a/test/testlex.py Tue Mar 18 00:37:59 2008 +0100 ++++ b/test/testlex.py Tue Mar 18 00:38:48 2008 +0100 +@@ -1,4 +1,4 @@ +-#!/usr/local/bin ++#!/usr/bin/env python + # ---------------------------------------------------------------------- + # testlex.py + # diff --git a/python-ply.changes b/python-ply.changes new file mode 100644 index 0000000..85c326d --- /dev/null +++ b/python-ply.changes @@ -0,0 +1,19 @@ +------------------------------------------------------------------- +Tue Mar 18 00:40:23 CET 2008 - maw@suse.de + +- Import into autobuild +- Add a -doc subpackage +- Add python-ply-shebangs.patch + +------------------------------------------------------------------- +Tue Oct 23 16:52:11 CDT 2007 - maw@suse.de + +- Don't build as noarch. + +------------------------------------------------------------------- +Fri Apr 13 12:08:08 CDT 2007 - maw@suse.de + +- Initial import into the build service +- Rename ply.spec to python-ply.spec as that is what the resultant + package is called. + diff --git a/python-ply.spec b/python-ply.spec new file mode 100644 index 0000000..44bd60f --- /dev/null +++ b/python-ply.spec @@ -0,0 +1,101 @@ +# +# spec file for package python-ply (Version 2.3) +# +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +BuildRequires: python-devel +Summary: Lex and Yacc-like tools written in Python + +Name: python-ply +Version: 2.3 +Release: 2 +License: LGPL v2.1 or later +Group: Development/Languages/Python +Source0: http://www.dabeaz.com/ply/ply-%{version}.tar.gz +Patch0: python-ply-shebangs.patch +Url: http://www.dabeaz.com/ply +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: python + +%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. + + + +Authors: +-------- + David M. Beazley (dave@dabeaz.com) + +%package doc +Group: Development/Languages/Python +Summary: Lex and Yacc-like tools written in Python +Requires: %{name} = %{version} + +%description doc +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. + + + +Authors: +-------- + David M. Beazley (dave@dabeaz.com) + +%prep +%setup -n ply-%{version} +%patch0 -p1 + +%install +python setup.py install --prefix /usr --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f INSTALLED_FILES +%defattr(-,root,root) +# setup.py is kind of dumb, so: +%dir %{py_sitedir}/ply + +%files doc +%defattr(-, root, root) +%doc CHANGES COPYING README TODO doc example test + +%changelog +* Tue Mar 18 2008 maw@suse.de +- Import into autobuild +- Add a -doc subpackage +- Add python-ply-shebangs.patch +* Wed Oct 24 2007 maw@suse.de +- Don't build as noarch. +* Fri Apr 13 2007 maw@suse.de +- Initial import into the build service +- Rename ply.spec to python-ply.spec as that is what the resultant + package is called. diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4