14
0

Accepting request 1194153 from home:yeey:branches:devel:languages:python

- Release 1.0.0
  * New async client and server #28 (commit)
  * On a closed connection, return buffered input before raising an
    exception #30 (commit)
  * Do not duplicate SSLSocket instances #26 (commit)
  * Handle broken pipe errors in background thread #29 (commit)
  * Remove unused argument (commit)
  * Eliminate race conditions during testing #27 (commit)
  * Remove python 3.7 from unit tests (commit)

OBS-URL: https://build.opensuse.org/request/show/1194153
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simple-websocket?expand=0&rev=1
This commit is contained in:
2024-08-21 11:26:36 +00:00
committed by Git OBS Bridge
commit a8b4aea5b1
5 changed files with 102 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,12 @@
-------------------------------------------------------------------
Wed Aug 14 19:43:32 UTC 2024 - Guang Yee <gyee@suse.com>
- Release 1.0.0
* New async client and server #28 (commit)
* On a closed connection, return buffered input before raising an
exception #30 (commit)
* Do not duplicate SSLSocket instances #26 (commit)
* Handle broken pipe errors in background thread #29 (commit)
* Remove unused argument (commit)
* Eliminate race conditions during testing #27 (commit)
* Remove python 3.7 from unit tests (commit)

View File

@@ -0,0 +1,63 @@
#
# spec file for package python-simple-websocket
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-simple-websocket
Version: 1.0.0
Release: 0
Summary: Simple WebSocket server and client for Python
License: MIT
URL: https://github.com/miguelgrinberg/simple-websocket
Source: https://files.pythonhosted.org/packages/source/s/simple-websocket/simple-websocket-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
# SECTION test requirements
BuildRequires: %{python_module wsproto}
# /SECTION
BuildRequires: fdupes
Requires: python-wsproto
Suggests: python-sphinx
BuildArch: noarch
%python_subpackages
%description
Simple WebSocket server and client for Python
%prep
%autosetup -p1 -n simple-websocket-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# FIXME: Disable check for now as the upstream tarball test files are incomplete. i.e. helpers.py
# is needed by excluded from the release tarball for whatever reason. Hence, the tests will
# inevitably failed without it.
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/simple_websocket
%{python_sitelib}/simple_websocket-%{version}.dist-info
%changelog

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:17d2c72f4a2bd85174a97e3e4c88b01c40c3f81b7b648b0cc3ce1305968928c8
size 13071