mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bruno Thomsen <bruno.thomsen@gmail.com>
Subject: Re: [ptxdist] [APPLIED] python3-paho-mqtt: new package
Date: Fri, 29 Sep 2023 18:59:37 +0200	[thread overview]
Message-ID: <20230929165937.3083059-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20230928172746.4364-1-bruno.thomsen@gmail.com>

Thanks, applied as 9219a63350666b5c44425153490a4e0cae985741.

Michael

[sent from post-receive hook]

On Fri, 29 Sep 2023 18:59:37 +0200, Bruno Thomsen <bruno.thomsen@gmail.com> wrote:
> The MQTT protocol is a machine-to-machine (M2M)/”Internet of Things”
> connectivity protocol.
> 
> A MQTT client publish messages to a MQTT broker.
> 
> Python package is dual licensed.
> 
> Eclipse Distribution License 1.0 is identical to BSD-3-Clause
> and SPDX[1] has not created a separate entry for it.
> 
> [1] https://github.com/spdx/license-list-XML/issues/1149
> 
> Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
> Message-Id: <20230928172746.4364-1-bruno.thomsen@gmail.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/python3-paho-mqtt.in b/rules/python3-paho-mqtt.in
> new file mode 100644
> index 000000000000..8f8ece378a2c
> --- /dev/null
> +++ b/rules/python3-paho-mqtt.in
> @@ -0,0 +1,9 @@
> +## SECTION=python3
> +
> +config PYTHON3_PAHO_MQTT
> +	tristate
> +	select PYTHON3
> +	prompt "paho-mqtt"
> +	help
> +	  Eclipse Paho MQTT Python client library, which implements
> +	  versions 5.0, 3.1.1, and 3.1 of the MQTT protocol.
> diff --git a/rules/python3-paho-mqtt.make b/rules/python3-paho-mqtt.make
> new file mode 100644
> index 000000000000..2e82b1fbf425
> --- /dev/null
> +++ b/rules/python3-paho-mqtt.make
> @@ -0,0 +1,55 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2023 by Bruno Thomsen <bruno.thomsen@gmail.com>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PYTHON3_PAHO_MQTT) += python3-paho-mqtt
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_PAHO_MQTT_VERSION	:= 1.6.1
> +PYTHON3_PAHO_MQTT_MD5		:= bdb20f88db291fdb4a0fe804c0f29316
> +PYTHON3_PAHO_MQTT		:= paho-mqtt-$(PYTHON3_PAHO_MQTT_VERSION)
> +PYTHON3_PAHO_MQTT_SUFFIX	:= tar.gz
> +PYTHON3_PAHO_MQTT_URL		:= $(call ptx/mirror-pypi, paho-mqtt, $(PYTHON3_PAHO_MQTT).$(PYTHON3_PAHO_MQTT_SUFFIX))
> +PYTHON3_PAHO_MQTT_SOURCE	:= $(SRCDIR)/$(PYTHON3_PAHO_MQTT).$(PYTHON3_PAHO_MQTT_SUFFIX)
> +PYTHON3_PAHO_MQTT_DIR		:= $(BUILDDIR)/$(PYTHON3_PAHO_MQTT)
> +PYTHON3_PAHO_MQTT_LICENSE	:= EPL-2.0 OR BSD-3-Clause
> +PYTHON3_PAHO_MQTT_LICENSE_FILES	:= \
> +	file://LICENSE.txt;md5=8e5f264c6988aec56808a3a11e77b913 \
> +	file://edl-v10;md5=c09f121939f063aeb5235972be8c722c
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +PYTHON3_PAHO_MQTT_CONF_TOOL	:= python3
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-paho-mqtt.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, python3-paho-mqtt)
> +	@$(call install_fixup, python3-paho-mqtt,PRIORITY,optional)
> +	@$(call install_fixup, python3-paho-mqtt,SECTION,base)
> +	@$(call install_fixup, python3-paho-mqtt,AUTHOR,"Bruno Thomsen <bruno.thomsen@gmail.com>")
> +	@$(call install_fixup, python3-paho-mqtt,DESCRIPTION,missing)
> +
> +	@$(call install_glob, python3-paho-mqtt, 0, 0, -, \
> +		$(PYTHON3_SITEPACKAGES),, *.py)
> +
> +	@$(call install_finish, python3-paho-mqtt)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make



      reply	other threads:[~2023-09-29 17:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-28 17:27 [ptxdist] [PATCH] " Bruno Thomsen
2023-09-29 16:59 ` 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=20230929165937.3083059-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=bruno.thomsen@gmail.com \
    --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