From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 24 Jun 2022 13:47:18 +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 1o4hmP-00DB1F-Fs for lore@lore.pengutronix.de; Fri, 24 Jun 2022 13:47:18 +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 1o4hmP-00056f-4S; Fri, 24 Jun 2022 13:47:17 +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 1o4hlP-0004QE-Dt; Fri, 24 Jun 2022 13:46:15 +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 1o4hlN-002PtP-7u; Fri, 24 Jun 2022 13:46:14 +0200 Received: from ejo by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1o4hlN-000gDY-3c; Fri, 24 Jun 2022 13:46:13 +0200 From: Enrico Jorns To: ptxdist@pengutronix.de Date: Fri, 24 Jun 2022 13:42:44 +0200 Message-Id: <20220624114246.161813-5-ejo@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220624114246.161813-1-ejo@pengutronix.de> References: <20220624114246.161813-1-ejo@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH v2 4/6] python3-frozenlist: 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: ejo@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 Requirement for python3-aiosignal. Signed-off-by: Enrico Jorns --- rules/python3-frozenlist.in | 9 ++++++ rules/python3-frozenlist.make | 52 +++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 rules/python3-frozenlist.in create mode 100644 rules/python3-frozenlist.make diff --git a/rules/python3-frozenlist.in b/rules/python3-frozenlist.in new file mode 100644 index 000000000..15cb97d6b --- /dev/null +++ b/rules/python3-frozenlist.in @@ -0,0 +1,9 @@ +## SECTION=python3 + +config PYTHON3_FROZENLIST + tristate + select PYTHON3 + prompt "frozenlist" + help + A list-like structure which implements + collections.abc.MutableSequence, and which can be made immutable. diff --git a/rules/python3-frozenlist.make b/rules/python3-frozenlist.make new file mode 100644 index 000000000..e21198799 --- /dev/null +++ b/rules/python3-frozenlist.make @@ -0,0 +1,52 @@ +# -*-makefile-*- +# +# Copyright (C) 2022 by Enrico Jorns +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_PYTHON3_FROZENLIST) += python3-frozenlist + +# +# Paths and names +# +PYTHON3_FROZENLIST_VERSION := 1.3.0 +PYTHON3_FROZENLIST_MD5 := e65d870bd189ba3c21ab7eb10eab22b7 +PYTHON3_FROZENLIST := frozenlist-$(PYTHON3_FROZENLIST_VERSION) +PYTHON3_FROZENLIST_SUFFIX := tar.gz +PYTHON3_FROZENLIST_URL := $(call ptx/mirror-pypi, frozenlist, $(PYTHON3_FROZENLIST).$(PYTHON3_FROZENLIST_SUFFIX)) +PYTHON3_FROZENLIST_SOURCE := $(SRCDIR)/$(PYTHON3_FROZENLIST).$(PYTHON3_FROZENLIST_SUFFIX) +PYTHON3_FROZENLIST_DIR := $(BUILDDIR)/$(PYTHON3_FROZENLIST) +PYTHON3_FROZENLIST_LICENSE := Apache-2.0 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +PYTHON3_FROZENLIST_CONF_TOOL := python3 + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/python3-frozenlist.targetinstall: + @$(call targetinfo) + + @$(call install_init, python3-frozenlist) + @$(call install_fixup, python3-frozenlist,PRIORITY,optional) + @$(call install_fixup, python3-frozenlist,SECTION,base) + @$(call install_fixup, python3-frozenlist,AUTHOR,"Enrico Jorns ") + @$(call install_fixup, python3-frozenlist,DESCRIPTION,missing) + + @$(call install_glob, python3-frozenlist, 0, 0, -, \ + $(PYTHON3_SITEPACKAGES),, *.py) + + @$(call install_finish, python3-frozenlist) + + @$(call touch) + +# vim: syntax=make -- 2.30.2