From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: In-Reply-To: <20200703115710.30041-2-p.zabel@pengutronix.de> MIME-Version: 1.0 Message-Id: From: Michael Olbrich Date: Mon, 06 Jul 2020 08:32:03 +0200 Subject: Re: [ptxdist] [APPLIED] python3-importlib-metadata: 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 Cc: Philipp Zabel Thanks, applied as ad13efca2aa17be014b4c900ed082931be94c75a. Michael [sent from post-receive hook] On Mon, 06 Jul 2020 08:32:03 +0200, Philipp Zabel wrote: > Signed-off-by: Philipp Zabel > Message-Id: <20200703115710.30041-2-p.zabel@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/python3-importlib-metadata.in b/rules/python3-importlib-metadata.in > new file mode 100644 > index 000000000000..3e0291f40b6b > --- /dev/null > +++ b/rules/python3-importlib-metadata.in > @@ -0,0 +1,9 @@ > +## SECTION=python3 > + > +config PYTHON3_IMPORTLIB_METADATA > + tristate > + select PYTHON3 > + select PYTHON3_ZIPP if RUNTIME > + prompt "importlib-metadata" > + help > + A library to access the metadata for a Python package. > diff --git a/rules/python3-importlib-metadata.make b/rules/python3-importlib-metadata.make > new file mode 100644 > index 000000000000..088c91516256 > --- /dev/null > +++ b/rules/python3-importlib-metadata.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_IMPORTLIB_METADATA) += python3-importlib-metadata > + > +# > +# Paths and names > +# > +PYTHON3_IMPORTLIB_METADATA_VERSION := 1.7.0 > +PYTHON3_IMPORTLIB_METADATA_MD5 := 4505ea85600cca1e693a4f8f5dd27ba8 > +PYTHON3_IMPORTLIB_METADATA := importlib_metadata-$(PYTHON3_IMPORTLIB_METADATA_VERSION) > +PYTHON3_IMPORTLIB_METADATA_SUFFIX := tar.gz > +PYTHON3_IMPORTLIB_METADATA_URL := https://pypi.python.org/packages/source/i/importlib_metadata/$(PYTHON3_IMPORTLIB_METADATA).$(PYTHON3_IMPORTLIB_METADATA_SUFFIX) > +PYTHON3_IMPORTLIB_METADATA_SOURCE := $(SRCDIR)/$(PYTHON3_IMPORTLIB_METADATA).$(PYTHON3_IMPORTLIB_METADATA_SUFFIX) > +PYTHON3_IMPORTLIB_METADATA_DIR := $(BUILDDIR)/$(PYTHON3_IMPORTLIB_METADATA) > +PYTHON3_IMPORTLIB_METADATA_LICENSE := Apache-2.0 > +PYTHON3_IMPORTLIB_METADATA_LICENSE_FILES := \ > + file://LICENSE;md5=e88ae122f3925d8bde8319060f2ddb8e > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +PYTHON3_IMPORTLIB_METADATA_CONF_TOOL := python3 > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/python3-importlib-metadata.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, python3-importlib-metadata) > + @$(call install_fixup, python3-importlib-metadata, PRIORITY, optional) > + @$(call install_fixup, python3-importlib-metadata, SECTION, base) > + @$(call install_fixup, python3-importlib-metadata, AUTHOR, "Philipp Zabel ") > + @$(call install_fixup, python3-importlib-metadata, DESCRIPTION, missing) > + > + @$(call install_glob, python3-importlib-metadata, 0, 0, -, \ > + /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages,, *.py) > + > + @$(call install_finish, python3-importlib-metadata) > + > + @$(call touch) > + > +# vim: syntax=make _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de