2020-02-17 16:42:24 +08:00
|
|
|
Name: python-websocket-client
|
2022-07-18 15:30:35 +08:00
|
|
|
Version: 1.2.3
|
2021-08-03 17:47:35 +08:00
|
|
|
Release: 1
|
2020-02-17 16:42:24 +08:00
|
|
|
Summary: WebSocket client for python
|
|
|
|
|
License: LGPLv2
|
|
|
|
|
URL: https://github.com/websocket-client/websocket-client
|
2022-07-18 15:30:35 +08:00
|
|
|
Source0: https://files.pythonhosted.org/packages/b6/fa/72e77d094563208174abbbaa73c32f28c43a31193b843bddf233c7c87644/websocket-client-1.2.3.tar.gz
|
2020-02-17 16:42:24 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
websocket-client module is WebSocket client for python.
|
|
|
|
|
This provide the low level APIs for WebSocket. All APIs
|
|
|
|
|
are the synchronous functions.
|
|
|
|
|
websocket-client supports only hybi-13.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-websocket-client
|
|
|
|
|
%{?python_provide:%python_provide python3-websocket-client}
|
|
|
|
|
Summary: WebSocket client for python
|
2022-07-18 15:30:35 +08:00
|
|
|
BuildRequires: python3-devel, python3-setuptools, python3-six, python3-pytest
|
2020-02-17 16:42:24 +08:00
|
|
|
Requires: python3-six
|
|
|
|
|
Conflicts: python2-websocket-client <= 0.40.0-4
|
|
|
|
|
|
|
|
|
|
%description -n python3-websocket-client
|
|
|
|
|
websocket-client module is WebSocket client for python.
|
|
|
|
|
This provide the low level APIs for WebSocket. All APIs
|
|
|
|
|
are the synchronous functions.
|
|
|
|
|
websocket-client supports only hybi-13.
|
|
|
|
|
|
|
|
|
|
%prep
|
2022-07-18 15:30:35 +08:00
|
|
|
%autosetup -n websocket-client-%{version} -p1
|
2020-02-17 16:42:24 +08:00
|
|
|
rm -rf websocket_client.egg-info
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{python3_sitelib}/websocket/cacert.pem
|
|
|
|
|
ln -s /etc/pki/tls/cert.pem $RPM_BUILD_ROOT%{python3_sitelib}/websocket/cacert.pem
|
|
|
|
|
rm -r $RPM_BUILD_ROOT%{python3_sitelib}/websocket/tests
|
|
|
|
|
|
|
|
|
|
%check
|
2022-07-18 15:30:35 +08:00
|
|
|
pytest
|
2020-02-17 16:42:24 +08:00
|
|
|
|
|
|
|
|
%files -n python3-websocket-client
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{python3_sitelib}/*
|
|
|
|
|
%{_bindir}/wsdump
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-07-18 15:30:35 +08:00
|
|
|
* Mon Jul 18 2022 OpenStack_SIG <openstack@openeuler.org> - 1.2.3-1
|
|
|
|
|
- Upgrade package to version 1.2.3
|
|
|
|
|
|
2021-08-03 17:47:35 +08:00
|
|
|
* Thu Aug 05 2021 liusheng <liusheng2048@gmail.com> - 0.58.0-1
|
|
|
|
|
- Upgrade to version 0.58.0
|
|
|
|
|
|
2020-10-30 14:37:59 +08:00
|
|
|
* Fri Oct 30 2020 yanglongkang <yanglongkang@huawei.com> - 0.57.0-2
|
|
|
|
|
- remove python2 dependency
|
|
|
|
|
|
2020-07-16 10:38:27 +08:00
|
|
|
* Thu Jul 16 2020 jixinjie <jixinjie@huawei.com> - 0.57.0-1
|
|
|
|
|
- update package to 0.57.0
|
|
|
|
|
|
2020-02-23 00:25:29 +08:00
|
|
|
* Sat Feb 22 2020 hy-euler <eulerstoragemt@huawei.com> - 0.47.0-6
|
|
|
|
|
- modify the require of python-backports-ssl_match_hostname and python-six to python2
|
2021-08-03 17:47:35 +08:00
|
|
|
|
2020-02-17 16:42:24 +08:00
|
|
|
* Thu Feb 13 2020 Ruijun Ge <geruijun@huawei.com> - 0.47.0-5
|
|
|
|
|
- init package
|