Accepting request 680420 from devel:languages:python

- update to 1.10
- remove unnneded deps
- fix licenses
 * Add support for PEP 525-style garbage collection hooks

OBS-URL: https://build.opensuse.org/request/show/680420
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-async_generator?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2019-03-05 11:19:19 +00:00 committed by Git OBS Bridge
commit f793969226
4 changed files with 19 additions and 14 deletions

BIN
async_generator-1.10.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Mar 1 09:47:28 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 1.10
- remove unnneded deps
- fix licenses
* Add support for PEP 525-style garbage collection hooks
-------------------------------------------------------------------
Thu May 10 15:51:01 UTC 2018 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-async_generator
#
# 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
@ -12,30 +12,25 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-async_generator
Version: 1.9
Version: 1.10
Release: 0
Summary: Async generators and context managers for Python 3.5+
License: MIT
License: MIT OR Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/python-trio/async_generator
URL: https://github.com/python-trio/async_generator
Source: https://files.pythonhosted.org/packages/source/a/async_generator/async_generator-%{version}.tar.gz
BuildRequires: %{python_module devel >= 3.5}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%ifpython3
Requires: python3-base >= 3.5
%endif
BuildArch: noarch
%python_subpackages
%description
@ -53,10 +48,12 @@ tools to make them usable, like contextlib.asynccontextmanager.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%python_exec -m pytest
%files %{python_files}
%doc README.rst
%license LICENSE.MIT
%license LICENSE.APACHE2
%{python_sitelib}/*
%changelog