diff --git a/ply-3.6.tar.gz b/ply-3.6.tar.gz deleted file mode 100644 index a15f1b9..0000000 --- a/ply-3.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:61367b9eb2f4b819f69ea116750305270f1df8859992c9e356d6a851f25a4b47 -size 281690 diff --git a/ply-3.8.tar.gz b/ply-3.8.tar.gz new file mode 100644 index 0000000..0c3d76c --- /dev/null +++ b/ply-3.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7d1bdff026beb159c9942f7a17e102c375638d9478a7ecd4cc0c76afd8de0b8 +size 157286 diff --git a/python-ply.changes b/python-ply.changes index 9e15db8..3e0c46e 100644 --- a/python-ply.changes +++ b/python-ply.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Oct 7 06:24:38 UTC 2015 - hpj@urpla.net + +- update to version 3.8: + * Fixed issues related to Python 3.5. Patch contributed by Barry Warsaw. + +- update to version 3.7 + * Fixed problems when reading table files from pickled data. + * Fixed regression in handling of table modules if specified as module + objects. See https://github.com/dabeaz/ply/issues/63 + +- clean up spec +- add testing rig + ------------------------------------------------------------------- Mon May 11 12:39:33 UTC 2015 - benoit.monin@gmx.fr diff --git a/python-ply.spec b/python-ply.spec index a191294..a06801e 100644 --- a/python-ply.spec +++ b/python-ply.spec @@ -18,7 +18,7 @@ %define modname ply Name: python-%{modname} -Version: 3.6 +Version: 3.8 Release: 0 Url: http://www.dabeaz.com/ply/ Summary: Python Lex & Yacc @@ -67,10 +67,6 @@ It is compatible with both Python 2 and Python 3. %prep %setup -q -n %{modname}-%{version} %patch0 -p1 -# clean the test and example directories -find test example -name "*~" -o -name "*.pyc" -o -name "__pycache__" | xargs rm -rf -# remove stray backup files -rm doc/ply.html~ doc/ply.html.bak # remove unneeded executable bit chmod -x test/testlex.py @@ -80,6 +76,12 @@ python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%check +export PYTHONPATH=%{buildroot}%{python_sitelib} +pushd test +python testlex.py +python testyacc.py + %files %defattr(-,root,root,-) %doc ANNOUNCE CHANGES TODO