1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
6 name = python3-markupsafe
10 groups = Development/Tools
11 url = https://github.com/pallets/markupsafe
13 summary = Safely add untrusted strings to HTML/XML markup.
16 MarkupSafe implements a text object that escapes characters so it is safe
17 to use in HTML and XML. Characters that have special meanings are replaced
18 so that they display as the actual characters. This mitigates injection
19 attacks, meaning untrusted user input can safely be displayed on a page.
22 source_dl = https://github.com/pallets/markupsafe/archive/refs/tags/%{version}.tar.gz#/
30 DIR_APP = %{DIR_SRC}/markupsafe-%{version}
33 %{python3} setup.py build
37 %{python3} setup.py install --root=%{BUILDROOT} --skip-build
44 package %{name}-debuginfo