Name: python-asgi-lifespan Version: 2.1.0 Release: %autorelease Summary: Programmatic startup/shutdown of ASGI apps License: MIT URL: https://github.com/florimondmanca/asgi-lifespan Source: %{pypi_source asgi-lifespan} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: Programmatically send startup/shutdown lifespan events into ASGI applications. When used in combination with an ASGI-capable HTTP client such as HTTPX, this allows mocking or testing ASGI applications without having to spin up an ASGI server.} %description %_description %package -n python3-asgi-lifespan Summary: %{summary} %description -n python3-asgi-lifespan %_description %prep %autosetup -p1 -n asgi-lifespan-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files asgi_lifespan %check %pyproject_check_import %files -n python3-asgi-lifespan -f %{pyproject_files} %doc README.md %license LICENSE %changelog %autochangelog