From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: In-Reply-To: <20200922141434.8544-16-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-jinja2: 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 fccc6201bbb31ef509a6c8ebeff4b7b3453f2265. Michael [sent from post-receive hook] On Tue, 06 Oct 2020 10:18:46 +0200, Bastian Krause wrote: > Signed-off-by: Bastian Krause > Message-Id: <20200922141434.8544-16-bst@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/python3-jinja2.in b/rules/python3-jinja2.in > new file mode 100644 > index 000000000000..6e493cfdd831 > --- /dev/null > +++ b/rules/python3-jinja2.in > @@ -0,0 +1,9 @@ > +## SECTION=python3 > + > +config PYTHON3_JINJA2 > + tristate > + select PYTHON3 > + select PYTHON3_MARKUPSAFE if RUNTIME > + prompt "jinja2" > + help > + Fast, expressive, extensible templating engine > diff --git a/rules/python3-jinja2.make b/rules/python3-jinja2.make > new file mode 100644 > index 000000000000..3e9c8586c230 > --- /dev/null > +++ b/rules/python3-jinja2.make > @@ -0,0 +1,49 @@ > +# -*-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_JINJA2) += python3-jinja2 > + > +PYTHON3_JINJA2_VERSION := 2.11.2 > +PYTHON3_JINJA2_MD5 := 0362203b22547abca06ed1082bc1e7b4 > +PYTHON3_JINJA2 := Jinja2-$(PYTHON3_JINJA2_VERSION) > +PYTHON3_JINJA2_SUFFIX := tar.gz > +PYTHON3_JINJA2_URL := $(call ptx/mirror-pypi, jinja2, $(PYTHON3_JINJA2).$(PYTHON3_JINJA2_SUFFIX)) > +PYTHON3_JINJA2_SOURCE := $(SRCDIR)/$(PYTHON3_JINJA2).$(PYTHON3_JINJA2_SUFFIX) > +PYTHON3_JINJA2_DIR := $(BUILDDIR)/$(PYTHON3_JINJA2) > +PYTHON3_JINJA2_LICENSE := BSD-3-Clause > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +PYTHON3_JINJA2_CONF_TOOL := python3 > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/python3-jinja2.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, python3-jinja2) > + @$(call install_fixup,python3-jinja2,PRIORITY,optional) > + @$(call install_fixup,python3-jinja2,SECTION,base) > + @$(call install_fixup,python3-jinja2,AUTHOR,"Bastian Krause ") > + @$(call install_fixup,python3-jinja2,DESCRIPTION,missing) > + > + @$(call install_glob, python3-jinja2, 0, 0, -, \ > + $(PYTHON3_SITEPACKAGES),, *.py) > + > + @$(call install_finish,python3-jinja2) > + > + @$(call touch) > + > +# vim: syntax=make _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de