mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bastian Stender <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: David Jander <david@protonic.nl>
Subject: [ptxdist] [PATCH 5/5] python3-hbmqtt: new package
Date: Mon, 29 Jan 2018 16:40:16 +0100	[thread overview]
Message-ID: <20180129154016.14890-5-bst@pengutronix.de> (raw)
In-Reply-To: <20180129154016.14890-1-bst@pengutronix.de>

From: David Jander <david@protonic.nl>

Signed-off-by: David Jander <david@protonic.nl>
---
 rules/python3-hbmqtt.in   | 12 +++++++++++
 rules/python3-hbmqtt.make | 54 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)
 create mode 100644 rules/python3-hbmqtt.in
 create mode 100644 rules/python3-hbmqtt.make

diff --git a/rules/python3-hbmqtt.in b/rules/python3-hbmqtt.in
new file mode 100644
index 000000000..e4313876e
--- /dev/null
+++ b/rules/python3-hbmqtt.in
@@ -0,0 +1,12 @@
+## SECTION=python3
+
+config PYTHON3_HBMQTT
+	tristate
+	prompt "python3-hbmqtt"
+	select HOST_PYTHON3_SETUPTOOLS
+	select PYTHON3
+	select PYTHON3_TRANSITIONS
+	select PYTHON3_WEBSOCKETS
+	select PYTHON3_PYYAML
+	help
+	  MQTT client/broker using Python asyncio
diff --git a/rules/python3-hbmqtt.make b/rules/python3-hbmqtt.make
new file mode 100644
index 000000000..a3dade74f
--- /dev/null
+++ b/rules/python3-hbmqtt.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2017 by David Jander <david@protonic.nl>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_HBMQTT) += python3-hbmqtt
+
+#
+# Paths and names
+#
+PYTHON3_HBMQTT_VERSION	:= 0.9
+PYTHON3_HBMQTT_MD5	:= 6789d964c0e3573ca70d20a0e2ff191e
+PYTHON3_HBMQTT		:= python3-hbmqtt-$(PYTHON3_HBMQTT_VERSION)
+PYTHON3_HBMQTT_SUFFIX	:= tar.gz
+PYTHON3_HBMQTT_URL	:= https://github.com/beerfactory/hbmqtt/archive/$(PYTHON3_HBMQTT_VERSION).$(PYTHON3_HBMQTT_SUFFIX)
+PYTHON3_HBMQTT_SOURCE	:= $(SRCDIR)/$(PYTHON3_HBMQTT).$(PYTHON3_HBMQTT_SUFFIX)
+PYTHON3_HBMQTT_DIR	:= $(BUILDDIR)/$(PYTHON3_HBMQTT)
+PYTHON3_HBMQTT_LICENSE	:= MIT
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_HBMQTT_CONF_TOOL	:= python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-hbmqtt.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-hbmqtt)
+	@$(call install_fixup, python3-hbmqtt, PRIORITY, optional)
+	@$(call install_fixup, python3-hbmqtt, SECTION, base)
+	@$(call install_fixup, python3-hbmqtt, AUTHOR, "David Jander <david@protonic.nl>")
+	@$(call install_fixup, python3-hbmqtt, DESCRIPTION, missing)
+
+	@$(call install_glob, python3-hbmqtt, 0, 0, -, \
+		/usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages/hbmqtt,, *.py)
+
+	@$(call install_finish, python3-hbmqtt)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.15.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

      parent reply	other threads:[~2018-01-29 15:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-29 15:40 [ptxdist] [PATCH 1/5] python3-transitions: " Bastian Stender
2018-01-29 15:40 ` [ptxdist] [PATCH 2/5] python3-websockets: " Bastian Stender
2018-01-29 15:40 ` [ptxdist] [PATCH 3/5] libyaml: " Bastian Stender
2018-01-29 15:40 ` [ptxdist] [PATCH 4/5] python3-pyyaml: " Bastian Stender
2018-01-29 15:40 ` Bastian Stender [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=20180129154016.14890-5-bst@pengutronix.de \
    --to=bst@pengutronix.de \
    --cc=david@protonic.nl \
    --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