forked from pool/python-txWS
Accepting request 1089605 from home:pgajdos:python
- do not require six - added patches fix https://github.com/MostAwesomeDude/txWS/issues/36 + python-txWS-no-python2.patch05aadd036a
+ python-txWS-tobytes.patch - added sources9e3a2a464b
+ tests.py OBS-URL: https://build.opensuse.org/request/show/1089605 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-txWS?expand=0&rev=9
This commit is contained in:
26
python-txWS-tobytes.patch
Normal file
26
python-txWS-tobytes.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
Index: txWS-0.9.1/txws.py
|
||||
===================================================================
|
||||
--- txWS-0.9.1.orig/txws.py
|
||||
+++ txWS-0.9.1/txws.py
|
||||
@@ -211,7 +211,7 @@ def mask(buf, key):
|
||||
buf = array.array("B", buf)
|
||||
for i in range(len(buf)):
|
||||
buf[i] ^= key[i % 4]
|
||||
- return buf.tostring()
|
||||
+ return buf.tobytes()
|
||||
|
||||
def make_hybi07_frame(buf, opcode=0x1):
|
||||
"""
|
||||
Index: txWS-0.9.1/setup.py
|
||||
===================================================================
|
||||
--- txWS-0.9.1.orig/setup.py
|
||||
+++ txWS-0.9.1/setup.py
|
||||
@@ -5,7 +5,7 @@ from setuptools import setup
|
||||
setup(
|
||||
name="txWS",
|
||||
py_modules=["txws"],
|
||||
- setup_requires=["vcversioner", "six"],
|
||||
+ setup_requires=["vcversioner"],
|
||||
vcversioner={},
|
||||
author="Corbin Simpson",
|
||||
author_email="simpsoco@osuosl.org",
|
Reference in New Issue
Block a user