From: Roland Hieber <rhi@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [ptxdist] [PATCH 11/13] python3-aiomqtt: new package
Date: Wed, 22 May 2024 23:15:41 +0200 [thread overview]
Message-ID: <20240522211543.1509741-11-rhi@pengutronix.de> (raw)
In-Reply-To: <20240522211543.1509741-1-rhi@pengutronix.de>
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
rules/python3-aiomqtt.in | 14 ++++++++++
rules/python3-aiomqtt.make | 55 ++++++++++++++++++++++++++++++++++++++
2 files changed, 69 insertions(+)
create mode 100644 rules/python3-aiomqtt.in
create mode 100644 rules/python3-aiomqtt.make
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..239c7112549f
--- /dev/null
+++ b/rules/python3-aiomqtt.make
@@ -0,0 +1,55 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Roland Hieber <rhi@pengutronix.de>
+#
+# 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 := \
+ flie://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 <rhi@pengutronix.de>")
+ @$(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
--
2.39.2
next prev parent reply other threads:[~2024-05-22 21:16 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-22 21:15 [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 02/13] nanopb: new package: tiny protobuf implementation Roland Hieber
2024-05-23 6:43 ` Michael Olbrich
2024-05-22 21:15 ` [ptxdist] [PATCH 03/13] paho-mqtt-cpp: version bump 1.0.1 -> 1.2.0 Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 04/13] python3-jinja2: pin down license files Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 05/13] host-python3-markupsafe: add host package Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 06/13] host-python3-jinja2: " Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 07/13] host-python3-dunamai: add new " Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 08/13] host-python3-tomlkit: " Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 09/13] host-python3-poetry-core: " Roland Hieber
2024-05-22 21:15 ` [ptxdist] [PATCH 10/13] host-python3-poetry-dynamic-versioning: " Roland Hieber
2024-05-22 21:15 ` Roland Hieber [this message]
2024-05-22 21:15 ` [ptxdist] [PATCH 12/13] python3-periphery: new package Roland Hieber
2024-05-23 6:46 ` Michael Olbrich
2024-05-22 21:15 ` [ptxdist] [PATCH 13/13] python3-protobuf: " Roland Hieber
2024-05-23 6:46 ` Michael Olbrich
2024-05-23 6:40 ` [ptxdist] [PATCH 01/13] atk: rename to at-spi2-core; version bump 2.38.0 -> 2.52.0 Michael Olbrich
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=20240522211543.1509741-11-rhi@pengutronix.de \
--to=rhi@pengutronix.de \
--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