Thanks, applied as 5beec8035f91f3f87088cb3e9c53503fd282631f.

Michael

[sent from post-receive hook]

On Sat, 15 Jun 2024 16:59:02 +0200, Roland Hieber <[email protected]> wrote:
> Signed-off-by: Roland Hieber <[email protected]>
> Message-Id: <[email protected]>
> [mol: fix typo in _LICENSE_FILES]
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/rules/python3-aiomqtt.in b/rules/python3-aiomqtt.in
> new file mode 100644
> index 000000000000..b7c6196221e9
> --- /dev/null
> +++ b/rules/python3-aiomqtt.in
> @@ -0,0 +1,14 @@
> +## SECTION=python3
> +
> +config PYTHON3_AIOMQTT
> +     tristate
> +     select HOST_PYTHON3
> +     select HOST_PYTHON3_MARKUPSAFE
> +     select HOST_PYTHON3_POETRY_CORE
> +     select HOST_PYTHON3_POETRY_DYNAMIC_VERSIONING
> +     select HOST_PYTHON3_PYBUILD
> +     select PYTHON3
> +     select PYTHON3_PAHO_MQTT
> +     prompt "aiomqtt"
> +     help
> +       The idiomatic asyncio MQTT client (formerly known as asyncio-mqtt)
> diff --git a/rules/python3-aiomqtt.make b/rules/python3-aiomqtt.make
> new file mode 100644
> index 000000000000..225da495f99d
> --- /dev/null
> +++ b/rules/python3-aiomqtt.make
> @@ -0,0 +1,55 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2024 by Roland Hieber <[email protected]>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_PYTHON3_AIOMQTT) += python3-aiomqtt
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_AIOMQTT_VERSION      := 2.1.0
> +PYTHON3_AIOMQTT_MD5  := 83a05e30a73feb6131a064f83e67a710
> +PYTHON3_AIOMQTT              := aiomqtt-$(PYTHON3_AIOMQTT_VERSION)
> +PYTHON3_AIOMQTT_SUFFIX       := tar.gz
> +PYTHON3_AIOMQTT_URL  := $(call ptx/mirror-pypi, aiomqtt, 
> $(PYTHON3_AIOMQTT).$(PYTHON3_AIOMQTT_SUFFIX))
> +PYTHON3_AIOMQTT_SOURCE       := 
> $(SRCDIR)/$(PYTHON3_AIOMQTT).$(PYTHON3_AIOMQTT_SUFFIX)
> +PYTHON3_AIOMQTT_DIR  := $(BUILDDIR)/$(PYTHON3_AIOMQTT)
> +PYTHON3_AIOMQTT_LICENSE      := BSD-3-Clause
> +PYTHON3_AIOMQTT_LICENSE_FILES        := \
> +     
> file://README.md;startline=76;endline=78;md5=077fa167040809425eeaa14a6f641b74 
> \
> +     file://LICENSE;md5=a462083fa4d830bdcf8c22a8ddf453cf
> +
> +# 
> ----------------------------------------------------------------------------
> +# Prepare
> +# 
> ----------------------------------------------------------------------------
> +
> +PYTHON3_AIOMQTT_CONF_TOOL    := python3
> +
> +# 
> ----------------------------------------------------------------------------
> +# Target-Install
> +# 
> ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-aiomqtt.targetinstall:
> +     @$(call targetinfo)
> +
> +     @$(call install_init, python3-aiomqtt)
> +     @$(call install_fixup, python3-aiomqtt,PRIORITY,optional)
> +     @$(call install_fixup, python3-aiomqtt,SECTION,base)
> +     @$(call install_fixup, python3-aiomqtt,AUTHOR,"Roland Hieber 
> <[email protected]>")
> +     @$(call install_fixup, python3-aiomqtt,DESCRIPTION,missing)
> +
> +     @$(call install_glob, python3-aiomqtt, 0, 0, -, \
> +             $(PYTHON3_SITEPACKAGES),, *.py)
> +
> +     @$(call install_finish, python3-aiomqtt)
> +
> +     @$(call touch)
> +
> +# vim: syntax=make

Reply via email to