Name: python-async-generator Version: 1.10 Release: %autorelease Summary: Async generators and context managers for Python 3.5+ License: MIT OR Apache-2.0 URL: https://github.com/python-trio/async_generator Source: %{pypi_source async_generator} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(pytest) %global _description %{expand: Python 3.6 added async generators. Python 3.7 adds some more tools to make them usable, like contextlib.asynccontextmanager. This library gives you all that back to Python 3.5. It is used by Trio internally, so is needed even on newer Python versions. } %description %_description %package -n python3-async-generator Summary: %{summary} %description -n python3-async-generator %_description %prep %autosetup -p1 -n async_generator-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l async_generator %check %pyproject_check_import %pytest -v %files -n python3-async-generator -f %{pyproject_files} %changelog %autochangelog