This commit is contained in:
Sergey Zhemoytel 2024-09-23 13:08:44 +00:00
parent f7a268775e
commit c086ecc0b1

View file

@ -1,7 +1,7 @@
%define pypi_name websockets %define pypi_name websockets
# gi-find-deps.sh is very slow but is not needed here, it may be installed locally # gi-find-deps.sh is very slow but is not needed here, it may be installed locally
#define __typelib_path %{nil} %define __typelib_path %{nil}
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: 13.1 Version: 13.1
@ -32,6 +32,7 @@ applications.
Summary: %{summary} Summary: %{summary}
BuildRequires: python38-devel BuildRequires: python38-devel
BuildRequires: python38-setuptools BuildRequires: python38-setuptools
BuildRequires: python38-pathlib2
# the 10.1 pops up always. # the 10.1 pops up always.
Obsoletes: python38-%{pypi_name} < %{EVRD} Obsoletes: python38-%{pypi_name} < %{EVRD}
@ -47,7 +48,7 @@ Obsoletes: python38-%{pypi_name} < %{EVRD}
%prep %prep
%setup -qn %{pypi_name}-%{version} %setup -qn %{pypi_name}-%{version}
#patch0 -p1 %patch0 -p1
# Remove upstream's egg-info # Remove upstream's egg-info
#rm -vrf %{pypi_name}.egg-info #rm -vrf %{pypi_name}.egg-info
@ -56,6 +57,7 @@ Obsoletes: python38-%{pypi_name} < %{EVRD}
%build %build
%py38_build %py38_build
#make build
%install %install
%py38_install %py38_install
@ -69,5 +71,5 @@ find %{buildroot} -type f -empty -delete
# Skip tests because they fail on Python 3.8. See: https://github.com/aaugustin/websockets/issues/648 # 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 # WEBSOCKETS_TESTS_TIMEOUT_FACTOR=100 %%{__python3} setup.py test
# test needs internet connections # test needs internet connections
# %%py3_test #py38_test