forked from pool/python-pykka
- Update to 3.0.2: - Add support for Python 3.10. Tests are now run on Python 3.10 too. No other changes required. - Minor reorganization of docs. - Use SPDX identifier for license in project metadata. - Remove upper version boundary for importlib_metadata. - Remove support for Python 2.7. It reached end-of-life in January 2020. - Remove support for Python 3.5. It reached end-of-life in September 2020. - Remove support for running actors on top of eventlet. This was deprecated in Pykka 2.0.3. - Remove support for running actors on top of gevent. This was deprecated in Pykka 2.0.3 - Remove support for automatically upgrading the internal message format used by Pykka < 2.0 to the message types used by Pykka >= 2.0. - Include complete type hint stubs for all public APIs in the PyPI distribution. - Remove PyPy from the test matrix. There are no known changes that should cause Pykka to stop working on PyPy, but we will no longer spend any effort to keep CI for PyPy running. - Mark eventlet and gevent support as deprecated. The support will be removed in Pykka 3.0. - These were somewhat interesting ways to implement concurrency in Python when Pykka was conceived in 2011. Today, it is unclear it these libraries still have any mindshare or if keeping the support for them just adds an unnecessary burden to Pykka's maintenance. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pykka?expand=0&rev=3
69 lines
2.1 KiB
RPMSpec
69 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package python-pykka
|
|
#
|
|
# Copyright (c) 2022 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
%define modname pykka
|
|
Name: python-pykka
|
|
Version: 3.0.2
|
|
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
|
|
BuildRequires: %{python_module pip}
|
|
BuildRequires: %{python_module poetry}
|
|
BuildRequires: %{python_module pytest-mock}
|
|
BuildRequires: %{python_module pytest}
|
|
BuildRequires: %{python_module wheel}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
BuildArch: noarch
|
|
Provides: python-Pykka < %{version}-%{release}
|
|
Obsoletes: python-Pykka = %{version}-%{release}
|
|
%python_subpackages
|
|
|
|
%description
|
|
Pykka is a Python implementation of the `actor model
|
|
<http://en.wikipedia.org/wiki/Actor_model>`_. The actor model introduces some
|
|
rules to control the sharing of state and cooperation between execution
|
|
units, with which one can build concurrent applications.
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{modname}-%{version}
|
|
|
|
rm -v docs/_build/.gitignore
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
%install
|
|
%pyproject_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%check
|
|
%pytest
|
|
|
|
%files %{python_files}
|
|
%license LICENSE
|
|
%doc README.md docs/
|
|
%{python_sitelib}/pykka
|
|
%{python_sitelib}/pykka-%{version}*-info
|
|
|
|
%changelog
|