python-yaml: New package

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
Stefan Schantl 2019-06-23 17:18:11 +02:00
parent e54bb56dc6
commit 9e6dd6dc6b
1 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,45 @@
###############################################################################
# IPFire.org - An Open Source Firewall Solution #
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
###############################################################################
name = python-yaml
version = 5.1
release = 1
groups = Development/Libraries
url = https://pyyaml.org/wiki/PyYAML
license = MIT
summary = PyYAML is a YAML parser and emitter for Python.
description
PyYAML is a YAML parser and emitter for the Python programming language.
end
source_dl = http://pyyaml.org/download/pyyaml/
sources = PyYAML-%{version}.tar.gz
build
requires
libyaml-devel
python-devel
end
DIR_APP = %{DIR_SRC}/PyYAML-%{version}
build
python setup.py build
end
install
python setup.py install --root=%{BUILDROOT}
end
end
packages
package %{name}
package %{name}-debuginfo
template DEBUGINFO
end
end