]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blame - python3-markupsafe/python3-markupsafe.nm
python3-markupsafe-2.1.3-1
[people/pmueller/ipfire-3.x.git] / python3-markupsafe / python3-markupsafe.nm
CommitLineData
7360736f
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = python3-markupsafe
305c96d4 7version = 2.1.3
7360736f
SS
8release = 1
9
10groups = Development/Tools
11url = https://github.com/pallets/markupsafe
12license = BSD
13summary = Safely add untrusted strings to HTML/XML markup.
14
15description
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.
20end
21
22source_dl = https://github.com/pallets/markupsafe/archive/refs/tags/%{version}.tar.gz#/
23
24build
25 requires
26 python3-devel >= 3.4
27 python3-setuptools
28 end
29
30 DIR_APP = %{DIR_SRC}/markupsafe-%{version}
31
32 build
33 %{python3} setup.py build
34 end
35
36 install
37 %{python3} setup.py install --root=%{BUILDROOT} --skip-build
38 end
39end
40
41packages
42 package %{name}
43
44 package %{name}-debuginfo
45 template DEBUGINFO
46 end
47end