rebuilt with python-build and distdeps [release 3.10.5-2mamba;Thu Sep 05 2024]
This commit is contained in:
parent
954e138577
commit
a27444e00a
@ -1,6 +1,7 @@
|
||||
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||
Name: python-aiohttp
|
||||
Version: 3.10.5
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: Async http client/server framework
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -12,10 +13,14 @@ 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
|
||||
BuildRequires: libpython-devel
|
||||
Requires: python >= %python_version
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
@ -28,23 +33,32 @@ Requires: python >= %python_version
|
||||
%setup -q -n aiohttp-%{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 "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}/%{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
|
||||
* 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user