[PATCH] python-yaml: New package

Stefan Schantl stefan.schantl at ipfire.org
Sun Jun 23 16:18:29 BST 2019


Signed-off-by: Stefan Schantl <stefan.schantl at ipfire.org>
---
 python-yaml/python-yaml.nm | 45 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 python-yaml/python-yaml.nm

diff --git a/python-yaml/python-yaml.nm b/python-yaml/python-yaml.nm
new file mode 100644
index 000000000..9e777463b
--- /dev/null
+++ b/python-yaml/python-yaml.nm
@@ -0,0 +1,45 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info at 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
-- 
2.20.1



More information about the Development mailing list