Hello community, here is the log from the commit of package python-ply for openSUSE:Factory checked in at 2012-05-29 10:35:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ply (Old) and /work/SRC/openSUSE:Factory/.python-ply.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ply", Maintainer is "jmate...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/python-ply/python-ply.changes 2012-02-20 16:17:37.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-ply.new/python-ply.changes 2012-05-29 10:35:45.000000000 +0200 @@ -1,0 +2,10 @@ +Fri May 25 10:04:56 UTC 2012 - toddrme2...@gmail.com + +- spec file cleanups + +------------------------------------------------------------------- +Fri May 25 03:24:34 UTC 2012 - highwaystar...@gmail.com + +- python3 package added + +------------------------------------------------------------------- New Changes file: --- /dev/null 2012-05-03 01:24:41.895590051 +0200 +++ /work/SRC/openSUSE:Factory/.python-ply.new/python3-ply.changes 2012-05-29 10:35:45.000000000 +0200 @@ -0,0 +1,11 @@ +------------------------------------------------------------------- +Fri May 25 10:04:47 UTC 2012 - toddrme2...@gmail.com + +- Fix building on openSUSE 11.4 +- spec file cleanups + +------------------------------------------------------------------- +Fri May 25 03:24:59 UTC 2012 - highwaystar...@gmail.com + +- python3 package added + New: ---- python3-ply.changes python3-ply.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ply.spec ++++++ --- /var/tmp/diff_new_pack.oBGumh/_old 2012-05-29 10:35:47.000000000 +0200 +++ /var/tmp/diff_new_pack.oBGumh/_new 2012-05-29 10:35:47.000000000 +0200 @@ -15,24 +15,19 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - -%define mod_name ply - -Name: python-%{mod_name} +%define modname ply +Name: python-%{modname} Version: 3.4 Release: 0 Url: http://www.dabeaz.com/ply/ Summary: Python Lex & Yacc License: BSD-3-Clause Group: Development/Languages/Python -Source: %{mod_name}-%{version}.tar.gz +Source: http://www.dabeaz.com/%{modname}/%{modname}-%{version}.tar.gz Patch0: python-ply-shebangs.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel -%if 0%{?suse_version} +%if 0%{?suse_version} <= 1110 %py_requires %endif %if 0%{?suse_version} > 1110 || 0%{?fedora} > 12 || 0%{?mdkversion} @@ -68,7 +63,7 @@ It is compatible with both Python 2 and Python 3. %prep -%setup -q -n %{mod_name}-%{version} +%setup -q -n %{modname}-%{version} %patch0 -p1 %build @@ -85,7 +80,7 @@ %files %defattr(-,root,root,-) %doc ANNOUNCE CHANGES README TODO -%python_sitelib/%{mod_name}* +%python_sitelib/%{modname}* %files doc %defattr(-,root,root,-) ++++++ python3-ply.spec ++++++ # # spec file for package python3-ply # # Copyright (c) 2012 SUSE LINUX Products 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 http://bugs.opensuse.org/ # %define modname ply Name: python3-%{modname} 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/%{modname}/%{modname}-%{version}.tar.gz Patch0: python-ply-shebangs.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3-2to3 BuildRequires: python3-devel %if 0%{?suse_version} <= 1140 %{!?python3_sitelib: %global python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} %{!?py3_ver: %global py3_ver %(python3 -c "import sys; version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)} %else BuildRequires: python3-base %endif Requires: python(abi) = %{py3_ver} BuildArch: noarch %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+ 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 %{modname}-%{version} %patch0 -p1 %build export CFLAGS="%{optflags}" python3 setup.py build %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} chmod a-x test/* %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc ANNOUNCE CHANGES README TODO %{python3_sitelib}/%{modname}/ %{python3_sitelib}/%{modname}-%{version}-py%{py3_ver}.egg-info %if 0%{?suse_version} <= 1140 %dir %{_prefix}/lib/python%{py3_ver} %dir %{python3_sitelib} %endif %files doc %defattr(-,root,root,-) %doc doc example test %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org