%global pypi_name Pykka Name: pykka Version: 4.4.2 Release: %autorelease Summary: Python library that provides concurrency using actor model License: Apache-2.0 URL: https://pykka.readthedocs.io/ Source0: %{pypi_source pykka} BuildArch: noarch %description Pykka is a Python implementation of the actor model. The actor model introduces some simple rules to control the sharing of state and cooperation between execution units, which makes it easier to build concurrent applications. %package -n python3-%{pypi_name} Summary: Python library that provides concurrency using actor model BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: python3-pytest-mock %description -n python3-%{pypi_name} Pykka is a Python implementation of the actor model. The actor model introduces some simple rules to control the sharing of state and cooperation between execution units, which makes it easier to build concurrent applications. %package -n python3-%{pypi_name}-docs Summary: Documentation for python3-%{pypi_name} %description -n python3-%{pypi_name}-docs This package provides the documentation for %{name}, e.g. the API as devhelp docs, and examples. %prep %autosetup -p1 %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -L pykka %check %pytest tests %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.md %files -n python3-%{pypi_name}-docs %license LICENSE %doc docs/ %changelog %autochangelog