From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRsLH-0005x5-PN for guix-patches@gnu.org; Sun, 02 Jul 2017 23:48:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dRsLC-0002Vc-Pz for guix-patches@gnu.org; Sun, 02 Jul 2017 23:48:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46623) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dRsLC-0002VA-M9 for guix-patches@gnu.org; Sun, 02 Jul 2017 23:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dRsLC-0000og-13 for guix-patches@gnu.org; Sun, 02 Jul 2017 23:48:02 -0400 Subject: [bug#27558] [PATCH] gnu: Add python-ruamel.yaml Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRsKD-0005Uk-Dy for guix-patches@gnu.org; Sun, 02 Jul 2017 23:47:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dRsK8-0001kz-IQ for guix-patches@gnu.org; Sun, 02 Jul 2017 23:47:01 -0400 Received: from mail-wr0-x22d.google.com ([2a00:1450:400c:c0c::22d]:36398) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dRsK8-0001jF-Ae for guix-patches@gnu.org; Sun, 02 Jul 2017 23:46:56 -0400 Received: by mail-wr0-x22d.google.com with SMTP id c11so227638826wrc.3 for ; Sun, 02 Jul 2017 20:46:54 -0700 (PDT) Received: from localhost.localdomain (41-139-150-138.safaricombusiness.co.ke. [41.139.150.138]) by smtp.gmail.com with ESMTPSA id 185sm17282276wmu.33.2017.07.02.20.46.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Jul 2017 20:46:51 -0700 (PDT) From: Muriithi Frederick Muriuki Date: Mon, 3 Jul 2017 06:47:03 +0300 Message-Id: <20170703034703.9668-1-fredmanglis@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27558@debbugs.gnu.org * 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