rebuilt with -py3 [release 3.11-2mamba;Fri Jan 01 2021]
This commit is contained in:
parent
fb74e691f8
commit
fc7a575966
@ -1,6 +1,6 @@
|
||||
Name: python-ply
|
||||
Version: 3.11
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: Python Lex & Yacc
|
||||
Group: System/Libraries/Python
|
||||
Vendor: openmamba
|
||||
@ -23,6 +23,10 @@ PLY is a straightforward lex/yacc implementation. Here is a list of its essentia
|
||||
* PLY is straightforward to use and provides very extensive error checking.
|
||||
* PLY doesn't try to do anything more or less than provide the basic lex/yacc functionality. In other words, it's not a large parsing framework or a component of some larger system..
|
||||
|
||||
%if 0%{?with_pyver}
|
||||
%pyver_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n ply-%{version}
|
||||
|
||||
@ -35,24 +39,24 @@ chmod -x example/yply/yply.py example/newclasscalc/calc.py example/classcalc/cal
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python} setup.py install \
|
||||
-O1 --skip-build \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{_includedir}/python \
|
||||
--install-lib=%{python_sitearch}
|
||||
--install-headers=%{python_inc} \
|
||||
--install-lib=%{python_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%dir %{python_sitearch}/ply-%{version}-py%{python_version}.egg-info
|
||||
%{python_sitearch}/ply-%{version}-py%{python_version}.egg-info/PKG-INFO
|
||||
%{python_sitearch}/ply-%{version}-py%{python_version}.egg-info/*.txt
|
||||
%dir %{python_sitearch}/ply
|
||||
%{python_sitearch}/ply/*.py
|
||||
%{python_sitearch}/ply/*.pyc
|
||||
#%doc ANNOUNCE CHANGES README TODO example
|
||||
|
||||
%changelog
|
||||
* Fri Jan 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.11-2mamba
|
||||
- rebuilt with -py3
|
||||
|
||||
* Mon Feb 26 2018 Automatic Build System <autodist@mambasoft.it> 3.11-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user