python-aiohttp/python-aiohttp.spec

136 lines
4.7 KiB
RPMSpec

%define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-aiohttp
Version: 3.10.6
Release: 1mamba
Summary: Async http client/server framework
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.org/project/aiohttp/
Source: https://pypi.debian.net/aiohttp/aiohttp-%{version}.tar.gz
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpython311-devel
BuildRequires: python3.11dist(aiohappyeyeballs)
BuildRequires: python3.11dist(aiosignal)
BuildRequires: python3.11dist(attrs)
BuildRequires: python3.11dist(frozenlist)
BuildRequires: python3.11dist(multidict)
BuildRequires: python3.11dist(yarl)
## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n aiohttp-%{version}
%build
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
#%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}
%defattr(-,root,root)
%dir %{python_sitearch}/%{pkgname}-%{version}.dist-info
%{python_sitearch}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitearch}/%{pkgname}
%{python_sitearch}/%{pkgname}/*
%dir %{python_sitearch}/%{pkgname}/.hash
%{python_sitearch}/%{pkgname}/.hash/*
%changelog
* Wed Sep 25 2024 Automatic Build System <autodist@openmamba.org> 3.10.6-1mamba
- automatic version update by autodist
* Thu Sep 05 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.5-2mamba
- rebuilt with python-build and distdeps
* Tue Aug 20 2024 Automatic Build System <autodist@openmamba.org> 3.10.5-1mamba
- automatic version update by autodist
* Sun Aug 18 2024 Automatic Build System <autodist@openmamba.org> 3.10.4-1mamba
- automatic version update by autodist
* Sun Aug 11 2024 Automatic Build System <autodist@openmamba.org> 3.10.3-1mamba
- automatic version update by autodist
* Fri Aug 09 2024 Automatic Build System <autodist@openmamba.org> 3.10.2-1mamba
- automatic version update by autodist
* Mon Aug 05 2024 Automatic Build System <autodist@openmamba.org> 3.10.1-1mamba
- automatic version update by autodist
* Wed Jul 31 2024 Automatic Build System <autodist@openmamba.org> 3.10.0-1mamba
- automatic version update by autodist
* Wed Apr 17 2024 Automatic Build System <autodist@openmamba.org> 3.9.5-1mamba
- automatic version update by autodist
* Sat Apr 13 2024 Automatic Build System <autodist@openmamba.org> 3.9.4-1mamba
- automatic version update by autodist
* Tue Jan 30 2024 Automatic Build System <autodist@openmamba.org> 3.9.3-1mamba
- automatic version update by autodist
* Mon Jan 29 2024 Automatic Build System <autodist@openmamba.org> 3.9.2-1mamba
- automatic version update by autodist
* Mon Nov 27 2023 Automatic Build System <autodist@mambasoft.it> 3.9.1-1mamba
- automatic version update by autodist
* Sat Nov 18 2023 Automatic Build System <autodist@mambasoft.it> 3.9.0-1mamba
- automatic version update by autodist
* Sun Oct 08 2023 Automatic Build System <autodist@mambasoft.it> 3.8.6-1mamba
- automatic version update by autodist
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 3.8.5-2mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
* Thu Jul 20 2023 Automatic Build System <autodist@mambasoft.it> 3.8.5-1mamba
- automatic version update by autodist
* Mon Feb 13 2023 Automatic Build System <autodist@mambasoft.it> 3.8.4-1mamba
- automatic version update by autodist
* Thu Sep 22 2022 Automatic Build System <autodist@mambasoft.it> 3.8.3-1mamba
- automatic version update by autodist
* Thu Sep 22 2022 Automatic Build System <autodist@mambasoft.it> 3.8.2-1mamba
- automatic version update by autodist
* Mon Nov 15 2021 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
- automatic version update by autodist
* Mon Nov 01 2021 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
- automatic version update by autodist
* Sun Mar 07 2021 Automatic Build System <autodist@mambasoft.it> 3.7.4.post0-1mamba
- automatic version update by autodist
* Fri Feb 26 2021 Automatic Build System <autodist@mambasoft.it> 3.7.4-1mamba
- automatic version update by autodist
* Wed Dec 02 2020 Automatic Build System <autodist@mambasoft.it> 3.7.3-1mamba
- automatic version update by autodist
* Wed Sep 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.2-1mamba
- package created using the webbuild interface