mirror of
https://abf.rosa.ru/djam/python-websockets.git
synced 2025-02-23 05:02:45 +00:00
Log: Update to 11.0.2
build against python-3.11
This commit is contained in:
parent
802b21bd5a
commit
fe9dd1af27
2 changed files with 12 additions and 8 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
websockets-10.3.tar.gz: c0d4308332bc892d44d61276c93e02fd5d6e5625
|
||||
websockets-11.0.2.tar.gz: faa4e5120b38e3d7897ab64570dba32a0c543daf
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
%define __typelib_path %{nil}
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 10.3
|
||||
Release: 2
|
||||
Version: 11.0.2
|
||||
Release: 1
|
||||
Summary: An implementation of the WebSocket Protocol for python with asyncio
|
||||
License: BSD
|
||||
Group: Development/Python
|
||||
|
@ -28,8 +28,8 @@ applications.
|
|||
|
||||
%package -n python3-%{pypi_name}
|
||||
Summary: %{summary}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: pkgconfig(python-3.11)
|
||||
BuildRequires: python3egg(setuptools) >= 67.2
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
%{_description}
|
||||
|
@ -37,8 +37,8 @@ BuildRequires: python3-setuptools
|
|||
%files -n python3-%{pypi_name}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
||||
%{python3_sitearch}/%{pypi_name}
|
||||
%{py3_platsitedir}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
||||
%{py3_platsitedir}/%{pypi_name}
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
|
@ -53,8 +53,12 @@ rm -vrf %{pypi_name}.egg-info
|
|||
%install
|
||||
%py3_install
|
||||
# Remove installed C file
|
||||
rm -vf %{buildroot}%{python3_sitearch}/%{pypi_name}/speedups.c
|
||||
rm -vf %{buildroot}%{py3_platsitedir}/%{pypi_name}/speedups.c
|
||||
# zerolenght
|
||||
find %{buildroot} -type f -empty -delete
|
||||
|
||||
%check
|
||||
# Skip tests because they fail on Python 3.8. See: https://github.com/aaugustin/websockets/issues/648
|
||||
# WEBSOCKETS_TESTS_TIMEOUT_FACTOR=100 %%{__python3} setup.py test
|
||||
%py3_test
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue