From 13f641ae21d8a975ec02bec38b333946831964a58c17f926992246b080f55129 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 1 Feb 2023 22:26:20 +0000 Subject: [PATCH 1/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-eventlet?expand=0&rev=101 --- python-eventlet.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-eventlet.spec b/python-eventlet.spec index 293309f..c74d143 100644 --- a/python-eventlet.spec +++ b/python-eventlet.spec @@ -23,7 +23,7 @@ Release: 0 Summary: Concurrent networking library for Python License: MIT Group: Development/Languages/Python -URL: http://eventlet.net +URL: https://eventlet.net Source: https://files.pythonhosted.org/packages/source/e/eventlet/eventlet-%{version}.tar.gz # PATCH-FEATURE-UPSTREAM remove_nose.patch gh#eventlet/eventlet#638 mcepl@suse.com # Removes dependency on nose From 0d7ccb5704dd8db7ae9a3238dd713df322cee0df5361edcafc8fb85a326bb702 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 14 Feb 2023 13:07:43 +0000 Subject: [PATCH 2/2] 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 --- python-eventlet.changes | 6 ++++++ python-eventlet.spec | 35 +++++++++++++---------------------- 2 files changed, 19 insertions(+), 22 deletions(-) diff --git a/python-eventlet.changes b/python-eventlet.changes index 2c9ea82..640608c 100644 --- a/python-eventlet.changes +++ b/python-eventlet.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 14 11:33:57 UTC 2023 - Matej Cepl + +- Remove unnecessary obsolete dependency on pyzmq. +- Clean up the SPEC file. + ------------------------------------------------------------------- Sat Jan 28 12:30:48 UTC 2023 - Dirk Müller diff --git a/python-eventlet.spec b/python-eventlet.spec index c74d143..df6d705 100644 --- a/python-eventlet.spec +++ b/python-eventlet.spec @@ -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