From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 02 May 2023 09:06:59 +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 1ptk6G-0026tk-3w for lore@lore.pengutronix.de; Tue, 02 May 2023 09:06:59 +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 1ptk6C-0003jg-W8; Tue, 02 May 2023 09:06:56 +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 1ptk5G-0002PR-Gc; Tue, 02 May 2023 09:05:58 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1ptk5G-000Wo9-21; Tue, 02 May 2023 09:05:58 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1ptk5F-001K7i-E6; Tue, 02 May 2023 09:05:57 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Tue, 2 May 2023 09:05:57 +0200 Message-Id: <20230502070557.315675-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230416093643.3983478-4-artur@4wiebe.de> References: <20230416093643.3983478-4-artur@4wiebe.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] python3-sortedcontainers: 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: Artur Wiebe 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 c0a82da7d9f1924f2ed38f955aa0fa3fa5f85f72. Michael [sent from post-receive hook] On Tue, 02 May 2023 09:05:57 +0200, Artur Wiebe wrote: > Signed-off-by: Artur Wiebe > Message-Id: <20230416093643.3983478-4-artur@4wiebe.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/python3-sortedcontainers.in b/rules/python3-sortedcontainers.in > new file mode 100644 > index 000000000000..8380dbdb4afb > --- /dev/null > +++ b/rules/python3-sortedcontainers.in > @@ -0,0 +1,9 @@ > +## SECTION=python3 > + > +config PYTHON3_SORTEDCONTAINERS > + tristate > + select PYTHON3 > + prompt "sortedcontainers" > + help > + Sorted Containers is an Apache2 licensed sorted collections library, > + written in pure-Python, and fast as C-extensions. > diff --git a/rules/python3-sortedcontainers.make b/rules/python3-sortedcontainers.make > new file mode 100644 > index 000000000000..8956c617fa1c > --- /dev/null > +++ b/rules/python3-sortedcontainers.make > @@ -0,0 +1,53 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2023 by Artur Wiebe > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_PYTHON3_SORTEDCONTAINERS) += python3-sortedcontainers > + > +# > +# Paths and names > +# > +PYTHON3_SORTEDCONTAINERS_VERSION := 2.4.0 > +PYTHON3_SORTEDCONTAINERS_MD5 := 50eeb6cb739568b590b28f9a3f445c78 > +PYTHON3_SORTEDCONTAINERS := sortedcontainers-$(PYTHON3_SORTEDCONTAINERS_VERSION) > +PYTHON3_SORTEDCONTAINERS_SUFFIX := tar.gz > +PYTHON3_SORTEDCONTAINERS_URL := $(call ptx/mirror-pypi, sortedcontainers, $(PYTHON3_SORTEDCONTAINERS).$(PYTHON3_SORTEDCONTAINERS_SUFFIX)) > +PYTHON3_SORTEDCONTAINERS_SOURCE := $(SRCDIR)/$(PYTHON3_SORTEDCONTAINERS).$(PYTHON3_SORTEDCONTAINERS_SUFFIX) > +PYTHON3_SORTEDCONTAINERS_DIR := $(BUILDDIR)/$(PYTHON3_SORTEDCONTAINERS) > +PYTHON3_SORTEDCONTAINERS_LICENSE := Apache-2.0 > +PYTHON3_SORTEDCONTAINERS_LICENSE_FILES := file://LICENSE;md5=7c7c6a1a12ec816da16c1839137d53ae > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +PYTHON3_SORTEDCONTAINERS_CONF_TOOL := python3 > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/python3-sortedcontainers.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, python3-sortedcontainers) > + @$(call install_fixup, python3-sortedcontainers,PRIORITY,optional) > + @$(call install_fixup, python3-sortedcontainers,SECTION,base) > + @$(call install_fixup, python3-sortedcontainers,AUTHOR,"Artur Wiebe ") > + @$(call install_fixup, python3-sortedcontainers,DESCRIPTION,missing) > + > + @$(call install_glob, python3-sortedcontainers, 0, 0, -, \ > + $(PYTHON3_SITEPACKAGES)/sortedcontainers,, *.py) > + > + @$(call install_finish, python3-sortedcontainers) > + > + @$(call touch) > + > +# vim: syntax=make