%define srcname gevent Summary: Coroutine-based network library Name: python3-gevent Version: 23.7.0 Release: 2%{?dist} License: MIT Group: Development/Languages/Python Vendor: VMware, Inc. Distribution: Photon Url: https://pypi.python.org/pypi/gevent Source0: https://pypi.org/project/%{srcname}/%{version}/%{srcname}-%{version}.tar.gz %define sha512 %{srcname}=d452e58e96ba5b7f995b9a762fe378cef24a728a5291b3df069ff50815b336c6ad7bdbe0341c6c9c821dea6fc1a6601aec9d8c9c18aea8045bbcddb2f9240198 BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-xml BuildRequires: python3-zope.interface %if 0%{?with_check} BuildRequires: lsof BuildRequires: curl-devel BuildRequires: openssl-devel BuildRequires: python3-test BuildRequires: python3-pip BuildRequires: python3-greenlet BuildRequires: python3-zope.event BuildRequires: python3-zope.interface %endif Requires: python3 Requires: python3-greenlet Requires: python3-zope.event Requires: python3-zope.interface %description gevent is a coroutine-based Python networking library. Features include: - Fast event loop based on libev. - Lightweight execution units based on greenlet. - Familiar API that re-uses concepts from the Python standard library. - Cooperative sockets with SSL support. - DNS queries performed through c-ares or a threadpool. - Ability to use standard library and 3rd party modules written for standard blocking sockets %prep %autosetup -p1 -n %{srcname}-%{version} %build %py3_build %install %py3_install %if 0%{?with_check} %check export PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m gevent.tests %endif %files %defattr(-,root,root,-) %{python3_sitelib}/* %changelog * Sun Nov 19 2023 Shreenidhi Shedi 23.7.0-2 - Bump version as a part of openssl upgrade * Wed Aug 30 2023 Nitesh Kumar 23.7.0-1 - Version upgrade to v23.7.0 to fix following CVE's: - CVE-2023-31130, CVE-2023-31147, CVE-2023-32067, CVE-2023-31124 * Thu Aug 10 2023 Shreenidhi Shedi 22.10.2-3 - Add zope.interface to requires * Thu Aug 10 2023 Shreenidhi Shedi 22.10.2-2 - Add zope.interface to requires * Mon Nov 07 2022 Prashant S Chauhan 22.10.2-1 - Update to 22.10.2 * Tue Feb 23 2021 Tapas Kundu 20.9.0-3 - Added requires for python3-zope.event * Tue Sep 29 2020 Satya Naga Vasamsetty 20.9.0-2 - openssl 1.1.1 * Tue Sep 22 2020 Gerrit Photon 20.9.0-1 - Automatic Version Bump * Fri Jul 24 2020 Gerrit Photon 20.6.2-1 - Automatic Version Bump * Sat Jun 20 2020 Tapas Kundu 1.3.6-3 - Mass removal python2 * Mon Jan 14 2019 Tapas Kundu 1.3.6-2 - Fix make check * Wed Sep 12 2018 Tapas Kundu 1.3.6-1 - Updated to version 1.3.6 * Wed Sep 20 2017 Bo Gan 1.2.1-6 - Fix build and make check issues * Wed Sep 13 2017 Rongrong Qiu 1.2.1-5 - Update make check for bug 1900401 * Wed Jun 07 2017 Xiaolin Li 1.2.1-4 - Add python3-setuptools and python3-xml to python3 sub package Buildrequires. * Thu Jun 01 2017 Dheeraj Shetty 1.2.1-3 - Removed erroneous line * Tue May 16 2017 Rongrong Qiu 1.2.1-2 - Add requires python-greenlet and python3-greenlet * Thu Mar 02 2017 Xiaolin Li 1.2.1-1 - Initial packaging for Photon