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

Previous Next

Package: guix-patches;

Reported by: Muriithi Frederick Muriuki <fredmanglis <at> gmail.com>

Date: Mon, 3 Jul 2017 03:48:01 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 27558 <at> debbugs.gnu.org (full text, mbox):

From: Muriithi Frederick Muriuki <fredmanglis <at> gmail.com>
To: 27558 <at> debbugs.gnu.org
Cc: mbakke <at> fastmail.com
Subject: [PATCH] gnu: Add python-ruamel.yaml
Date: Wed, 12 Jul 2017 02:17:01 +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 d110a1cb3..161812ac9 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -15549,3 +15549,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.18")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "ruamel.yaml" version))
+       (sha256
+        (base32
+         "1mg8zgc2f45fh7hfy2hdfb8cxq503jqjb7v1gzd9am4bqgkrqp1l"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* _
+             (zero? (system* "bash" "-c" "py.test" "_test/test_*.py")))))))
+    (home-page "https://bitbucket.org/ruamel/yaml")
+    (synopsis "This is 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





This bug report was last modified 8 years and 9 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.