Accepting request 902433 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/902433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nest-asyncio?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2021-06-26 19:25:32 +00:00 committed by Git OBS Bridge
commit 675106a2b4
4 changed files with 16 additions and 8 deletions

View File

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

View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jun 25 11:19:17 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to 1.5.1
* no release notes
* update required by jupyter_client 6.2
-------------------------------------------------------------------
Mon Jul 20 15:06:01 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-nest-asyncio
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,13 +19,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-nest-asyncio
Version: 1.4.0
Version: 1.5.1
Release: 0
Summary: Patch asyncio to allow nested event loops
License: BSD-2-Clause
URL: https://github.com/erdewit/nest_asyncio
Source: https://files.pythonhosted.org/packages/source/n/nest_asyncio/nest_asyncio-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@ -57,11 +56,13 @@ This module patches asyncio to allow nested use of ``asyncio.run`` and
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python tests/nest_test.py
%pyunittest -v tests.nest_test
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%{python_sitelib}/nest_asyncio.py*
%pycache_only %{python_sitelib}/__pycache__/nest_asyncio*.pyc
%{python_sitelib}/nest_asyncio-%{version}*-info
%changelog