From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.pengutronix.de.) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1jqyu7-0004lA-96 for ptxdist@pengutronix.de; Thu, 02 Jul 2020 15:05:27 +0200 From: Philipp Zabel Date: Thu, 2 Jul 2020 15:05:13 +0200 Message-Id: <20200702130518.26953-5-p.zabel@pengutronix.de> In-Reply-To: <20200702130518.26953-1-p.zabel@pengutronix.de> References: <20200702130518.26953-1-p.zabel@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH 05/10] python3-pluggy: new package List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Signed-off-by: Philipp Zabel --- rules/python3-pluggy.in | 9 +++++++ rules/python3-pluggy.make | 54 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 rules/python3-pluggy.in create mode 100644 rules/python3-pluggy.make diff --git a/rules/python3-pluggy.in b/rules/python3-pluggy.in new file mode 100644 index 000000000000..0b76f20232df --- /dev/null +++ b/rules/python3-pluggy.in @@ -0,0 +1,9 @@ +## SECTION=python3 + +config PYTHON3_PLUGGY + tristate + select PYTHON3 + select PYTHON3_IMPORTLIB_METADATA if RUNTIME + prompt "pluggy" + help + A minimalist production ready plugin system diff --git a/rules/python3-pluggy.make b/rules/python3-pluggy.make new file mode 100644 index 000000000000..7414f00d28ab --- /dev/null +++ b/rules/python3-pluggy.make @@ -0,0 +1,54 @@ +# -*-makefile-*- +# +# Copyright (C) 2020 by Philipp Zabel +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_PYTHON3_PLUGGY) += python3-pluggy + +# +# Paths and names +# +PYTHON3_PLUGGY_VERSION := 0.13.1 +PYTHON3_PLUGGY_MD5 := 7f610e28b8b34487336b585a3dfb803d +PYTHON3_PLUGGY := pluggy-$(PYTHON3_PLUGGY_VERSION) +PYTHON3_PLUGGY_SUFFIX := tar.gz +PYTHON3_PLUGGY_URL := https://pypi.python.org/packages/f8/04/7a8542bed4b16a65c2714bf76cf5a0b026157da7f75e87cc88774aa10b14/$(PYTHON3_PLUGGY).$(PYTHON3_PLUGGY_SUFFIX) +PYTHON3_PLUGGY_SOURCE := $(SRCDIR)/$(PYTHON3_PLUGGY).$(PYTHON3_PLUGGY_SUFFIX) +PYTHON3_PLUGGY_DIR := $(BUILDDIR)/$(PYTHON3_PLUGGY) +PYTHON3_PLUGGY_LICENSE := MIT +PYTHON3_PLUGGY_LICENSE_FILES := \ + file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +PYTHON3_PLUGGY_CONF_TOOL := python3 + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/python3-pluggy.targetinstall: + @$(call targetinfo) + + @$(call install_init, python3-pluggy) + @$(call install_fixup, python3-pluggy, PRIORITY, optional) + @$(call install_fixup, python3-pluggy, SECTION, base) + @$(call install_fixup, python3-pluggy, AUTHOR, "Philipp Zabel ") + @$(call install_fixup, python3-pluggy, DESCRIPTION, missing) + + @$(call install_glob, python3-pluggy, 0, 0, -, \ + /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages,, *.py) + + @$(call install_finish, python3-pluggy) + + @$(call touch) + +# vim: syntax=make -- 2.20.1 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de