]>
Commit | Line | Data |
---|---|---|
7360736f SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = python3-markupsafe | |
305c96d4 | 7 | version = 2.1.3 |
7360736f SS |
8 | release = 1 |
9 | ||
10 | groups = Development/Tools | |
11 | url = https://github.com/pallets/markupsafe | |
12 | license = BSD | |
13 | summary = Safely add untrusted strings to HTML/XML markup. | |
14 | ||
15 | description | |
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. | |
20 | end | |
21 | ||
22 | source_dl = https://github.com/pallets/markupsafe/archive/refs/tags/%{version}.tar.gz#/ | |
23 | ||
24 | build | |
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 | |
39 | end | |
40 | ||
41 | packages | |
42 | package %{name} | |
43 | ||
44 | package %{name}-debuginfo | |
45 | template DEBUGINFO | |
46 | end | |
47 | end |