14
0

Accepting request 1065748 from home:dirkmueller:acdc

- Remove unnecessary obsolete dependency on pyzmq.
- Clean up the SPEC file.

OBS-URL: https://build.opensuse.org/request/show/1065748
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-eventlet?expand=0&rev=102
This commit is contained in:
2023-02-14 13:07:43 +00:00
committed by Git OBS Bridge
parent 13f641ae21
commit 0d7ccb5704
2 changed files with 19 additions and 22 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 14 11:33:57 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Remove unnecessary obsolete dependency on pyzmq.
- Clean up the SPEC file.
-------------------------------------------------------------------
Sat Jan 28 12:30:48 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -16,7 +16,7 @@
#
%bcond_without python2
%define skip_python2 1
Name: python-eventlet
Version: 0.33.3
Release: 0
@@ -35,32 +35,25 @@ Patch2: python-eventlet-FTBFS2028.patch
# PATCH-FIX-UPSTREAM fix-py3-rlock.patch gh#eventlet/eventlet#754
Patch3: fix-py3-rlock.patch
BuildRequires: %{python_module setuptools}
%if %{with python2}
BuildRequires: python2-monotonic >= 1.4
%endif
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION TEST requirements
# eventlet parses /etc/protocols which is not available in normal build envs
BuildRequires: netcfg
BuildRequires: %{python_module dnspython >= 1.15.0}
BuildRequires: %{python_module greenlet >= 0.3}
%if 0%{?suse_version} >= 1550
BuildRequires: %{python_module pyOpenSSL}
%endif
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pyzmq}
BuildRequires: %{python_module six >= 1.10.0}
BuildRequires: %{python_module testsuite}
# /SECTION
Requires: netcfg
Requires: python-dnspython >= 1.15.0
Requires: python-greenlet >= 0.3
%ifpython2
Requires: python-monotonic >= 1.4
%endif
Requires: python-six >= 1.10.0
BuildArch: noarch
# SECTION TEST requirements
BuildRequires: %{python_module dnspython >= 1.15.0}
BuildRequires: %{python_module greenlet >= 0.3}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six >= 1.10.0}
BuildRequires: %{python_module testsuite}
# eventlet parses /etc/protocols which is not available in normal build envs
BuildRequires: netcfg
%if 0%{?suse_version} >= 1550
BuildRequires: %{python_module pyOpenSSL}
%endif
# /SECTION
%python_subpackages
%description
@@ -108,9 +101,7 @@ skiptests+=" or test_018b_http_10_keepalive_framing"
# https://github.com/rthalley/dnspython/issues/559#issuecomment-675274960
python36_skiptests+=" or test_connect_ssl or test_ssl_sending_messages or test_wrap_ssl"
python36_skiptests+=" or ssl_test or wsgi_test"
%if %python3_version_nodots == 36
python3_skiptests+="$python36_skiptests"
%endif
# https://github.com/eventlet/eventlet/issues/730
python310_skiptests+=" or test_patcher_existing_locks_locked"
# https://github.com/eventlet/eventlet/issues/739