Hello community, here is the log from the commit of package python-websocket-client for openSUSE:Factory checked in at 2017-09-05 15:19:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-websocket-client (Old) and /work/SRC/openSUSE:Factory/.python-websocket-client.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-websocket-client" Tue Sep 5 15:19:40 2017 rev:8 rq:521008 version:0.44.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-websocket-client/python-websocket-client.changes 2016-12-08 00:30:35.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-websocket-client.new/python-websocket-client.changes 2017-09-05 15:19:40.847617207 +0200 @@ -1,0 +2,63 @@ +Tue Sep 5 07:57:36 UTC 2017 - dmueller@suse.com + +- properly provide/obsolete python3-websocket-client-test + +------------------------------------------------------------------- +Mon Aug 28 16:25:44 UTC 2017 - tbechtold@suse.com + +- Fix build for Leap 42.3 + +------------------------------------------------------------------- +Tue Aug 15 15:10:45 UTC 2017 - toddrme2178@gmail.com + +- Update license to LGPL 3 +- Fix rpmlint issues + +------------------------------------------------------------------- +Mon Jul 24 23:55:01 UTC 2017 - jengelh@inai.de + +- Grammatical/Typographic corrections to the description. + +------------------------------------------------------------------- +Fri Jul 21 17:46:23 UTC 2017 - toddrme2178@gmail.com + +- Fix singlespec macro usage +- Fix source URL. + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- Old: ---- websocket_client-0.37.0.tar.gz New: ---- websocket_client-0.44.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-websocket-client.spec ++++++ --- /var/tmp/diff_new_pack.D7Pbkr/_old 2017-09-05 15:19:41.303553119 +0200 +++ /var/tmp/diff_new_pack.D7Pbkr/_new 2017-09-05 15:19:41.307552557 +0200 @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -18,93 +18,76 @@ # RHEL provides this backport in its own repository %if 0%{?rhel} == 7 -%define backports python-backports-ssl_match_hostname +%define ssl_match_hostname python-backports-ssl_match_hostname %else -%define backports python-backports.ssl_match_hostname +%define ssl_match_hostname python-backports.ssl_match_hostname %endif +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without test Name: python-websocket-client -Version: 0.37.0 +Version: 0.44.0 Release: 0 Summary: WebSocket client implementation -License: LGPL-2.1 +License: LGPL-3.0 Group: Development/Languages/Python Url: https://github.com/liris/websocket-client/releases -Source0: https://pypi.io/packages/source/w/websocket-client/websocket_client-%{version}.tar.gz -BuildRequires: %backports -BuildRequires: python-setuptools -BuildRequires: python-six -Requires: %backports -Requires: python +Source0: https://files.pythonhosted.org/packages/source/w/websocket-client/websocket_client-%{version}.tar.gz +BuildRequires: %ssl_match_hostname +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-six Requires(post): update-alternatives Requires(postun): update-alternatives -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -BuildRequires: python-argparse -BuildRequires: python-unittest2 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else -BuildArch: noarch +%ifpython2 +Requires: %ssl_match_hostname %endif +Provides: python-websocket-client-test = %{version} +Obsoletes: python-websocket-client-test < %{version} +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. +%python_subpackages -%package test -Summary: Unit tests -Group: Development/Languages/Python -Requires: python-websocket-client = %{version} +%description +The websocket-client module is a WebSocket client for Python. This provides the +low-level APIs for WebSocket. All APIs are synchronous functions. -%description test -Unit tests for websocket-client +Websocket-client supports only hybi-13. %prep %setup -q -n websocket_client-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_clone -a %{buildroot}%{_bindir}/wsdump.py + # Use the system certs -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 +%python_expand rm %{buildroot}/%{$python_sitelib}/websocket/cacert.pem + +%python_expand %fdupes %{buildroot}/%{$python_sitelib} +%if %{with test} %check -python websocket/tests/test_websocket.py +%python_exec websocket/tests/test_websocket.py +%endif %post -update-alternatives \ - --install %{_bindir}/wsdump.py wsdump.py %{_bindir}/wsdump.py-%{py_ver} 20 +%python_install_alternative wsdump.py %postun -if [ $1 -eq 0 ] ; then - update-alternatives --remove wsdump.py %{_bindir}/wsdump.py-%{py_ver} -fi +%python_uninstall_alternative wsdump.py -%files +%files %{python_files} %defattr(-,root,root,-) %doc LICENSE README.rst -%dir %{python_sitelib}/websocket -%dir %{python_sitelib}/websocket_client-%{version}-py*.egg-info -%{_bindir}/wsdump.py -%{_bindir}/wsdump.py-%{py_ver} -%exclude %{python_sitelib}/websocket/tests/ -%{python_sitelib}/websocket/* -%{python_sitelib}/*egg-info/* -%ghost %{_sysconfdir}/alternatives/wsdump.py - -%files test -%defattr(-,root,root,-) -%dir %{python_sitelib}/websocket/tests -%{python_sitelib}/websocket/tests/* +%python_alternative %{_bindir}/wsdump.py +%{python_sitelib}/websocket/ +%{python_sitelib}/websocket_client-%{version}-py*.egg-info %changelog ++++++ websocket_client-0.37.0.tar.gz -> websocket_client-0.44.0.tar.gz ++++++ ++++ 2584 lines of diff (skipped)