A WebSocket client for Python. It provides access to low level APIs for
WebSockets. websocket-client implements version hybi-13 of the WebSocket
protocol. This client does not currently support the permessage-deflate
extension from RFC 7692.

Signed-off-by: Matthias Fend <[email protected]>
---
 rules/python3-websocket-client.in   | 12 +++++++
 rules/python3-websocket-client.make | 52 +++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)
 create mode 100644 rules/python3-websocket-client.in
 create mode 100644 rules/python3-websocket-client.make

diff --git a/rules/python3-websocket-client.in 
b/rules/python3-websocket-client.in
new file mode 100644
index 000000000..a4da32f81
--- /dev/null
+++ b/rules/python3-websocket-client.in
@@ -0,0 +1,12 @@
+## SECTION=python3
+
+config PYTHON3_WEBSOCKET_CLIENT
+       tristate
+       select PYTHON3
+       select PYTHON3_SSL
+       prompt "python3-websocket-client"
+       help
+         A WebSocket client for Python. It provides access to low level
+         APIs for WebSockets. websocket-client implements version hybi-13
+         of the WebSocket protocol. This client does not currently support
+         the permessage-deflate extension from RFC 7692.
diff --git a/rules/python3-websocket-client.make 
b/rules/python3-websocket-client.make
new file mode 100644
index 000000000..b7acafe16
--- /dev/null
+++ b/rules/python3-websocket-client.make
@@ -0,0 +1,52 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2021 by Matthias Fend <[email protected]>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_WEBSOCKET_CLIENT) += python3-websocket-client
+
+#
+# Paths and names
+#
+PYTHON3_WEBSOCKET_CLIENT_VERSION       := 1.2.1
+PYTHON3_WEBSOCKET_CLIENT_MD5           := a043b9a04dc10a7c9f333cf55f6222df
+PYTHON3_WEBSOCKET_CLIENT               := 
websocket-client-$(PYTHON3_WEBSOCKET_CLIENT_VERSION)
+PYTHON3_WEBSOCKET_CLIENT_SUFFIX                := tar.gz
+PYTHON3_WEBSOCKET_CLIENT_URL           := $(call ptx/mirror-pypi, 
websocket-client, 
$(PYTHON3_WEBSOCKET_CLIENT).$(PYTHON3_WEBSOCKET_CLIENT_SUFFIX))
+PYTHON3_WEBSOCKET_CLIENT_SOURCE                := 
$(SRCDIR)/$(PYTHON3_WEBSOCKET_CLIENT).$(PYTHON3_WEBSOCKET_CLIENT_SUFFIX)
+PYTHON3_WEBSOCKET_CLIENT_DIR           := 
$(BUILDDIR)/$(PYTHON3_WEBSOCKET_CLIENT)
+PYTHON3_WEBSOCKET_CLIENT_LICENSE       := Apache-2.0
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_WEBSOCKET_CLIENT_CONF_TOOL     := python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-websocket-client.targetinstall:
+       @$(call targetinfo)
+
+       @$(call install_init, python3-websocket-client)
+       @$(call install_fixup, python3-websocket-client, PRIORITY, optional)
+       @$(call install_fixup, python3-websocket-client, SECTION, base)
+       @$(call install_fixup, python3-websocket-client, AUTHOR, "Matthias Fend 
<[email protected]>")
+       @$(call install_fixup, python3-websocket-client, DESCRIPTION, missing)
+
+       @$(call install_glob, python3-websocket-client, 0, 0, -, \
+               $(PYTHON3_SITEPACKAGES),, *.py)
+
+       @$(call install_finish, python3-websocket-client)
+
+       @$(call touch)
+
+# vim: syntax=make
-- 
2.25.1


_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to