rebuilt with python 3.10 and distdeps [release 3.11-3mamba;Sat May 21 2022]

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

View File

@ -1,6 +1,7 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-ply Name: python-ply
Version: 3.11 Version: 3.11
Release: 2mamba Release: 3mamba
Summary: Python Lex & Yacc Summary: Python Lex & Yacc
Group: System/Libraries/Python Group: System/Libraries/Python
Vendor: openmamba Vendor: openmamba
@ -10,10 +11,8 @@ URL: http://www.dabeaz.com/ply/
Source: http://www.dabeaz.com/ply/ply-%{version}.tar.gz Source: http://www.dabeaz.com/ply/ply-%{version}.tar.gz
License: BSD, LGPL License: BSD, LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel BuildRequires: libpython3-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
%py_requires
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
PLY is a straightforward lex/yacc implementation. Here is a list of its essential features: PLY is a straightforward lex/yacc implementation. Here is a list of its essential features:
@ -45,15 +44,20 @@ chmod -x example/yply/yply.py example/newclasscalc/calc.py example/classcalc/cal
--install-lib=%{python_sitearch} \ --install-lib=%{python_sitearch} \
--record=%{name}.filelist --record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %{?pyappend} -f %{name}.filelist %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
%changelog %changelog
* Sat May 21 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.11-3mamba
- rebuilt with python 3.10 and distdeps
* Fri Jan 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.11-2mamba * Fri Jan 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.11-2mamba
- rebuilt with -py3 - rebuilt with -py3