]>
Commit | Line | Data |
---|---|---|
6adc938a SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = python3-jinja2 | |
7 | version = 3.1.2 | |
8 | release = 1 | |
9 | ||
10 | groups = Development/Tools | |
11 | url = https://github.com/pallets/jinja | |
12 | license = BSD | |
13 | summary = A fast, expressive, extensible templating engine. | |
14 | ||
15 | description | |
16 | Jinja is a fast, expressive, extensible templating engine. Special placeholders | |
17 | in the template allow writing code similar to Python syntax. Then the template | |
18 | is passed data to render the final document. | |
19 | end | |
20 | ||
21 | source_dl = https://github.com/pallets/jinja/archive/refs/tags/%{version}.tar.gz#/ | |
22 | ||
23 | build | |
24 | requires | |
25 | python3-devel >= 3.4 | |
26 | python3-setuptools | |
27 | end | |
28 | ||
29 | DIR_APP = %{DIR_SRC}/jinja-%{version} | |
30 | ||
31 | build | |
32 | %{python3} setup.py build | |
33 | end | |
34 | ||
35 | install | |
36 | %{python3} setup.py install --root=%{BUILDROOT} --skip-build | |
37 | end | |
38 | end | |
39 | ||
40 | packages | |
41 | package %{name} | |
42 | requires | |
43 | python3-markupsafe | |
44 | end | |
45 | end | |
46 | end |