From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 06 May 2022 09:22:10 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nmsHy-003UAX-99 for lore@lore.pengutronix.de; Fri, 06 May 2022 09:22:10 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1nmsHx-0005uC-Ca; Fri, 06 May 2022 09:22:09 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nmsHu-0005u1-Nw; Fri, 06 May 2022 09:22:06 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1nmsHv-000f84-DX; Fri, 06 May 2022 09:22:06 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1nmsHt-004Urq-Ak; Fri, 06 May 2022 09:22:05 +0200 Date: Fri, 6 May 2022 09:22:05 +0200 From: Michael Olbrich To: David Jander Message-ID: Mail-Followup-To: David Jander , ptxdist@pengutronix.de, Robin van der Gracht References: <20220503121416.1438177-1-david@protonic.nl> <20220503121416.1438177-3-david@protonic.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20220503121416.1438177-3-david@protonic.nl> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] [PATCH 2/2] python3-zeroconf: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Robin van der Gracht , ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Tue, May 03, 2022 at 02:14:16PM +0200, David Jander wrote: > Signed-off-by: David Jander > --- > 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 >=20 > 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=3Dpython3 > + > +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..fb43e431f > --- /dev/null > +++ b/rules/python3-zeroconf.make > @@ -0,0 +1,53 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2022 by David Jander > +# > +# For further information about the PTXdist project and license conditio= ns > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_PYTHON3_ZEROCONF) +=3D python3-zeroconf > + > +# > +# Paths and names > +# > +PYTHON3_ZEROCONF_VERSION :=3D 0.26.1 > +PYTHON3_ZEROCONF_MD5 :=3D 86a217cb3ef200c7afb104c9253aa0b7 > +PYTHON3_ZEROCONF :=3D zeroconf-$(PYTHON3_ZEROCONF_VERSION) > +PYTHON3_ZEROCONF_SUFFIX :=3D tar.gz > +PYTHON3_ZEROCONF_URL :=3D $(call ptx/mirror-pypi, zeroconf, $(PYTHON3_Z= EROCONF).$(PYTHON3_ZEROCONF_SUFFIX)) > +PYTHON3_ZEROCONF_SOURCE :=3D $(SRCDIR)/$(PYTHON3_ZEROCONF).$(PYTHON3_ZE= ROCONF_SUFFIX) > +PYTHON3_ZEROCONF_DIR :=3D $(BUILDDIR)/$(PYTHON3_ZEROCONF) > +PYTHON3_ZEROCONF_LICENSE :=3D GNU Lesser General Public License v2 (LGPL= v2) (LGPL) > +PYTHON3_ZEROCONF_LICENSE_FILES :=3D COPYING Wrong syntax. Michael > + > +# ----------------------------------------------------------------------= ------ > +# Prepare > +# ----------------------------------------------------------------------= ------ > + > +PYTHON3_ZEROCONF_CONF_TOOL :=3D 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 ") > + @$(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=3Dmake > --=20 > 2.32.0 >=20 >=20 >=20 --=20 Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |