Thanks, applied as 9219a63350666b5c44425153490a4e0cae985741.

Michael

[sent from post-receive hook]

On Fri, 29 Sep 2023 18:59:37 +0200, Bruno Thomsen <bruno.thom...@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.thom...@gmail.com>
> Message-Id: <20230928172746.4364-1-bruno.thom...@gmail.com>
> Signed-off-by: Michael Olbrich <m.olbr...@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.thom...@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.thom...@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 via email to