guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#27558] [PATCH] gnu: Add python-ruamel.yaml


From: Muriithi Frederick Muriuki
Subject: [bug#27558] [PATCH] gnu: Add python-ruamel.yaml
Date: Mon, 3 Jul 2017 06:47:03 +0300

* gnu/packages/python.scm (python-ruamel.yaml, python2-ruamel.yaml):
  New variables.
---
 gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 3e71a23bc..1ad5b146e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -15512,3 +15512,35 @@ pure Python module.")
 
 (define-public python2-rencode
   (package-with-python2 python-rencode))
+
+(define-public python-ruamel.yaml
+  (package
+    (name "python-ruamel.yaml")
+    (version "0.15.16")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "ruamel.yaml" version))
+       (sha256
+        (base32
+         "0yx1a1yqgm1phrmyvqzag5jwivn25ndlnwh2mgwgr7m8skn2h045"))))
+    (build-system python-build-system)
+    (arguments
+     `(;; Tests fail with message:
+       ;; ImportError: Failed to import test module: .ruamel
+       ;; but the directory .ruamel exists in the environment
+       ;; left when the package is built with --keep-failed
+       #:tests? #f))
+    (home-page "https://bitbucket.org/ruamel/yaml";)
+    (synopsis
+     "A YAML 1.2 parser/emitter")
+    (description
+     "This package provides YAML parser/emitter that supports roundtrip
+preservation of comments, seq/map flow style, and map key order.  It
+is a derivative of Kirill Simonov’s PyYAML 3.11.  It supports YAML 1.2
+and has round-trip loaders and dumpers. It supports comments. Block
+style and key ordering are kept, so you can diff the source.")
+    (license license:expat)))
+
+(define-public python2-ruamel.yaml
+  (package-with-python2 python-ruamel.yaml))
-- 
2.13.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]