forked from pool/python-wsaccel
- update to 0.6.3:
* support python 3.10 - drop fix-encoding.patch: obsolete OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wsaccel?expand=0&rev=4
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:209d678c22f9c8414aa9de2353d4ca5cc94119553f660cec7d189e9ccc3accf1
|
||||
size 9632
|
@@ -1,11 +0,0 @@
|
||||
Index: wsaccel-0.6.2/tests/test_4.py
|
||||
===================================================================
|
||||
--- wsaccel-0.6.2.orig/tests/test_4.py
|
||||
+++ wsaccel-0.6.2/tests/test_4.py
|
||||
@@ -3,5 +3,5 @@ import wsaccel.utf8validator
|
||||
|
||||
def test_validate():
|
||||
v = wsaccel.utf8validator.Utf8Validator()
|
||||
- x = "Hello-µ@ßöäüàá-UTF-8!!" # taken from case 6.2.1
|
||||
+ x = "Hello-µ@ßöäüàá-UTF-8!!".encode('utf-8') # taken from case 6.2.1
|
||||
assert v.validate(x) == (True, True, 29, 29)
|
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 18 12:15:17 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.6.3:
|
||||
* support python 3.10
|
||||
|
||||
- drop fix-encoding.patch: obsolete
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 26 11:14:27 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-wsaccel
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,15 +18,14 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-wsaccel
|
||||
Version: 0.6.2
|
||||
Version: 0.6.3
|
||||
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/%{version}.tar.gz
|
||||
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
|
||||
Patch0: fix-encoding.patch
|
||||
BuildRequires: %{python_module Cython >= 0.16}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytest}
|
||||
@@ -43,7 +42,6 @@ WSAccell is WebSocket accelerator for `AutobahnPython <http://autobahn.ws/python
|
||||
|
||||
%prep
|
||||
%setup -q -n wsaccel-%{version}
|
||||
%patch0 -p1
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
|
3
v0.6.3.tar.gz
Normal file
3
v0.6.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:195d317fa7e1d083c98006ff6f3b799327451ce023e5d8b74b48ab341196a0a4
|
||||
size 9723
|
Reference in New Issue
Block a user