mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Matthias Fend <matthias.fend@emfend.at>
Subject: Re: [ptxdist] [APPLIED] python3-websocket-client: new package
Date: Tue, 26 Oct 2021 11:09:25 +0200	[thread overview]
Message-ID: <20211026090925.1681963-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20211019115049.3618088-1-matthias.fend@emfend.at>

Thanks, applied as 30330aa36e00e830a0027e47c080c23c7400bddc.

Michael

[sent from post-receive hook]

On Tue, 26 Oct 2021 11:09:25 +0200, Matthias Fend <matthias.fend@emfend.at> wrote:
> 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 <matthias.fend@emfend.at>
> Message-Id: <20211019115049.3618088-1-matthias.fend@emfend.at>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/python3-websocket-client.in b/rules/python3-websocket-client.in
> new file mode 100644
> index 000000000000..a4da32f81c60
> --- /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 000000000000..b7acafe16db4
> --- /dev/null
> +++ b/rules/python3-websocket-client.make
> @@ -0,0 +1,52 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2021 by Matthias Fend <matthias.fend@emfend.at>
> +#
> +# 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 <matthias.fend@emfend.at>")
> +	@$(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

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


      reply	other threads:[~2021-10-26  9:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-19 11:50 [ptxdist] [PATCH] " Matthias Fend
2021-10-26  9:09 ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211026090925.1681963-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=matthias.fend@emfend.at \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox