6312aeb
%global pypi_name aiohttp-sse-client
6312aeb
6312aeb
Name:           python-%{pypi_name}
6312aeb
Version:        0.2.0
9be7172
Release:        12%{?dist}
6312aeb
Summary:        Server-Sent Event Python client
6312aeb
6312aeb
License:        ASL 2.0
6312aeb
URL:            https://github.com/rtfol/aiohttp-sse-client
6312aeb
Source0:        %{pypi_source}
6312aeb
BuildArch:      noarch
6312aeb
6312aeb
%description
6312aeb
A Server-Sent Event Python client that provides a simple interface to
6312aeb
process Server-Sent Event.
6312aeb
6312aeb
%package -n     python3-%{pypi_name}
6312aeb
Summary:        %{summary}
6312aeb
6312aeb
BuildRequires:  python3-devel
6312aeb
BuildRequires:  python3dist(aiohttp)
6312aeb
BuildRequires:  python3dist(attrs)
6312aeb
BuildRequires:  python3dist(multidict)
6312aeb
BuildRequires:  python3dist(pytest)
6312aeb
BuildRequires:  python3dist(pytest-runner)
6312aeb
BuildRequires:  python3dist(setuptools)
6312aeb
BuildRequires:  python3dist(yarl)
6312aeb
%{?python_provide:%python_provide python3-%{pypi_name}}
6312aeb
6312aeb
%description -n python3-%{pypi_name}
6312aeb
A Server-Sent Event Python client that provides a simple interface to
6312aeb
process Server-Sent Event.
6312aeb
6312aeb
%package -n python-%{pypi_name}-doc
6312aeb
Summary:        aiohttp-sse-client documentation
6312aeb
6312aeb
BuildRequires:  python3dist(sphinx)
6312aeb
6312aeb
%description -n python-%{pypi_name}-doc
6312aeb
Documentation for aiohttp-sse-client
6312aeb
6312aeb
%prep
6312aeb
%autosetup -n %{pypi_name}-%{version}
6312aeb
rm -rf %{pypi_name}.egg-info
6312aeb
6312aeb
%build
6312aeb
%py3_build
6312aeb
PYTHONPATH=${PWD} sphinx-build-3 docs html
6312aeb
rm -rf html/.{doctrees,buildinfo}
6312aeb
6312aeb
%install
6312aeb
%py3_install
6312aeb
6312aeb
%check
6312aeb
%pytest -v tests
6312aeb
6312aeb
%files -n python3-%{pypi_name}
6312aeb
%license LICENSE
6312aeb
%doc docs/readme.rst README.rst
6312aeb
%{python3_sitelib}/aiohttp_sse_client
6312aeb
%{python3_sitelib}/aiohttp_sse_client-%{version}-py%{python3_version}.egg-info
6312aeb
6312aeb
%files -n python-%{pypi_name}-doc
6312aeb
%doc html
6312aeb
%license LICENSE
6312aeb
6312aeb
%changelog
9be7172
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-12
9be7172
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
9be7172
4d0d3c0
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-11
4d0d3c0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
4d0d3c0
c066fc6
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-10
c066fc6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
c066fc6
7e7bfee
* Thu Jun 29 2023 Python Maint <python-maint@redhat.com> - 0.2.0-9
7e7bfee
- Rebuilt for Python 3.12
7e7bfee
0b0af45
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-8
0b0af45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
0b0af45
be9818c
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-7
be9818c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
be9818c
fef42d9
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 0.2.0-6
fef42d9
- Rebuilt for Python 3.11
fef42d9
a910870
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-5
a910870
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
a910870
771b84f
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-4
771b84f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
771b84f
ca4651a
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.2.0-3
ca4651a
- Rebuilt for Python 3.10
ca4651a
e70321c
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
e70321c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
e70321c
6312aeb
* Mon Oct 26 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.2.0-1
6312aeb
- Fix license (#1885501)
6312aeb
- Update to new upstream version 0.2.0
6312aeb
6312aeb
* Thu Sep 10 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.7-1
6312aeb
- Initial package for Fedora