From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sat, 15 Jun 2024 17:03:27 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sIUwB-006XKx-2N for lore@lore.pengutronix.de; Sat, 15 Jun 2024 17:03:27 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1sIUwB-0005es-0m; Sat, 15 Jun 2024 17:03:27 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sIUrw-0000P5-Rc; Sat, 15 Jun 2024 16:59:04 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sIUrw-002WgR-El; Sat, 15 Jun 2024 16:59:04 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1sIUrw-00HMHp-1L; Sat, 15 Jun 2024 16:59:04 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Sat, 15 Jun 2024 16:59:04 +0200 Message-Id: <20240615145904.4137238-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240613100744.1899176-14-rhi@pengutronix.de> References: <20240613100744.1899176-14-rhi@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] python3-protobuf: 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: Roland Hieber 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.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as b38dd42de9b8fa371b1d48ee853a4d429ae074c8. Michael [sent from post-receive hook] On Sat, 15 Jun 2024 16:59:04 +0200, Roland Hieber wrote: > Signed-off-by: Roland Hieber > Message-Id: <20240613100744.1899176-14-rhi@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/python3-protobuf.in b/rules/python3-protobuf.in > new file mode 100644 > index 000000000000..7be466917cda > --- /dev/null > +++ b/rules/python3-protobuf.in > @@ -0,0 +1,8 @@ > +## SECTION=python3 > + > +config PYTHON3_PROTOBUF > + tristate > + select PYTHON3 > + prompt "protobuf" > + help > + Protocol buffers library for Python 3 > diff --git a/rules/python3-protobuf.make b/rules/python3-protobuf.make > new file mode 100644 > index 000000000000..6b92295e8a4d > --- /dev/null > +++ b/rules/python3-protobuf.make > @@ -0,0 +1,55 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2024 by Roland Hieber > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_PYTHON3_PROTOBUF) += python3-protobuf > + > +# > +# Paths and names > +# > +PYTHON3_PROTOBUF_VERSION := 5.26.1 > +PYTHON3_PROTOBUF_MD5 := 8360a781926b9dac954678a823835d23 > +PYTHON3_PROTOBUF := protobuf-$(PYTHON3_PROTOBUF_VERSION) > +PYTHON3_PROTOBUF_SUFFIX := tar.gz > +PYTHON3_PROTOBUF_URL := $(call ptx/mirror-pypi, protobuf, $(PYTHON3_PROTOBUF).$(PYTHON3_PROTOBUF_SUFFIX)) > +PYTHON3_PROTOBUF_SOURCE := $(SRCDIR)/$(PYTHON3_PROTOBUF).$(PYTHON3_PROTOBUF_SUFFIX) > +PYTHON3_PROTOBUF_DIR := $(BUILDDIR)/$(PYTHON3_PROTOBUF) > +PYTHON3_PROTOBUF_LICENSE := BSD-3-Clause AND custom-exception > +PYTHON3_PROTOBUF_LICENSE_FILES := \ > + file://PKG-INFO;startline=7;endline=9;md5=b2e1494c98b3b7127af75dfb2edf369e \ > + file://LICENSE;md5=37b5762e07f0af8c74ce80a8bda4266b > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +PYTHON3_PROTOBUF_CONF_TOOL := python3 > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/python3-protobuf.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, python3-protobuf) > + @$(call install_fixup, python3-protobuf,PRIORITY,optional) > + @$(call install_fixup, python3-protobuf,SECTION,base) > + @$(call install_fixup, python3-protobuf,AUTHOR,"Roland Hieber ") > + @$(call install_fixup, python3-protobuf,DESCRIPTION,missing) > + > + @$(call install_glob, python3-protobuf, 0, 0, -, \ > + $(PYTHON3_SITEPACKAGES),, *.py) > + > + @$(call install_finish, python3-protobuf) > + > + @$(call touch) > + > +# vim: syntax=make