* [ptxdist] [PATCH 1/2] python3-markupsafe: new package
@ 2020-09-17 12:27 Bastian Krause
2020-09-17 12:27 ` [ptxdist] [PATCH 2/2] python3-jinja2: " Bastian Krause
2020-09-21 10:19 ` [ptxdist] [PATCH 1/2] python3-markupsafe: " Bastian Krause
0 siblings, 2 replies; 3+ messages in thread
From: Bastian Krause @ 2020-09-17 12:27 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
python3-jinja (which will be introduced in a later commit) requires
this.
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
rules/python3-markupsafe.in | 8 ++++++
rules/python3-markupsafe.make | 52 +++++++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+)
create mode 100644 rules/python3-markupsafe.in
create mode 100644 rules/python3-markupsafe.make
diff --git a/rules/python3-markupsafe.in b/rules/python3-markupsafe.in
new file mode 100644
index 000000000..7425a73a8
--- /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 000000000..401b99b9e
--- /dev/null
+++ b/rules/python3-markupsafe.make
@@ -0,0 +1,52 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Bastian Krause <bst@pengutronix.de>
+#
+# 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 := https://files.pythonhosted.org/packages/b9/2e/64db92e53b86efccfaea71321f597fa2e1b2bd3853d8ce658568f7a13094/$(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 <bst@pengutronix.de>")
+ @$(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
--
2.28.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ptxdist] [PATCH 2/2] python3-jinja2: new package
2020-09-17 12:27 [ptxdist] [PATCH 1/2] python3-markupsafe: new package Bastian Krause
@ 2020-09-17 12:27 ` Bastian Krause
2020-09-21 10:19 ` [ptxdist] [PATCH 1/2] python3-markupsafe: " Bastian Krause
1 sibling, 0 replies; 3+ messages in thread
From: Bastian Krause @ 2020-09-17 12:27 UTC (permalink / raw)
To: ptxdist; +Cc: Bastian Krause
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
rules/python3-jinja2.in | 9 +++++++
rules/python3-jinja2.make | 49 +++++++++++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
create mode 100644 rules/python3-jinja2.in
create mode 100644 rules/python3-jinja2.make
diff --git a/rules/python3-jinja2.in b/rules/python3-jinja2.in
new file mode 100644
index 000000000..6e493cfdd
--- /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 000000000..142d3a9d2
--- /dev/null
+++ b/rules/python3-jinja2.make
@@ -0,0 +1,49 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Bastian Krause <bst@pengutronix.de>
+#
+# 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 := https://pypi.python.org/packages/64/a7/45e11eebf2f15bf987c3bc11d37dcc838d9dc81250e67e4c5968f6008b6c/$(PYTHON3_JINJA2).$(PYTHON3_JINJA2_SUFFIX)\#md5=$(PYTHON3_JINJA2_MD5)
+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 <bst@pengutronix.de>")
+ @$(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
--
2.28.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] [PATCH 1/2] python3-markupsafe: new package
2020-09-17 12:27 [ptxdist] [PATCH 1/2] python3-markupsafe: new package Bastian Krause
2020-09-17 12:27 ` [ptxdist] [PATCH 2/2] python3-jinja2: " Bastian Krause
@ 2020-09-21 10:19 ` Bastian Krause
1 sibling, 0 replies; 3+ messages in thread
From: Bastian Krause @ 2020-09-21 10:19 UTC (permalink / raw)
To: ptxdist
On 9/17/20 2:27 PM, Bastian Krause wrote:
> python3-jinja (which will be introduced in a later commit) requires
> this.
>
> Signed-off-by: Bastian Krause <bst@pengutronix.de>
> ---
> rules/python3-markupsafe.in | 8 ++++++
> rules/python3-markupsafe.make | 52 +++++++++++++++++++++++++++++++++++
> 2 files changed, 60 insertions(+)
> create mode 100644 rules/python3-markupsafe.in
> create mode 100644 rules/python3-markupsafe.make
Please drop this series, I'll send a series including the pypi mirror macro.
Regards,
Bastian
>
> diff --git a/rules/python3-markupsafe.in b/rules/python3-markupsafe.in
> new file mode 100644
> index 000000000..7425a73a8
> --- /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 000000000..401b99b9e
> --- /dev/null
> +++ b/rules/python3-markupsafe.make
> @@ -0,0 +1,52 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2020 by Bastian Krause <bst@pengutronix.de>
> +#
> +# 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 := https://files.pythonhosted.org/packages/b9/2e/64db92e53b86efccfaea71321f597fa2e1b2bd3853d8ce658568f7a13094/$(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 <bst@pengutronix.de>")
> + @$(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
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-09-21 10:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-17 12:27 [ptxdist] [PATCH 1/2] python3-markupsafe: new package Bastian Krause
2020-09-17 12:27 ` [ptxdist] [PATCH 2/2] python3-jinja2: " Bastian Krause
2020-09-21 10:19 ` [ptxdist] [PATCH 1/2] python3-markupsafe: " Bastian Krause
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox