Accepting request 48094 from devel:languages:python
Copy from devel:languages:python/python-ply based on submit request 48094 from user coolo OBS-URL: https://build.opensuse.org/request/show/48094 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ply?expand=0&rev=8
This commit is contained in:
parent
1025a03b56
commit
c31f9e86a1
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2126bbf1b31a77311faf91707dc39e3362cf810ff5dd8880a4006a586ea8c9a7
|
|
||||||
size 119125
|
|
3
ply-3.3.tar.gz
Normal file
3
ply-3.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:052f3ba1838e8dfaa7d0b4f2f3957911423f0992c4c240ccfd7ec0c7dd84330b
|
||||||
|
size 138663
|
@ -1,18 +1,10 @@
|
|||||||
diff -r 446141c632ef example/yply/yply.py
|
Index: ply-3.3/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
|
--- ply-3.3.orig/example/yply/yply.py 2006-11-21 16:09:46.000000000 +0100
|
||||||
|
+++ ply-3.3/example/yply/yply.py 2010-09-14 10:43:14.157808186 +0200
|
||||||
@@ -1,4 +1,4 @@
|
@@ -1,4 +1,4 @@
|
||||||
-#!/usr/local/bin/python
|
-#!/usr/local/bin/python
|
||||||
+#!/usr/bin/env python
|
+#!/usr/bin/env python
|
||||||
# yply.py
|
# yply.py
|
||||||
#
|
#
|
||||||
# Author: David Beazley (dave@dabeaz.com)
|
# 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
|
|
||||||
#
|
|
||||||
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 14 08:36:55 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
- update to 3.3:
|
||||||
|
PLY-3.3 is a minor bug fix release, it supports
|
||||||
|
both Python 2 and Python 3.
|
||||||
|
- license changed to BSD
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Aug 9 12:43:26 CEST 2009 - coolo@novell.com
|
Sun Aug 9 12:43:26 CEST 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-ply (Version 2.5)
|
# spec file for package python-ply (Version 3.3)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -21,15 +21,18 @@ BuildRequires: python-devel
|
|||||||
Summary: Lex and Yacc-like tools written in Python
|
Summary: Lex and Yacc-like tools written in Python
|
||||||
|
|
||||||
Name: python-ply
|
Name: python-ply
|
||||||
Version: 2.5
|
Version: 3.3
|
||||||
Release: 4
|
Release: 1
|
||||||
License: LGPL v2.1 or later
|
License: BSD
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source0: http://www.dabeaz.com/ply/ply-%{version}.tar.gz
|
Source0: http://www.dabeaz.com/ply/ply-%{version}.tar.gz
|
||||||
Patch0: python-ply-shebangs.patch
|
Patch0: python-ply-shebangs.patch
|
||||||
Url: http://www.dabeaz.com/ply
|
Url: http://www.dabeaz.com/ply
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Requires: python
|
%py_requires
|
||||||
|
%if %suse_version > 1120
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
PLY is yet another implementation of lex and yacc for Python.
|
PLY is yet another implementation of lex and yacc for Python.
|
||||||
@ -45,14 +48,8 @@ PLY is yet another implementation of lex and yacc for Python.
|
|||||||
- PLY is extremely easy to use and provides very extensive error
|
- PLY is extremely easy to use and provides very extensive error
|
||||||
checking.
|
checking.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
David M. Beazley (dave@dabeaz.com)
|
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
License: LGPL v2.1 or later
|
License: LGPLv2.1+
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Summary: Lex and Yacc-like tools written in Python
|
Summary: Lex and Yacc-like tools written in Python
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
@ -71,18 +68,15 @@ PLY is yet another implementation of lex and yacc for Python.
|
|||||||
- PLY is extremely easy to use and provides very extensive error
|
- PLY is extremely easy to use and provides very extensive error
|
||||||
checking.
|
checking.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
David M. Beazley (dave@dabeaz.com)
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n ply-%{version}
|
%setup -n ply-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix /usr --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
|
python setup.py install --prefix /usr --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
|
||||||
|
chmod a-x test/*
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -94,6 +88,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc CHANGES COPYING README TODO doc example test
|
%doc CHANGES README TODO doc example test
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user