Compare commits

4 Commits

Author SHA256 Message Date
c482b76a91 Accepting request 1285288 from devel:languages:python
- Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/request/show/1285288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ws4py?expand=0&rev=7
2025-06-13 16:45:11 +00:00
08d545d37c - Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ws4py?expand=0&rev=15
2025-06-13 02:58:52 +00:00
7da57d8bcd Accepting request 1265295 from devel:languages:python
- update to 0.6.0:
  * Upgrade Python support to include 3.6, 3.7, 3.8,  3.9, 3.10,
    3.11 and 3.12
  * Drop support for Python 3.* < 3.6 (Python 2.7 remains)
  * Fix tox and github action so they work nicely together
  * Add a release workflow to Pypi which uses trusted publisher

OBS-URL: https://build.opensuse.org/request/show/1265295
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ws4py?expand=0&rev=6
2025-03-31 09:41:51 +00:00
c83a741a76 - update to 0.6.0:
* Upgrade Python support to include 3.6, 3.7, 3.8,  3.9, 3.10,
    3.11 and 3.12
  * Drop support for Python 3.* < 3.6 (Python 2.7 remains)
  * Fix tox and github action so they work nicely together
  * Add a release workflow to Pypi which uses trusted publisher

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ws4py?expand=0&rev=13
2025-03-28 20:48:00 +00:00
4 changed files with 28 additions and 10 deletions

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Fri Jun 13 02:45:11 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Fri Mar 28 20:47:08 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 0.6.0:
* Upgrade Python support to include 3.6, 3.7, 3.8, 3.9, 3.10,
3.11 and 3.12
* Drop support for Python 3.* < 3.6 (Python 2.7 remains)
* Fix tox and github action so they work nicely together
* Add a release workflow to Pypi which uses trusted publisher
-------------------------------------------------------------------
Thu Apr 28 15:49:52 UTC 2022 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package python-ws4py
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
@@ -26,14 +25,16 @@
%bcond_with test
%endif
Name: python-ws4py%{psuffix}
Version: 0.5.1
Version: 0.6.0
Release: 0
Summary: WebSocket client and server library for Python
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/Lawouach/WebSocket-for-Python
Source: https://files.pythonhosted.org/packages/source/w/ws4py/ws4py-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -56,11 +57,11 @@ defined in RFC 6455.
rm test/test_cherrypy.py
%build
%python_build
%pyproject_wheel
%install
%if !%{with test}
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
@@ -75,7 +76,8 @@ sed -i 's:from mock:from unittest.mock:' test/test_*.py
%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/*
%{python_sitelib}/ws4py
%{python_sitelib}/ws4py-%{version}.dist-info
%endif
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:29d073d7f2e006373e6a848b1d00951a1107eb81f3742952be905429dc5a5483
size 51408

3
ws4py-0.6.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f87b19b773f0a0744a38f3afa36a803286dd3197f0bb35d9b75293ec7002d19
size 53288