mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: David Jander <david@protonic.nl>
To: ptxdist@pengutronix.de, Robin van der Gracht <robin@protonic.nl>
Cc: Michael Olbrich <m.olbrich@pengutronix.de>,
	David Jander <david@protonic.nl>
Subject: [ptxdist] [PATCH V2 2/2] python3-zeroconf: new package
Date: Fri,  6 May 2022 13:22:26 +0200	[thread overview]
Message-ID: <20220506112226.1534520-3-david@protonic.nl> (raw)
In-Reply-To: <20220506112226.1534520-1-david@protonic.nl>

Signed-off-by: David Jander <david@protonic.nl>
---
 rules/python3-zeroconf.in   |  9 +++++++
 rules/python3-zeroconf.make | 53 +++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)
 create mode 100644 rules/python3-zeroconf.in
 create mode 100644 rules/python3-zeroconf.make

diff --git a/rules/python3-zeroconf.in b/rules/python3-zeroconf.in
new file mode 100644
index 000000000..5b6d7090f
--- /dev/null
+++ b/rules/python3-zeroconf.in
@@ -0,0 +1,9 @@
+## SECTION=python3
+
+config PYTHON3_ZEROCONF
+	tristate
+	select PYTHON3
+	select PYTHON3_IFADDR
+	prompt "zeroconf"
+	help
+	  Multicast DNS Service Discovery for Python.
diff --git a/rules/python3-zeroconf.make b/rules/python3-zeroconf.make
new file mode 100644
index 000000000..433ce971a
--- /dev/null
+++ b/rules/python3-zeroconf.make
@@ -0,0 +1,53 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2022 by David Jander <david@protonic.nl>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_ZEROCONF) += python3-zeroconf
+
+#
+# Paths and names
+#
+PYTHON3_ZEROCONF_VERSION	:= 0.26.1
+PYTHON3_ZEROCONF_MD5		:= 86a217cb3ef200c7afb104c9253aa0b7
+PYTHON3_ZEROCONF		:= zeroconf-$(PYTHON3_ZEROCONF_VERSION)
+PYTHON3_ZEROCONF_SUFFIX		:= tar.gz
+PYTHON3_ZEROCONF_URL		:= $(call ptx/mirror-pypi, zeroconf, $(PYTHON3_ZEROCONF).$(PYTHON3_ZEROCONF_SUFFIX))
+PYTHON3_ZEROCONF_SOURCE		:= $(SRCDIR)/$(PYTHON3_ZEROCONF).$(PYTHON3_ZEROCONF_SUFFIX)
+PYTHON3_ZEROCONF_DIR		:= $(BUILDDIR)/$(PYTHON3_ZEROCONF)
+PYTHON3_ZEROCONF_LICENSE	:= LGPL-2.1-or-later
+PYTHON3_ZEROCONF_LICENSE_FILES	:= file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_ZEROCONF_CONF_TOOL	:= python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-zeroconf.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-zeroconf)
+	@$(call install_fixup, python3-zeroconf,PRIORITY,optional)
+	@$(call install_fixup, python3-zeroconf,SECTION,base)
+	@$(call install_fixup, python3-zeroconf,AUTHOR,"David Jander <david@protonic.nl>")
+	@$(call install_fixup, python3-zeroconf,DESCRIPTION,missing)
+
+	@$(call install_glob, python3-zeroconf, 0, 0, -, \
+		$(PYTHON3_SITEPACKAGES),, *.py)
+
+	@$(call install_finish, python3-zeroconf)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.32.0




  parent reply	other threads:[~2022-05-06 11:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-06 11:22 [ptxdist] [PATCH V2 0/2] Add python3-zeroconf David Jander
2022-05-06 11:22 ` [ptxdist] [PATCH V2 1/2] python3-ifaddr: new package David Jander
2022-05-09  6:29   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-05-06 11:22 ` David Jander [this message]
2022-05-09  6:29   ` [ptxdist] [APPLIED] python3-zeroconf: " 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=20220506112226.1534520-3-david@protonic.nl \
    --to=david@protonic.nl \
    --cc=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    --cc=robin@protonic.nl \
    --subject='Re: [ptxdist] [PATCH V2 2/2] python3-zeroconf: new package' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox