From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: In-Reply-To: <20200922141434.8544-15-bst@pengutronix.de> MIME-Version: 1.0 Message-Id: From: Michael Olbrich Date: Tue, 06 Oct 2020 10:18:46 +0200 Subject: Re: [ptxdist] [APPLIED] python3-markupsafe: 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: Bastian Krause Thanks, applied as b485670be40e9ee616ba2bbb35b37dac735718a8. Michael [sent from post-receive hook] On Tue, 06 Oct 2020 10:18:46 +0200, Bastian Krause wrote: > python3-jinja (which will be introduced in a later commit) requires > this. > > Signed-off-by: Bastian Krause > Message-Id: <20200922141434.8544-15-bst@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/python3-markupsafe.in b/rules/python3-markupsafe.in > new file mode 100644 > index 000000000000..7425a73a8ee2 > --- /dev/null > +++ b/rules/python3-markupsafe.in > @@ -0,0 +1,8 @@ > +## SECTION=python3 > + > +config PYTHON3_MARKUPSAFE > + tristate > + select PYTHON3 > + prompt "markupsafe" > + help > + Safely add untrusted strings to HTML/XML markup. > diff --git a/rules/python3-markupsafe.make b/rules/python3-markupsafe.make > new file mode 100644 > index 000000000000..e70c63558e19 > --- /dev/null > +++ b/rules/python3-markupsafe.make > @@ -0,0 +1,52 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2020 by Bastian Krause > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_PYTHON3_MARKUPSAFE) += python3-markupsafe > + > +# > +# Paths and names > +# > +PYTHON3_MARKUPSAFE_VERSION := 1.1.1 > +PYTHON3_MARKUPSAFE_MD5 := 43fd756864fe42063068e092e220c57b > +PYTHON3_MARKUPSAFE := MarkupSafe-$(PYTHON3_MARKUPSAFE_VERSION) > +PYTHON3_MARKUPSAFE_SUFFIX := tar.gz > +PYTHON3_MARKUPSAFE_URL := $(call ptx/mirror-pypi, MarkupSafe, $(PYTHON3_MARKUPSAFE).$(PYTHON3_MARKUPSAFE_SUFFIX)) > +PYTHON3_MARKUPSAFE_SOURCE := $(SRCDIR)/$(PYTHON3_MARKUPSAFE).$(PYTHON3_MARKUPSAFE_SUFFIX) > +PYTHON3_MARKUPSAFE_DIR := $(BUILDDIR)/$(PYTHON3_MARKUPSAFE) > +PYTHON3_MARKUPSAFE_LICENSE := BSD-3-Clause > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +PYTHON3_MARKUPSAFE_CONF_TOOL := python3 > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/python3-markupsafe.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, python3-markupsafe) > + @$(call install_fixup, python3-markupsafe, PRIORITY, optional) > + @$(call install_fixup, python3-markupsafe, SECTION, base) > + @$(call install_fixup, python3-markupsafe, AUTHOR, "Bastian Krause ") > + @$(call install_fixup, python3-markupsafe, DESCRIPTION, missing) > + > + @$(call install_glob, python3-markupsafe, 0, 0, -, \ > + $(PYTHON3_SITEPACKAGES),, *.py) > + > + @$(call install_finish, python3-markupsafe) > + > + @$(call touch) > + > +# vim: syntax=make _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de