|
|
19e219 |
%global srcname sseclient
|
|
|
19e219 |
%bcond_with network
|
|
|
19e219 |
|
|
|
19e219 |
Name: python-%{srcname}
|
|
|
19e219 |
Version: 0.0.27
|
|
|
19e219 |
Release: 2%{?dist}
|
|
|
19e219 |
Summary: Python library for iterating over HTTP Server Sent Events (SSE)
|
|
|
19e219 |
|
|
|
19e219 |
License: MIT
|
|
|
19e219 |
URL: https://github.com/btubbs/%{srcname}
|
|
|
19e219 |
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
|
|
19e219 |
BuildArch: noarch
|
|
|
19e219 |
|
|
|
19e219 |
%description
|
|
|
19e219 |
This is a Python client library for iterating over http Server Sent Event
|
|
|
19e219 |
(SSE) streams (also known as EventSource, after the name of the Javascript
|
|
|
19e219 |
interface inside browsers). The SSEClient class accepts an URL on init, and
|
|
|
19e219 |
is then an iterator over messages coming from the server.
|
|
|
19e219 |
|
|
|
19e219 |
%package -n python3-%{srcname}
|
|
|
19e219 |
Summary: %{summary}
|
|
|
19e219 |
|
|
|
19e219 |
BuildRequires: python3-devel
|
|
|
19e219 |
BuildRequires: python3-setuptools
|
|
|
19e219 |
BuildRequires: python3-mock
|
|
|
19e219 |
BuildRequires: python3-pkginfo
|
|
|
19e219 |
BuildRequires: python3-pytest
|
|
|
19e219 |
BuildRequires: python3-requests
|
|
|
19e219 |
BuildRequires: python3-six
|
|
|
19e219 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
19e219 |
|
|
|
19e219 |
%description -n python3-%{srcname}
|
|
|
19e219 |
This is a Python client library for iterating over http Server Sent Event
|
|
|
19e219 |
(SSE) streams (also known as EventSource, after the name of the Javascript
|
|
|
19e219 |
interface inside browsers). The SSEClient class accepts an URL on init, and
|
|
|
19e219 |
is then an iterator over messages coming from the server.
|
|
|
19e219 |
|
|
|
19e219 |
%prep
|
|
|
19e219 |
%autosetup -p1 -n %{srcname}-%{version}
|
|
|
19e219 |
|
|
|
19e219 |
%build
|
|
|
19e219 |
%py3_build
|
|
|
19e219 |
|
|
|
19e219 |
%install
|
|
|
19e219 |
%py3_install
|
|
|
19e219 |
|
|
|
19e219 |
%if %{with network}
|
|
|
19e219 |
%check
|
|
|
19e219 |
pytest-%{python3_version} -v
|
|
|
19e219 |
%endif
|
|
|
19e219 |
|
|
|
19e219 |
%files -n python3-%{srcname}
|
|
|
19e219 |
%license LICENSE
|
|
|
19e219 |
%doc README.rst
|
|
|
19e219 |
%{python3_sitelib}/%{srcname}-%{version}-*.egg-info
|
|
|
19e219 |
%{python3_sitelib}/sseclient.py*
|
|
|
19e219 |
%{python3_sitelib}/__pycache__/sseclient*
|
|
|
19e219 |
|
|
|
19e219 |
%changelog
|
|
|
19e219 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.27-2
|
|
|
19e219 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
19e219 |
|
|
|
19e219 |
* Fri Sep 25 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.0.27-1
|
|
|
19e219 |
- Update to latest upstream release 0.0.27 (#1882638)
|
|
|
19e219 |
|
|
|
19e219 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.26-3
|
|
|
19e219 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
19e219 |
|
|
|
19e219 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.26-2
|
|
|
19e219 |
- Rebuilt for Python 3.9
|
|
|
19e219 |
|
|
|
19e219 |
* Wed Apr 29 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.0.26-1
|
|
|
19e219 |
- Update to latest upstream release 0.0.26
|
|
|
19e219 |
- Fix description and Source0
|
|
|
19e219 |
|
|
|
19e219 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.18-10
|
|
|
19e219 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
19e219 |
|
|
|
19e219 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.18-9
|
|
|
19e219 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
19e219 |
|
|
|
19e219 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.18-8
|
|
|
19e219 |
- Rebuilt for Python 3.8
|
|
|
19e219 |
|
|
|
19e219 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.18-7
|
|
|
19e219 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
19e219 |
|
|
|
19e219 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.18-6
|
|
|
19e219 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
19e219 |
|
|
|
19e219 |
* Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.0.18-5
|
|
|
19e219 |
- Python2 binary package has been removed
|
|
|
19e219 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
19e219 |
|
|
|
19e219 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.18-4
|
|
|
19e219 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
19e219 |
|
|
|
19e219 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.0.18-3
|
|
|
19e219 |
- Rebuilt for Python 3.7
|
|
|
19e219 |
|
|
|
19e219 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.18-2
|
|
|
19e219 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
19e219 |
|
|
|
19e219 |
* Thu Sep 28 2017 Jeremy Cline <jeremy@jcline.org> - 0.0.18-1
|
|
|
19e219 |
- Initial package
|