mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH V2 0/2] Add python3-zeroconf
@ 2022-05-06 11:22 David Jander
  2022-05-06 11:22 ` [ptxdist] [PATCH V2 1/2] python3-ifaddr: new package David Jander
  2022-05-06 11:22 ` [ptxdist] [PATCH V2 2/2] python3-zeroconf: " David Jander
  0 siblings, 2 replies; 5+ messages in thread
From: David Jander @ 2022-05-06 11:22 UTC (permalink / raw)
  To: ptxdist, Robin van der Gracht; +Cc: Michael Olbrich, David Jander

Python3-zeroconf is a library that is compatible with Bonjour and Avahi,
and does Multicast DNS Service Discovery.
It requires python3-ifaddr, which is has a sub-set of the functionality
of python3-netifaces, but is easier to build and smaller.

Changes since V1:
 - Corrected license syntax and added license files

David Jander (2):
  python3-ifaddr: new package
  python3-zeroconf: new package

 rules/python3-ifaddr.in     |  9 +++++++
 rules/python3-ifaddr.make   | 53 +++++++++++++++++++++++++++++++++++++
 rules/python3-zeroconf.in   |  9 +++++++
 rules/python3-zeroconf.make | 53 +++++++++++++++++++++++++++++++++++++
 4 files changed, 124 insertions(+)
 create mode 100644 rules/python3-ifaddr.in
 create mode 100644 rules/python3-ifaddr.make
 create mode 100644 rules/python3-zeroconf.in
 create mode 100644 rules/python3-zeroconf.make

-- 
2.32.0




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ptxdist] [PATCH V2 1/2] python3-ifaddr: new package
  2022-05-06 11:22 [ptxdist] [PATCH V2 0/2] Add python3-zeroconf David Jander
@ 2022-05-06 11:22 ` David Jander
  2022-05-09  6:29   ` [ptxdist] [APPLIED] " Michael Olbrich
  2022-05-06 11:22 ` [ptxdist] [PATCH V2 2/2] python3-zeroconf: " David Jander
  1 sibling, 1 reply; 5+ messages in thread
From: David Jander @ 2022-05-06 11:22 UTC (permalink / raw)
  To: ptxdist, Robin van der Gracht; +Cc: Michael Olbrich, David Jander

Needed for python3-zeroconf

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

diff --git a/rules/python3-ifaddr.in b/rules/python3-ifaddr.in
new file mode 100644
index 000000000..250b8b417
--- /dev/null
+++ b/rules/python3-ifaddr.in
@@ -0,0 +1,9 @@
+## SECTION=python3
+
+config PYTHON3_IFADDR
+	tristate
+	select PYTHON3
+	prompt "ifaddr"
+	help
+	  ifaddr is a small Python library that allows you to find all
+	  the Ethernet and IP addresses of the computer.
diff --git a/rules/python3-ifaddr.make b/rules/python3-ifaddr.make
new file mode 100644
index 000000000..3f3e3faa9
--- /dev/null
+++ b/rules/python3-ifaddr.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_IFADDR) += python3-ifaddr
+
+#
+# Paths and names
+#
+PYTHON3_IFADDR_VERSION		:= 0.1.7
+PYTHON3_IFADDR_MD5		:= 97c4eb7505643b5f1fe17733cb42abd9
+PYTHON3_IFADDR			:= ifaddr-$(PYTHON3_IFADDR_VERSION)
+PYTHON3_IFADDR_SUFFIX		:= tar.gz
+PYTHON3_IFADDR_URL		:= $(call ptx/mirror-pypi, ifaddr, $(PYTHON3_IFADDR).$(PYTHON3_IFADDR_SUFFIX))
+PYTHON3_IFADDR_SOURCE		:= $(SRCDIR)/$(PYTHON3_IFADDR).$(PYTHON3_IFADDR_SUFFIX)
+PYTHON3_IFADDR_DIR		:= $(BUILDDIR)/$(PYTHON3_IFADDR)
+PYTHON3_IFADDR_LICENSE		:= MIT
+PYTHON3_IFADDR_LICENSE_FILES	:= file://LICENSE.txt;md5=8debe8d42320ec0ff24665319b625a5e
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_IFADDR_CONF_TOOL	:= python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-ifaddr.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, python3-ifaddr)
+	@$(call install_fixup, python3-ifaddr,PRIORITY,optional)
+	@$(call install_fixup, python3-ifaddr,SECTION,base)
+	@$(call install_fixup, python3-ifaddr,AUTHOR,"David Jander <david@protonic.nl>")
+	@$(call install_fixup, python3-ifaddr,DESCRIPTION,missing)
+
+	@$(call install_glob, python3-ifaddr, 0, 0, -, \
+		$(PYTHON3_SITEPACKAGES),, *.py)
+
+	@$(call install_finish, python3-ifaddr)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.32.0




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ptxdist] [PATCH V2 2/2] python3-zeroconf: new package
  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-06 11:22 ` David Jander
  2022-05-09  6:29   ` [ptxdist] [APPLIED] " Michael Olbrich
  1 sibling, 1 reply; 5+ messages in thread
From: David Jander @ 2022-05-06 11:22 UTC (permalink / raw)
  To: ptxdist, Robin van der Gracht; +Cc: Michael Olbrich, David Jander

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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] [APPLIED] python3-ifaddr: new package
  2022-05-06 11:22 ` [ptxdist] [PATCH V2 1/2] python3-ifaddr: new package David Jander
