14
0

- update to 0.6.6:

* Support Python 3.12
- use packaged license
- Update to 0.6.4
- drop fix-encoding.patch: obsolete

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsaccel?expand=0&rev=9
This commit is contained in:
2023-12-13 10:25:29 +00:00
committed by Git OBS Bridge
parent 00624b0cec
commit 612ad274f3
5 changed files with 21 additions and 27 deletions

13
LICENSE
View File

@@ -1,13 +0,0 @@
Copyright 2013-2015 INADA Naoki <songofacandy@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Dec 13 10:24:56 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.6.6:
* Support Python 3.12
- use packaged license
-------------------------------------------------------------------
Wed Nov 9 19:47:27 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-wsaccel
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,18 +18,18 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-wsaccel
Version: 0.6.4
Version: 0.6.6
Release: 0
Summary: Accelerator for ws4py and AutobahnPython
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/methane/wsaccel
Source: https://github.com/methane/wsaccel/archive/v%{version}.tar.gz
Source1: https://raw.githubusercontent.com/methane/wsaccel/master/LICENSE
BuildRequires: %{python_module Cython >= 0.16}
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%python_subpackages
@@ -41,13 +41,12 @@ WSAccell is WebSocket accelerator for `AutobahnPython <http://autobahn.ws/python
%prep
%setup -q -n wsaccel-%{version}
cp %{SOURCE1} .
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
@@ -57,6 +56,7 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} pytest-%{python3_bin_suffix} tests
%files %{python_files}
%doc ChangeLog README.rst
%license LICENSE
%{python_sitearch}/*
%{python_sitearch}/wsaccel
%{python_sitearch}/wsaccel-%{version}.dist-info
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3972e7d53fc2b90e2086eb6ae1febd25bbb85d3151e2e8053e5015345fe89ef1
size 9947

3
v0.6.6.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:195c53d8e0b7b723ed773b60218e96b83dd24210174e7f5a8d771a36395f640e
size 9930