]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
python-yaml: New package
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 23 Jun 2019 15:18:11 +0000 (17:18 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Mon, 24 Jun 2019 12:38:49 +0000 (14:38 +0200)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
python-yaml/python-yaml.nm [new file with mode: 0644]

diff --git a/python-yaml/python-yaml.nm b/python-yaml/python-yaml.nm
new file mode 100644 (file)
index 0000000..9e77746
--- /dev/null
@@ -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