From 7360736faa495ffc99cedab1b36ce4ef359ad600 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Thu, 1 Dec 2022 08:00:32 +0000 Subject: [PATCH] python3-markupsafe: New package This package is required for python3-jinja2. Signed-off-by: Michael Tremer --- python3-markupsafe/python3-markupsafe.nm | 47 ++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 python3-markupsafe/python3-markupsafe.nm diff --git a/python3-markupsafe/python3-markupsafe.nm b/python3-markupsafe/python3-markupsafe.nm new file mode 100644 index 000000000..41e4b0a1f --- /dev/null +++ b/python3-markupsafe/python3-markupsafe.nm @@ -0,0 +1,47 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = python3-markupsafe +version = 2.1.1 +release = 1 + +groups = Development/Tools +url = https://github.com/pallets/markupsafe +license = BSD +summary = Safely add untrusted strings to HTML/XML markup. + +description + MarkupSafe implements a text object that escapes characters so it is safe + to use in HTML and XML. Characters that have special meanings are replaced + so that they display as the actual characters. This mitigates injection + attacks, meaning untrusted user input can safely be displayed on a page. +end + +source_dl = https://github.com/pallets/markupsafe/archive/refs/tags/%{version}.tar.gz#/ + +build + requires + python3-devel >= 3.4 + python3-setuptools + end + + DIR_APP = %{DIR_SRC}/markupsafe-%{version} + + build + %{python3} setup.py build + end + + install + %{python3} setup.py install --root=%{BUILDROOT} --skip-build + end +end + +packages + package %{name} + + package %{name}-debuginfo + template DEBUGINFO + end +end -- 2.39.5