forked from pool/python-pykka
- Update to 3.1.0:
- Remove support for Python 3.6. It reached end-of-life in December 2021. - Include docs, examples, and tests in the source release. - Require mypy 0.960 and use the latest typing features, as these seem to work nicely even on Python 3.7, given that the typing information is in separate *.pyi files and that you have a recent mypy version. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pykka?expand=0&rev=4
This commit is contained in:
@@ -19,13 +19,13 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define modname pykka
|
||||
Name: python-pykka
|
||||
Version: 3.0.2
|
||||
Version: 3.1.0
|
||||
Release: 0
|
||||
Summary: A Python implementation of the actor model
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: http://www.pykka.org/
|
||||
Source: https://github.com/jodal/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
|
||||
URL: https://github.com/jodal/pykka
|
||||
Source: https://files.pythonhosted.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module poetry}
|
||||
BuildRequires: %{python_module pytest-mock}
|
||||
@@ -54,7 +54,10 @@ rm -v docs/_build/.gitignore
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
# gh#jodal/pykka#172
|
||||
%{python_expand rm %{buildroot}%{$python_sitelib}/{setup.cfg,tox.ini}
|
||||
%fdupes %{buildroot}%{$python_sitelib}
|
||||
}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
Reference in New Issue
Block a user