diff --git a/ply-3.10.tar.gz b/ply-3.10.tar.gz deleted file mode 100644 index c6326da..0000000 --- a/ply-3.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:96e94af7dd7031d8d6dd6e2a8e0de593b511c211a86e28a9c9621c275ac8bacb -size 150926 diff --git a/ply-3.11.tar.gz b/ply-3.11.tar.gz new file mode 100644 index 0000000..bb173ed --- /dev/null +++ b/ply-3.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3 +size 159130 diff --git a/python-ply.changes b/python-ply.changes index 7a9d7cd..7571cae 100644 --- a/python-ply.changes +++ b/python-ply.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu May 31 15:39:30 UTC 2018 - toddrme2178@gmail.com + +- Update to 3.11 + * Fixed some minor bugs related to re flags and token order. + * Added a set_lexpos() method to grammar symbols. Github issue #148. + * Mostly minor bug fixes and small code cleanups. + ------------------------------------------------------------------- Mon Jul 10 18:42:12 UTC 2017 - toddrme2178@gmail.com diff --git a/python-ply.spec b/python-ply.spec index cc00246..3bf9e34 100644 --- a/python-ply.spec +++ b/python-ply.spec @@ -1,7 +1,7 @@ # # spec file for package python-ply # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ply -Version: 3.10 +Version: 3.11 Release: 0 Summary: Python Lex & Yacc License: BSD-3-Clause @@ -27,6 +27,7 @@ Url: http://www.dabeaz.com/ply/ Source: https://files.pythonhosted.org/packages/source/p/ply/ply-%{version}.tar.gz Patch0: python-ply-shebangs.patch BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -47,7 +48,6 @@ It is compatible with both Python 2 and Python 3. Summary: Python Lex & Yacc License: LGPL-2.1+ Group: Development/Languages/Python -Requires: %{name} = %{version} %description -n %{name}-doc PLY is yet another implementation of lex and yacc for Python. Some notable @@ -71,7 +71,6 @@ find example -type f -name "*.py" -exec sed -i "s|#!/usr/bin/env python||" {} \; %fdupes doc %fdupes example -%fdupes test %build %python_build @@ -81,20 +80,21 @@ find example -type f -name "*.py" -exec sed -i "s|#!/usr/bin/env python||" {} \; %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -export PYTHONPATH=%{buildroot}%{python_sitelib} pushd test -%python_exec testlex.py -%python_exec testyacc.py +%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} +$python -B testlex.py +$python -B testyacc.py +} +popd %files %{python_files} %defattr(-,root,root,-) -%doc ANNOUNCE CHANGES TODO +%doc ANNOUNCE CHANGES README.md TODO %{python_sitelib}/* %files -n %{name}-doc %defattr(-,root,root,-) %doc doc/ %doc example/ -%doc test/ %changelog