forked from pool/python-websocket-client
Accepting request 508234 from home:tbechtold:branches:devel:languages:python
- update to 0.44.0: -renames key in sslopt dict (#326) - Unkown kwarg 'ca_cert' when calling ssl wrap_socket() (#326) - Race condition in WebSocket ping/pong (#327) - Implement simple cookie jar(#292) - fix: when using pppoe redial will block.(#301) - Fix insecure_pythons list in setup.py(#304) - Support WEBSOCKET_CLIENT_CA_BUNDLE being directory(#307) - WebSocketPayloadException under high traffic and limited network connection(#306) - Not working --nocert parameter in wsdump.py(#315) - Avoid the app to block on close on certain systems (#320) - Fix warning is not defined. (#323) - move to repository to https://github.com/websocket-client/websocket-client.git - _send_ping warning fails due to missing reference in _logging.__all__ (#294) - Fix opcode -> op_code (#286) - Shuffled around example code (#256) - _send_ping graceful error handling (#262) - Allow closing WebSocketApp with status/reason/timeout (#265) - Support universal wheels (#267) - _url: Added subnet IP address matching in no_proxy host detection (#270) - fixed Incorrect encoding in continued messages python3 (#261) - Pass headers for websocket handshake (#271) - setup.py: Import `logging` before calling it. (#272) - Implemented close code 1014 (#273) - Support CA bundle specified by environment variable (#279) - Response header values should not be converted to lower case (#264) - Exclude port 443 from host http header (#248) - Cleanup code (#249) - Modify a code block directive in README (#250) - fixed ping/pong timeouet (#253) OBS-URL: https://build.opensuse.org/request/show/508234 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websocket-client?expand=0&rev=18
This commit is contained in:
@@ -1,3 +1,39 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 5 05:10:45 UTC 2017 - tbechtold@suse.com
|
||||||
|
|
||||||
|
- update to 0.44.0:
|
||||||
|
-renames key in sslopt dict (#326)
|
||||||
|
- Unkown kwarg 'ca_cert' when calling ssl wrap_socket() (#326)
|
||||||
|
- Race condition in WebSocket ping/pong (#327)
|
||||||
|
- Implement simple cookie jar(#292)
|
||||||
|
- fix: when using pppoe redial will block.(#301)
|
||||||
|
- Fix insecure_pythons list in setup.py(#304)
|
||||||
|
- Support WEBSOCKET_CLIENT_CA_BUNDLE being directory(#307)
|
||||||
|
- WebSocketPayloadException under high traffic and limited network connection(#306)
|
||||||
|
- Not working --nocert parameter in wsdump.py(#315)
|
||||||
|
- Avoid the app to block on close on certain systems (#320)
|
||||||
|
- Fix warning is not defined. (#323)
|
||||||
|
- move to repository to https://github.com/websocket-client/websocket-client.git
|
||||||
|
- _send_ping warning fails due to missing reference in _logging.__all__ (#294)
|
||||||
|
- Fix opcode -> op_code (#286)
|
||||||
|
- Shuffled around example code (#256)
|
||||||
|
- _send_ping graceful error handling (#262)
|
||||||
|
- Allow closing WebSocketApp with status/reason/timeout (#265)
|
||||||
|
- Support universal wheels (#267)
|
||||||
|
- _url: Added subnet IP address matching in no_proxy host detection (#270)
|
||||||
|
- fixed Incorrect encoding in continued messages python3 (#261)
|
||||||
|
- Pass headers for websocket handshake (#271)
|
||||||
|
- setup.py: Import `logging` before calling it. (#272)
|
||||||
|
- Implemented close code 1014 (#273)
|
||||||
|
- Support CA bundle specified by environment variable (#279)
|
||||||
|
- Response header values should not be converted to lower case (#264)
|
||||||
|
- Exclude port 443 from host http header (#248)
|
||||||
|
- Cleanup code (#249)
|
||||||
|
- Modify a code block directive in README (#250)
|
||||||
|
- fixed ping/pong timeouet (#253)
|
||||||
|
- convert to singlespec
|
||||||
|
- merge -test package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 15 13:11:34 UTC 2016 - dmueller@suse.com
|
Tue Nov 15 13:11:34 UTC 2016 - dmueller@suse.com
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-websocket-client
|
# spec file for package python-websocket-client
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -24,29 +24,30 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: python-websocket-client
|
Name: python-websocket-client
|
||||||
Version: 0.37.0
|
Version: 0.44.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: WebSocket client implementation
|
Summary: WebSocket client implementation
|
||||||
License: LGPL-2.1
|
License: LGPL-2.1
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/liris/websocket-client/releases
|
Url: https://github.com/liris/websocket-client/releases
|
||||||
Source0: https://pypi.io/packages/source/w/websocket-client/websocket_client-%{version}.tar.gz
|
Source0: https://file.pythonhosted.org/packages/source/w/websocket-client/websocket_client-%{version}.tar.gz
|
||||||
BuildRequires: %backports
|
BuildRequires: %backports
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: python-six
|
BuildRequires: %{python_module six}
|
||||||
Requires: %backports
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python
|
Requires: python
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
%ifpython2
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
Requires: %backports
|
||||||
BuildRequires: python-argparse
|
Provides: python-websocket-client-test = %{version}
|
||||||
BuildRequires: python-unittest2
|
Obsoletes: python-websocket-client-test < %{version}
|
||||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
%else
|
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
%endif
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
websocket-client module is WebSocket client for python. This provide the
|
websocket-client module is WebSocket client for python. This provide the
|
||||||
@@ -54,57 +55,34 @@ low level APIs for WebSocket. All APIs are the synchronous functions.
|
|||||||
|
|
||||||
websocket-client supports only hybi-13.
|
websocket-client supports only hybi-13.
|
||||||
|
|
||||||
%package test
|
|
||||||
Summary: Unit tests
|
|
||||||
Group: Development/Languages/Python
|
|
||||||
Requires: python-websocket-client = %{version}
|
|
||||||
|
|
||||||
%description test
|
|
||||||
Unit tests for websocket-client
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n websocket_client-%{version}
|
%setup -q -n websocket_client-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
%python_install
|
||||||
|
%python_clone -a %{buildroot}%{_bindir}/wsdump.py
|
||||||
# Use the system certs
|
# Use the system certs
|
||||||
rm %{buildroot}/%{python_sitelib}/websocket/cacert.pem
|
rm %{buildroot}/%{python_sitelib}/websocket/cacert.pem
|
||||||
# update alternatives
|
|
||||||
mv %{buildroot}%{_bindir}/wsdump.py %{buildroot}%{_bindir}/wsdump.py-%{py_ver}
|
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
|
||||||
touch %{buildroot}%{_sysconfdir}/alternatives/wsdump.py
|
|
||||||
ln -sf %{_sysconfdir}/alternatives/wsdump.py %{buildroot}/%{_bindir}/wsdump.py
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
python websocket/tests/test_websocket.py
|
%python_exec websocket/tests/test_websocket.py
|
||||||
|
|
||||||
%post
|
%post
|
||||||
update-alternatives \
|
%python_install_alternative wsdump.py
|
||||||
--install %{_bindir}/wsdump.py wsdump.py %{_bindir}/wsdump.py-%{py_ver} 20
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ $1 -eq 0 ] ; then
|
%python_uninstall_alternative wsdump.py
|
||||||
update-alternatives --remove wsdump.py %{_bindir}/wsdump.py-%{py_ver}
|
|
||||||
fi
|
|
||||||
|
|
||||||
%files
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE README.rst
|
%doc LICENSE README.rst
|
||||||
%dir %{python_sitelib}/websocket
|
%dir %{python_sitelib}/websocket
|
||||||
%dir %{python_sitelib}/websocket_client-%{version}-py*.egg-info
|
%dir %{python_sitelib}/websocket_client-%{version}-py*.egg-info
|
||||||
%{_bindir}/wsdump.py
|
%python_alternative %{_bindir}/wsdump.py
|
||||||
%{_bindir}/wsdump.py-%{py_ver}
|
|
||||||
%exclude %{python_sitelib}/websocket/tests/
|
|
||||||
%{python_sitelib}/websocket/*
|
%{python_sitelib}/websocket/*
|
||||||
%{python_sitelib}/*egg-info/*
|
%{python_sitelib}/*egg-info/*
|
||||||
%ghost %{_sysconfdir}/alternatives/wsdump.py
|
|
||||||
|
|
||||||
%files test
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%dir %{python_sitelib}/websocket/tests
|
|
||||||
%{python_sitelib}/websocket/tests/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:678b246d816b94018af5297e72915160e2feb042e0cde1a9397f502ac3a52f41
|
|
||||||
size 194246
|
|
||||||
3
websocket_client-0.44.0.tar.gz
Normal file
3
websocket_client-0.44.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:15f585566e2ea7459136a632b9785aa081093064391878a448c382415e948d72
|
||||||
|
size 194701
|
||||||
Reference in New Issue
Block a user