From 45d914d6987d1b463cf9d91b857fd4d0fc70c49c7e023e88edf26781f2b5e816 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 12 Jan 2017 08:13:07 +0000 Subject: [PATCH 1/4] =?UTF-8?q?-=20update=20to=200.20.1:=20=20=20*=20dns:?= =?UTF-8?q?=20try=20unqualified=20queries=20as=20top=20level=20=20=20*=20t?= =?UTF-8?q?est=5Fimport=5Fpatched=5Fdefaults=20bended=20to=20play=20with?= =?UTF-8?q?=20pyopenssl>=3D16.1.0=20=20=20*=20Explicit=20environ=20flag=20?= =?UTF-8?q?for=20importing=20eventlet.=5F=5Fversion=5F=5F=20without=20igno?= =?UTF-8?q?ring=20import=20errors=20=20=20*=20Type=20check=20Semaphore,=20?= =?UTF-8?q?GreenPool=20arguments;=20Thanks=20to=20Matthew=20D.=20Pagel=20?= =?UTF-8?q?=20=20*=20IMPORTANT:=20removed=20select.poll()=20function=20=20?= =?UTF-8?q?=20*=20DNS=20resolving=20is=20always=20green=20with=20dnspython?= =?UTF-8?q?=20bundled=20in=20=20=20*=20greenio:=20only=20trampoline=20when?= =?UTF-8?q?=20we=20block=20=20=20*=20convenience:=20listen()=20sets=20SO?= =?UTF-8?q?=5FREUSEPORT=20when=20available;=20Thanks=20to=20Zhengwei=20Gao?= =?UTF-8?q?=20=20=20*=20ssl:=20Fix=20"TypeError:=20read()=20argument=202?= =?UTF-8?q?=20must=20be=20read-write=20bytes-like=20object,=20not=20None"?= =?UTF-8?q?=20=20=20*=20greenio:=20=5Frecv=5Floop=20behaviour=20with=20rec?= =?UTF-8?q?v=5Finto=20on=20closed=20sock=20=20=20*=20ipv6:=20getaddrinfo?= =?UTF-8?q?=20would=20fail=20with=20scope=20index=20=20=20*=20green.zmq:?= =?UTF-8?q?=20Support=20{send,recv}=5F{string,json,pyobj}=20wrappers=20=20?= =?UTF-8?q?=20*=20greendns:=20Return=20answers=20from=20/etc/hosts=20despi?= =?UTF-8?q?te=20nameserver=20errors=20=20=20*=20patcher:=20fixed=20green?= =?UTF-8?q?=20existing=20locks=20fail=20(Python3)=20=20=20*=20Add=20DAGPoo?= =?UTF-8?q?l,=20a=20dependency-driven=20greenthread=20pool=20=20=20*=20wsg?= =?UTF-8?q?i:=20Unix=20socket=20address=20representation;=20Thanks=20to=20?= =?UTF-8?q?Samuel=20Merritt=20=20=20*=20tpool:=20isolate=20internal=20sock?= =?UTF-8?q?et=20from=20default=20timeout;=20Thanks=20to=20Alex=20Villac?= =?UTF-8?q?=C3=ADs=20Lasso=20=20=20*=20wsgi:=20only=20skip=20Content-Type?= =?UTF-8?q?=20and=20Content-Length=20headers=20(GH-327)=20=20=20*=20wsgi:?= =?UTF-8?q?=20400=20on=20blank=20Content-Length=20headers=20(GH-334)=20=20?= =?UTF-8?q?=20*=20greenio:=20makefile=20related=20pypy=20socket=20ref=20co?= =?UTF-8?q?unting=20=20=20*=20ssl:=20Fix=20recv=5Finto=20blocking=20when?= =?UTF-8?q?=20reading=20chunks=20of=20data=20=20=20*=20websocket:=20suppor?= =?UTF-8?q?t=20Gunicorn=20environ['gunicorn.socket']?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-eventlet?expand=0&rev=34 --- eventlet-0.19.0.tar.gz | 3 --- eventlet-0.20.1.tar.gz | 3 +++ python-eventlet.changes | 27 +++++++++++++++++++++++++++ python-eventlet.spec | 4 ++-- 4 files changed, 32 insertions(+), 5 deletions(-) delete mode 100644 eventlet-0.19.0.tar.gz create mode 100644 eventlet-0.20.1.tar.gz 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..45b47df 100644 --- a/python-eventlet.changes +++ b/python-eventlet.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +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 diff --git a/python-eventlet.spec b/python-eventlet.spec index 98bc124..7ba072b 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 @@ -17,7 +17,7 @@ Name: python-eventlet -Version: 0.19.0 +Version: 0.20.1 Release: 0 Url: http://eventlet.net Summary: Highly concurrent networking library From b045d045bc752c117e879daf75dfe41d2581bd09182e87ceb89eb044ff58871c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 12 Jan 2017 13:20:06 +0000 Subject: [PATCH 2/4] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-eventlet?expand=0&rev=35 --- python-eventlet.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-eventlet.spec b/python-eventlet.spec index 7ba072b..0dfc728 100644 --- a/python-eventlet.spec +++ b/python-eventlet.spec @@ -29,6 +29,7 @@ BuildRequires: python-Sphinx BuildRequires: python-devel BuildRequires: python-greenlet BuildRequires: python-setuptools +Requires: python-enum-compat 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()")} From 1d253b89020961d5273e8b60f9b7762ca6076e6ac51e0fbaad966e94c3dd2506 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Tue, 5 Sep 2017 09:39:53 +0000 Subject: [PATCH 3/4] Accepting request 521055 from devel:languages:python:singlespec-staging - remove dependency on metapackage "enum-compat" in favor of specifying this requirement the usual way via RPM requirement conditional on version - singlespec auto-conversion OBS-URL: https://build.opensuse.org/request/show/521055 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-eventlet?expand=0&rev=36 --- python-eventlet.changes | 13 +++++++++++++ python-eventlet.spec | 39 ++++++++++++++++++++------------------- 2 files changed, 33 insertions(+), 19 deletions(-) diff --git a/python-eventlet.changes b/python-eventlet.changes index 45b47df..154cd90 100644 --- a/python-eventlet.changes +++ b/python-eventlet.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +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 @@ -246,3 +258,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 0dfc728..ebc8785 100644 --- a/python-eventlet.spec +++ b/python-eventlet.spec @@ -16,26 +16,27 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-eventlet Version: 0.20.1 Release: 0 -Url: http://eventlet.net Summary: Highly concurrent networking library 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-enum-compat -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 @@ -56,24 +57,24 @@ Requires: %{name} = %{version} 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. - %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 From e1424cc6ff3968dff4e54c250ae1f1e5dbd4dc75d0852261da859d604359ec5c Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Wed, 6 Sep 2017 07:26:00 +0000 Subject: [PATCH 4/4] Accepting request 521563 from home:jengelh:branches:devel:languages:python - Ensure neutrality of description. OBS-URL: https://build.opensuse.org/request/show/521563 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-eventlet?expand=0&rev=37 --- python-eventlet.changes | 5 +++++ python-eventlet.spec | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/python-eventlet.changes b/python-eventlet.changes index 154cd90..5b3dea0 100644 --- a/python-eventlet.changes +++ b/python-eventlet.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/python-eventlet.spec b/python-eventlet.spec index ebc8785..62e7166 100644 --- a/python-eventlet.spec +++ b/python-eventlet.spec @@ -20,7 +20,7 @@ Name: python-eventlet Version: 0.20.1 Release: 0 -Summary: Highly concurrent networking library +Summary: Concurrent networking library for Python License: MIT Group: Development/Languages/Python Url: http://eventlet.net @@ -39,23 +39,23 @@ 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}