Name: python-httpx-sse Version: 0.4.3 Release: %autorelease Summary: Consume Server-Sent Event (SSE) messages with HTTPX License: MIT URL: https://github.com/florimondmanca/httpx-sse Source: %{pypi_source httpx_sse} BuildArch: noarch BuildRequires: python3-devel # for import test BuildRequires: python3-httpx %global _description %{expand: Consume Server-Sent Event (SSE) messages with HTTPX. } %description %_description %package -n python3-httpx-sse Summary: %{summary} %description -n python3-httpx-sse %_description %prep %autosetup -n httpx_sse-%{version} # Needed to pass import test so should be in dependencies sed -i 's/dependencies = \[\]/dependencies = ["httpx"]/' pyproject.toml %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l httpx_sse %check %pyproject_check_import %files -n python3-httpx-sse -f %{pyproject_files} %doc README.md CHANGELOG.md %changelog %autochangelog