@ 2022-05-09  6:29   ` Michael Olbrich
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Olbrich @ 2022-05-09  6:29 UTC (permalink / raw)
  To: ptxdist; +Cc: David Jander

Thanks, applied as 75030ddccf41213eb398b3503adda84281b016fb.

Michael

[sent from post-receive hook]

On Mon, 09 May 2022 08:29:25 +0200, David Jander <david@protonic.nl> wrote:
> Needed for python3-zeroconf
> 
> Signed-off-by: David Jander <david@protonic.nl>
> Message-Id: <20220506112226.1534520-2-david@protonic.nl>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/python3-ifaddr.in b/rules/python3-ifaddr.in
> new file mode 100644
> index 000000000000..250b8b41796b
> --- /dev/null
> +++ b/rules/python3-ifaddr.in
> @@ -0,0 +1,9 @@
> +## SECTION=python3
> +
> +config PYTHON3_IFADDR
> +	tristate
> +	select PYTHON3
> +	prompt "ifaddr"
> +	help
> +	  ifaddr is a small Python library that allows you to find all
> +	  the Ethernet and IP addresses of the computer.
> diff --git a/rules/python3-ifaddr.make b/rules/python3-ifaddr.make
> new file mode 100644
> index 000000000000..3f3e3faa92dc
> --- /dev/null
> +++ b/rules/python3-ifaddr.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_IFADDR) += python3-ifaddr
> +
> +#
> +# Paths and names
> +#
> +PYTHON3_IFADDR_VERSION		:= 0.1.7
> +PYTHON3_IFADDR_MD5		:= 97c4eb7505643b5f1fe17733cb42abd9
> +PYTHON3_IFADDR			:= ifaddr-$(PYTHON3_IFADDR_VERSION)
> +PYTHON3_IFADDR_SUFFIX		:= tar.gz
> +PYTHON3_IFADDR_URL		:= $(call ptx/mirror-pypi, ifaddr, $(PYTHON3_IFADDR).$(PYTHON3_IFADDR_SUFFIX))
> +PYTHON3_IFADDR_SOURCE		:= $(SRCDIR)/$(PYTHON3_IFADDR).$(PYTHON3_IFADDR_SUFFIX)
> +PYTHON3_IFADDR_DIR		:= $(BUILDDIR)/$(PYTHON3_IFADDR)
> +PYTHON3_IFADDR_LICENSE		:= MIT
> +PYTHON3_IFADDR_LICENSE_FILES	:= file://LICENSE.txt;md5=8debe8d42320ec0ff24665319b625a5e
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +PYTHON3_IFADDR_CONF_TOOL	:= python3
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/python3-ifaddr.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, python3-ifaddr)
> +	@$(call install_fixup, python3-ifaddr,PRIORITY,optional)
> +	@$(call install_fixup, python3-ifaddr,SECTION,base)
> +	@$(call install_fixup, python3-ifaddr,AUTHOR,"David Jander <david@protonic.nl>")
> +	@$(call install_fixup, python3-ifaddr,DESCRIPTION,missing)
> +
> +	@$(call install_glob, python3-ifaddr, 0, 0, -, \
> +		$(PYTHON3_SITEPACKAGES),, *.py)
> +
> +	@$(call install_finish, python3-ifaddr)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ptxdist] [APPLIED] python3-zeroconf: new package
  2022-05-06 11:22 ` [ptxdist] [PATCH V2 2/2] python3-zeroconf: " David Jander
@ 2022-05-09  6:29   ` Michael Olbrich
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Olbrich @ 2022-05-09  6:29 UTC (permalink / raw)
  To: ptxdist; +Cc: David Jander

Thanks, applied as 516f4484c59d97d91a24f24a77d6ed6493b62786.

Michael

[sent from post-receive hook]

On Mon, 09 May 2022 08:29:26 +0200, David Jander <david@protonic.nl> wrote:
> Signed-off-by: David Jander <david@protonic.nl>
> Message-Id: <20220506112226.1534520-3-david@protonic.nl>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/python3-zeroconf.in b/rules/python3-zeroconf.in
> new file mode 100644
> index 000000000000..5b6d7090f0c1
> --- /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 000000000000..433ce971adfe
> --- /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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-05-09  6:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [ptxdist] [PATCH V2 2/2] python3-zeroconf: " David Jander
2022-05-09  6:29   ` [ptxdist] [APPLIED] " Michael Olbrich

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