14
0
forked from pool/python-pyee

Accepting request 697804 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/697804
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyee?expand=0&rev=5
This commit is contained in:
2019-04-26 20:54:29 +00:00
committed by Git OBS Bridge
5 changed files with 27 additions and 13 deletions

View File

@@ -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 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). 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-6.0.0.orig/setup.py 2019-04-13 19:47:29.000000000 +0200
+++ pyee-5.0.0/setup.py +++ pyee-6.0.0/setup.py 2019-04-25 09:47:13.860816108 +0200
@@ -14,11 +14,13 @@ setup( @@ -14,11 +14,14 @@ setup(
packages=find_packages(), packages=find_packages(),
setup_requires=[ setup_requires=[
+ 'vcversioner', + 'vcversioner'
+ ], + ],
+ tests_require=[ + tests_require=[
+ 'twisted', + 'twisted',
+ 'futures; python_version < "3.0"',
'pytest-runner', 'pytest-runner',
'pytest-asyncio; python_version > "3.4"', 'pytest-asyncio; python_version > "3.4"',
- 'vcversioner' - 'vcversioner'
- ], ],
- tests_require=['twisted'], - tests_require=['twisted', 'futures; python_version < "3.0"'],
+ ],
include_package_data=True, include_package_data=True,
description="A port of node.js's EventEmitter to python.", description="A port of node.js's EventEmitter to python.",

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4ec22817297b7024f89721cc34f790ee2767c5b5ca44284c565ee643abafbe32
size 7606

3
pyee-6.0.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9c9b60e8693a260dd942ef5a71358cfcbba15792d5e72caf0e3c891c4e91c3b
size 10255

View File

@@ -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 <mcepl@suse.com> Tue Dec 4 12:52:10 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pyee # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test %bcond_without test
Name: python-pyee Name: python-pyee
Version: 5.0.0 Version: 6.0.0
Release: 0 Release: 0
Summary: A port of node.js's EventEmitter to python Summary: A port of node.js's EventEmitter to python
License: MIT License: MIT
@@ -52,6 +52,7 @@ from Node.js.
%prep %prep
%setup -q -n pyee-%{version} %setup -q -n pyee-%{version}
%patch0 -p1 %patch0 -p1
# https://github.com/jfhbrook/pyee/issues/58
cp %{SOURCE99} . cp %{SOURCE99} .
%build %build