]>
Commit | Line | Data |
---|---|---|
9e6dd6dc SS |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = python-yaml | |
7 | version = 5.1 | |
8 | release = 1 | |
9 | ||
10 | groups = Development/Libraries | |
11 | url = https://pyyaml.org/wiki/PyYAML | |
12 | license = MIT | |
13 | summary = PyYAML is a YAML parser and emitter for Python. | |
14 | ||
15 | description | |
16 | PyYAML is a YAML parser and emitter for the Python programming language. | |
17 | end | |
18 | ||
19 | source_dl = http://pyyaml.org/download/pyyaml/ | |
20 | sources = PyYAML-%{version}.tar.gz | |
21 | ||
22 | build | |
23 | requires | |
24 | libyaml-devel | |
25 | python-devel | |
26 | end | |
27 | ||
28 | DIR_APP = %{DIR_SRC}/PyYAML-%{version} | |
29 | ||
30 | build | |
31 | python setup.py build | |
32 | end | |
33 | ||
34 | install | |
35 | python setup.py install --root=%{BUILDROOT} | |
36 | end | |
37 | end | |
38 | ||
39 | packages | |
40 | package %{name} | |
41 | ||
42 | package %{name}-debuginfo | |
43 | template DEBUGINFO | |
44 | end | |
45 | end |