diff --git a/0.4.0.tar.gz b/0.4.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..b6d43b99b861487fcb06c7ffe7f96c8245744ecf Binary files /dev/null and b/0.4.0.tar.gz differ diff --git a/python-httpx-sse.spec b/python-httpx-sse.spec new file mode 100644 index 0000000000000000000000000000000000000000..1b43e14d5c24d22a5cc6fa3588354adce6215e44 --- /dev/null +++ b/python-httpx-sse.spec @@ -0,0 +1,50 @@ +%define debug_package %{nil} +%global pypi_name httpx-sse + +Name: python-%{pypi_name} +Version: 0.4.0 +Release: 1 +Summary: Consume Server-Sent Event (SSE) messages with HTTPX. +License: MIT +URL: https://github.com/florimondmanca/httpx-sse +Source0: https://github.com/florimondmanca/httpx-sse/archive/refs/tags/%{version}.tar.gz +BuildArch: noarch + + +BuildRequires: python3-devel python3-pip python3-wheel + + +%description +Consume Server-Sent Event (SSE) messages with HTTPX. + + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + + +%description -n python3-%{pypi_name} +Consume Server-Sent Event (SSE) messages with HTTPX. + + +%prep +%setup -q -T -b 0 -c -n %{pypi_name}-%{version} + + +%build +%pyproject_build + + +%install +%pyproject_install + + +%files -n python3-%{pypi_name} +%doc README.md +%license LICENSE +%{python3_sitelib}/httpx_sse* + + +%changelog +* Mon Apr 7 2025 wangkui - 0.4.0-1 +- init