Accepting request 336885 from home:frispete:python
- 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 OBS-URL: https://build.opensuse.org/request/show/336885 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ply?expand=0&rev=26
This commit is contained in:
parent
5ddb8cb6ee
commit
2fabc4f1a3
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:61367b9eb2f4b819f69ea116750305270f1df8859992c9e356d6a851f25a4b47
|
||||
size 281690
|
3
ply-3.8.tar.gz
Normal file
3
ply-3.8.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e7d1bdff026beb159c9942f7a17e102c375638d9478a7ecd4cc0c76afd8de0b8
|
||||
size 157286
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user