14
0

- update to 1.10

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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-async_generator?expand=0&rev=7
This commit is contained in:
2019-03-01 09:53:50 +00:00
committed by Git OBS Bridge
parent 4547cab3d9
commit 622b33bcb5
4 changed files with 19 additions and 14 deletions

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