14
0
forked from pool/python-txWS

- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-txWS?expand=0&rev=11
This commit is contained in:
2025-06-04 06:23:32 +00:00
committed by Git OBS Bridge
commit c4ce424e19
8 changed files with 647 additions and 0 deletions

26
python-txWS-tobytes.patch Normal file
View 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",