rebuilt with -py3 [release 3.11-2mamba;Fri Jan 01 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 16:19:40 +01:00
parent fb74e691f8
commit fc7a575966

View File

@ -1,6 +1,6 @@
Name: python-ply Name: python-ply
Version: 3.11 Version: 3.11
Release: 1mamba Release: 2mamba
Summary: Python Lex & Yacc Summary: Python Lex & Yacc
Group: System/Libraries/Python Group: System/Libraries/Python
Vendor: openmamba 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 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.. * 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 %prep
%setup -q -n ply-%{version} %setup -q -n ply-%{version}
@ -35,24 +39,24 @@ chmod -x example/yply/yply.py example/newclasscalc/calc.py example/classcalc/cal
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \ %{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \ --root="%{buildroot}" \
--install-headers=%{_includedir}/python \ --install-headers=%{python_inc} \
--install-lib=%{python_sitearch} --install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %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 %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 * Mon Feb 26 2018 Automatic Build System <autodist@mambasoft.it> 3.11-1mamba
- automatic version update by autodist - automatic version update by autodist