diff --git a/eventlet-0.19.0.tar.gz b/eventlet-0.19.0.tar.gz deleted file mode 100644 index 75af475..0000000 --- a/eventlet-0.19.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:306373b8adda84b7d471f5829c59ca33f9438c8ecd34daf5cddde19d376caf21 -size 290898 diff --git a/eventlet-0.20.1.tar.gz b/eventlet-0.20.1.tar.gz new file mode 100644 index 0000000..e76adec --- /dev/null +++ b/eventlet-0.20.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3ad581b8645a54acf436e62a4d8cbf229a1ec7bfa3287c160f0258826b297838 +size 469509 diff --git a/python-eventlet.changes b/python-eventlet.changes index 3e79f41..5b3dea0 100644 --- a/python-eventlet.changes +++ b/python-eventlet.changes @@ -1,3 +1,47 @@ +------------------------------------------------------------------- +Tue Sep 5 21:50:25 UTC 2017 - jengelh@inai.de + +- Ensure neutrality of description. + +------------------------------------------------------------------- +Tue Sep 5 09:30:33 UTC 2017 - jmatejek@suse.com + +- remove dependency on metapackage "enum-compat" in favor of + specifying this requirement the usual way via RPM requirement + conditional on version + +------------------------------------------------------------------- +Thu Aug 24 13:38:29 UTC 2017 - jmatejek@suse.com + +- singlespec auto-conversion + +------------------------------------------------------------------- +Wed Jan 11 18:10:38 UTC 2017 - dmueller@suse.com + +- update to 0.20.1: + * dns: try unqualified queries as top level + * test_import_patched_defaults bended to play with pyopenssl>=16.1.0 + * Explicit environ flag for importing eventlet.__version__ without ignoring import errors + * Type check Semaphore, GreenPool arguments; Thanks to Matthew D. Pagel + * IMPORTANT: removed select.poll() function + * DNS resolving is always green with dnspython bundled in + * greenio: only trampoline when we block + * convenience: listen() sets SO_REUSEPORT when available; Thanks to Zhengwei Gao + * ssl: Fix "TypeError: read() argument 2 must be read-write bytes-like object, not None" + * greenio: _recv_loop behaviour with recv_into on closed sock + * ipv6: getaddrinfo would fail with scope index + * green.zmq: Support {send,recv}_{string,json,pyobj} wrappers + * greendns: Return answers from /etc/hosts despite nameserver errors + * patcher: fixed green existing locks fail (Python3) + * Add DAGPool, a dependency-driven greenthread pool + * wsgi: Unix socket address representation; Thanks to Samuel Merritt + * tpool: isolate internal socket from default timeout; Thanks to Alex VillacĂ­s Lasso + * wsgi: only skip Content-Type and Content-Length headers (GH-327) + * wsgi: 400 on blank Content-Length headers (GH-334) + * greenio: makefile related pypy socket ref counting + * ssl: Fix recv_into blocking when reading chunks of data + * websocket: support Gunicorn environ['gunicorn.socket'] + ------------------------------------------------------------------- Sat Dec 3 18:15:53 UTC 2016 - dmueller@suse.com @@ -219,3 +263,4 @@ Fri Nov 26 14:44:42 UTC 2010 - seife+obs@b1-systems.com - initial package (version 0.9.9) + diff --git a/python-eventlet.spec b/python-eventlet.spec index 98bc124..62e7166 100644 --- a/python-eventlet.spec +++ b/python-eventlet.spec @@ -1,7 +1,7 @@ # # spec file for package python-eventlet # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,63 +16,65 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-eventlet -Version: 0.19.0 +Version: 0.20.1 Release: 0 -Url: http://eventlet.net -Summary: Highly concurrent networking library +Summary: Concurrent networking library for Python License: MIT Group: Development/Languages/Python -Source: https://pypi.io/packages/source/e/eventlet/eventlet-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-Sphinx -BuildRequires: python-devel -BuildRequires: python-greenlet -BuildRequires: python-setuptools -Requires: python-greenlet >= 0.3 -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else -BuildArch: noarch +Url: http://eventlet.net +Source: https://files.pythonhosted.org/packages/source/e/eventlet/eventlet-%{version}.tar.gz +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module greenlet} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +%if %python_version_nodots < 34 +Requires: python-enum34 %endif +Requires: python-greenlet >= 0.3 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +%python_subpackages %description -Eventlet is a concurrent networking library for Python that allows you to -change how you run your code, not how you write it. +Eventlet is a concurrent networking library for Python that allows +changing how code is run. -It uses epoll or libevent for highly scalable non-blocking I/O. Coroutines +It uses epoll or libevent for scalable non-blocking I/O. Coroutines ensure that the developer uses a blocking style of programming that is similar to threading, but provide the benefits of non-blocking I/O. The event dispatch -is implicit, which means you can easily use Eventlet from the Python -interpreter, or as a small part of a larger application. +is implicit, which means Eventlet can be used from the Python +interpreter, or as part of a larger application. %package doc -Summary: Highly concurrent networking library - Documentation +Summary: Documentation for the Eventlet concurrent networking library Group: Development/Libraries/Python Requires: %{name} = %{version} %description doc Documentation for Eventlet, which is a concurrent networking library -for Python that allows you to change how you run your code, not how you write it. - +for Python that allows changing how code is run. %prep %setup -q -n eventlet-%{version} +sed -i '/enum_compat/d' setup.py # crude way to drop the strange "enum-compat" requirement sed -i "s|^#!.*||" eventlet/support/greendns.py # Fix non-executable script %build -python setup.py build -python setup.py build_sphinx && rm build/sphinx/html/.buildinfo +%python_build +%python_exec setup.py build_sphinx && rm build/sphinx/html/.buildinfo %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install -%files +%files %{python_files} %defattr(-,root,root,-) %doc AUTHORS LICENSE NEWS README.rst %{python_sitelib}/* -%files doc +%files %{python_files doc} %defattr(-,root,root,-) %doc build/sphinx/html examples