automatic version update by autodist [release 4.0.0-1mamba;Sun Sep 03 2023]

This commit is contained in:
Automatic Build System 2024-01-06 10:44:28 +01:00
parent a04ce4e7f7
commit 13b85f446a

View File

@ -1,6 +1,6 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _) %define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-anyio Name: python-anyio
Version: 3.6.2 Version: 4.0.0
Release: 1mamba Release: 1mamba
Summary: High level compatibility layer for multiple asynchronous event loop implementations Summary: High level compatibility layer for multiple asynchronous event loop implementations
Group: System/Libraries Group: System/Libraries
@ -12,9 +12,9 @@ Source: https://pypi.debian.net/anyio/anyio-%{version}.tar.gz
License: MIT License: MIT
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel BuildRequires: libpython3-devel
BuildRequires: python3.7dist(exceptiongroup)
BuildRequires: python3.7dist(idna) BuildRequires: python3.7dist(idna)
BuildRequires: python3.7dist(sniffio) BuildRequires: python3.7dist(sniffio)
BuildRequires: python3.7dist(typing-extensions)
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
%description %description
@ -24,30 +24,36 @@ BuildRequires: python3.7dist(typing-extensions)
%pyver_package %pyver_package
%endif %endif
%prep %prep
%setup -q -n anyio-%{version} %setup -q -n anyio-%{version}
%build %build
CFLAGS="%{optflags}" %{__python} setup.py build CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \ %{__python} -m installer --destdir=%{buildroot} dist/*.whl
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
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) %defattr(-,root,root)
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info %dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %{python_sitelib}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitelib}/%{pkgname}
%{python_sitelib}/%{pkgname}/*
%doc LICENSE %doc LICENSE
%changelog %changelog
* Sun Sep 03 2023 Automatic Build System <autodist@mambasoft.it> 4.0.0-1mamba
- automatic version update by autodist
* Thu Oct 20 2022 Automatic Build System <autodist@mambasoft.it> 3.6.2-1mamba * Thu Oct 20 2022 Automatic Build System <autodist@mambasoft.it> 3.6.2-1mamba
- automatic version update by autodist - automatic version update by autodist