From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 09 May 2022 08:33:33 +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 1nnwxZ-006rF5-Bm for lore@lore.pengutronix.de; Mon, 09 May 2022 08:33:33 +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 1nnwxY-0006Br-SH; Mon, 09 May 2022 08:33:32 +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 1nnwtc-0001DJ-Ds; Mon, 09 May 2022 08:29:28 +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 1nnwtd-001F7e-2Z; Mon, 09 May 2022 08:29:27 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1nnwta-00FpFW-IU; Mon, 09 May 2022 08:29:26 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Mon, 9 May 2022 08:29:26 +0200 Message-Id: <20220509062926.3771774-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220506112226.1534520-3-david@protonic.nl> References: <20220506112226.1534520-3-david@protonic.nl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] 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: David Jander 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 Thanks, applied as 516f4484c59d97d91a24f24a77d6ed6493b62786. Michael [sent from post-receive hook] On Mon, 09 May 2022 08:29:26 +0200, David Jander wrote: > Signed-off-by: David Jander > Message-Id: <20220506112226.1534520-3-david@protonic.nl> > Signed-off-by: Michael Olbrich > > 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 > +# > +# 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 ") > + @$(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