From 53b5cb212c9f35bd68d88f1fbe39e779643b5db9c3f4fed9c268c3d7417dc990 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 25 Apr 2019 09:33:09 +0000 Subject: [PATCH] Accepting request 697772 from home:pgajdos - version update to 6.0.0 * Added a ``BaseEventEmitter`` class which is entirely synchronous and intended for simple use and for subclassing * Added an ``AsyncIOEventEmitter`` class for intended use with asyncio * Added a ``TwistedEventEmitter`` class for intended use with twisted * Added an ``ExecutorEventEmitter`` class which runs events in an executor * Deprecated ``EventEmitter`` (use one of the new classes) - modified patches % fix-build-requirements.patch (refreshed) OBS-URL: https://build.opensuse.org/request/show/697772 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=11 --- fix-build-requirements.patch | 16 ++++++++-------- pyee-5.0.0.tar.gz | 3 --- pyee-6.0.0.tar.gz | 3 +++ python-pyee.changes | 13 +++++++++++++ python-pyee.spec | 5 +++-- 5 files changed, 27 insertions(+), 13 deletions(-) delete mode 100644 pyee-5.0.0.tar.gz create mode 100644 pyee-6.0.0.tar.gz diff --git a/fix-build-requirements.patch b/fix-build-requirements.patch index e4c3aa2..3a34358 100644 --- a/fix-build-requirements.patch +++ b/fix-build-requirements.patch @@ -5,24 +5,24 @@ pytest-asyncio was build requirement by pyee's setup.py file, but it was only used for tests. Fix it so we can build for all python flavors and run tests only for python3 (where pytest-asyncio is available). -Index: pyee-5.0.0/setup.py +Index: pyee-6.0.0/setup.py =================================================================== ---- pyee-5.0.0.orig/setup.py -+++ pyee-5.0.0/setup.py -@@ -14,11 +14,13 @@ setup( +--- pyee-6.0.0.orig/setup.py 2019-04-13 19:47:29.000000000 +0200 ++++ pyee-6.0.0/setup.py 2019-04-25 09:47:13.860816108 +0200 +@@ -14,11 +14,14 @@ setup( packages=find_packages(), setup_requires=[ -+ 'vcversioner', ++ 'vcversioner' + ], + tests_require=[ + 'twisted', ++ 'futures; python_version < "3.0"', 'pytest-runner', 'pytest-asyncio; python_version > "3.4"', - 'vcversioner' -- ], -- tests_require=['twisted'], -+ ], + ], +- tests_require=['twisted', 'futures; python_version < "3.0"'], include_package_data=True, description="A port of node.js's EventEmitter to python.", diff --git a/pyee-5.0.0.tar.gz b/pyee-5.0.0.tar.gz deleted file mode 100644 index 76d2921..0000000 --- a/pyee-5.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4ec22817297b7024f89721cc34f790ee2767c5b5ca44284c565ee643abafbe32 -size 7606 diff --git a/pyee-6.0.0.tar.gz b/pyee-6.0.0.tar.gz new file mode 100644 index 0000000..11decd7 --- /dev/null +++ b/pyee-6.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9c9b60e8693a260dd942ef5a71358cfcbba15792d5e72caf0e3c891c4e91c3b +size 10255 diff --git a/python-pyee.changes b/python-pyee.changes index c10688c..7c7080c 100644 --- a/python-pyee.changes +++ b/python-pyee.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Apr 25 07:50:21 UTC 2019 - pgajdos@suse.com + +- version update to 6.0.0 + * Added a ``BaseEventEmitter`` class which is entirely synchronous and + intended for simple use and for subclassing + * Added an ``AsyncIOEventEmitter`` class for intended use with asyncio + * Added a ``TwistedEventEmitter`` class for intended use with twisted + * Added an ``ExecutorEventEmitter`` class which runs events in an executor + * Deprecated ``EventEmitter`` (use one of the new classes) +- modified patches + % fix-build-requirements.patch (refreshed) + ------------------------------------------------------------------- Tue Dec 4 12:52:10 UTC 2018 - Matej Cepl diff --git a/python-pyee.spec b/python-pyee.spec index 13ff397..132a1e7 100644 --- a/python-pyee.spec +++ b/python-pyee.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyee # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-pyee -Version: 5.0.0 +Version: 6.0.0 Release: 0 Summary: A port of node.js's EventEmitter to python License: MIT @@ -52,6 +52,7 @@ from Node.js. %prep %setup -q -n pyee-%{version} %patch0 -p1 +# https://github.com/jfhbrook/pyee/issues/58 cp %{SOURCE99} . %build