From 17903f61419ed5a6a6bcb093ad8e86af2b6dcacf Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 10:46:05 +0100 Subject: [PATCH] automatic version update by autodist [release 2.15.6-1mamba;Sun Jul 09 2023] --- python-astroid.spec | 67 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 51 insertions(+), 16 deletions(-) diff --git a/python-astroid.spec b/python-astroid.spec index 2636d84..6387722 100644 --- a/python-astroid.spec +++ b/python-astroid.spec @@ -1,6 +1,7 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-astroid -Version: 2.11.6 -Release: 2mamba +Version: 2.15.6 +Release: 1mamba Summary: A common base representation of python source code Group: System/Libraries Vendor: openmamba @@ -12,7 +13,6 @@ License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: libpython3-devel BuildRequires: python3.7dist(lazy-object-proxy) -BuildRequires: python3.7dist(setuptools) BuildRequires: python3.7dist(typed-ast) BuildRequires: python3.7dist(typing-extensions) BuildRequires: python3.7dist(wrapt) @@ -29,28 +29,63 @@ BuildRequires: python3.7dist(wrapt) %setup -q -n astroid-%{version} %build -CFLAGS="%{optflags}" %{__python} setup.py build +CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python} setup.py install \ - -O1 --skip-build \ - --root="%{buildroot}" \ - --install-headers=%{python_inc} \ - --install-lib=%{python_sitearch} \ - --record=%{name}.filelist +%{__python} -m installer --destdir=%{buildroot} dist/*.whl -sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +#%if "%{?with_pyver}" != "3" +## Rename any conflicting file outside of python site packages tree +#for f in %{_bindir}/pdm; do +# mv %{buildroot}${f}{,-%{?pyappend}} +#done +#%endif -%files %{?pyappend} -f %{name}.filelist +%files %{?pyappend} %defattr(-,root,root) -%dir %{python_sitearch}/astroid-%{version}-py*.egg-info -%{python_sitearch}/astroid-%{version}-py*.egg-info/* +%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info +%{python_sitelib}/%{pkgname}-%{version}.dist-info/* +%dir %{python_sitelib}/%{pkgname} +%{python_sitelib}/%{pkgname}/* %doc LICENSE %changelog -* Fri Apr 07 2023 Sdk Build System 2.11.6-2mamba -- rebuilt with python 3.10 +* Sun Jul 09 2023 Automatic Build System 2.15.6-1mamba +- automatic version update by autodist + +* Mon May 15 2023 Automatic Build System 2.15.5-1mamba +- automatic version update by autodist + +* Tue Apr 25 2023 Automatic Build System 2.15.4-1mamba +- automatic version update by autodist + +* Mon Apr 17 2023 Automatic Build System 2.15.3-1mamba +- automatic version update by autodist + +* Mon Apr 03 2023 Automatic Build System 2.15.2-1mamba +- automatic version update by autodist + +* Tue Mar 28 2023 Automatic Build System 2.15.1-1mamba +- automatic version update by autodist + +* Mon Mar 06 2023 Automatic Build System 2.15.0-1mamba +- automatic version update by autodist + +* Sat Jan 07 2023 Automatic Build System 2.12.14-1mamba +- automatic version update by autodist + +* Sun Nov 20 2022 Automatic Build System 2.12.13-1mamba +- automatic version update by autodist + +* Thu Oct 20 2022 Automatic Build System 2.12.12-1mamba +- automatic version update by autodist + +* Tue Oct 11 2022 Automatic Build System 2.12.11-1mamba +- automatic version update by autodist + +* Fri Oct 07 2022 Automatic Build System 2.12.10-1mamba +- automatic version update by autodist * Tue Jun 14 2022 Automatic Build System 2.11.6-1mamba - automatic version update by autodist