[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/21: gnu: Add python-ruamel.yaml.clib.
From: |
guix-commits |
Subject: |
01/21: gnu: Add python-ruamel.yaml.clib. |
Date: |
Mon, 9 Aug 2021 08:29:04 -0400 (EDT) |
efraim pushed a commit to branch core-updates-frozen
in repository guix.
commit a852a6d16868d7f28d416d5dbad3fabe31a46aed
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Aug 9 12:02:24 2021 +0300
gnu: Add python-ruamel.yaml.clib.
* gnu/packages/serialization.scm (python-ruamel.yaml.clib): New variable.
---
gnu/packages/serialization.scm | 41 ++++++++++++++++++++++++++++++++++++++++-
1 file changed, 40 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 2362b07..7263030 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -3,7 +3,7 @@
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
;;; Copyright © 2016 David Craven <david@craven.ch>
;;; Copyright © 2016, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
-;;; Copyright © 2016, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2018, 2019, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Corentin Bocquillon <corentin@nybble.fr>
;;; Copyright © 2017 Gregor Giesen <giesen@zaehlwerk.net>
;;; Copyright © 2017 Frederick M. Muriithi <fredmanglis@gmail.com>
@@ -32,6 +32,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix hg-download)
#:use-module (guix git-download)
#:use-module (guix utils)
#:use-module (guix build-system cmake)
@@ -558,6 +559,44 @@ style and key ordering are kept, so you can diff the
source.")
(define-public python2-ruamel.yaml
(package-with-python2 python-ruamel.yaml))
+(define-public python-ruamel.yaml.clib
+ (package
+ (name "python-ruamel.yaml.clib")
+ (version "0.2.6")
+ (source
+ (origin
+ ;; pypi release code has cythonized code without corresponding source.
+ (method hg-fetch)
+ (uri (hg-reference
+ (url "http://hg.code.sf.net/p/ruamel-yaml-clib/code")
+ (changeset version)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "05m3y7pjfbaarqbbgw1k6gs6cnnmxnwadjipxvw1aaaqk3s236cs"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file "_ruamel_yaml.c")))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f ; This package is split from python-ruamel.yaml and
+ ; depends on modules from it for the test suite.
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'sanity-check) ; Depends on python-ruamel.yaml
+ (add-after 'unpack 'cythonize-code
+ (lambda _
+ (invoke "cython" "_ruamel_yaml.pyx"))))))
+ (native-inputs
+ `(("python-cython" ,python-cython)))
+ (home-page
"https://sourceforge.net/p/ruamel-yaml-clib/code/ci/default/tree")
+ (synopsis "C version of reader, parser and emitter for ruamel.yaml")
+ (description
+ "This package provides a C version of the reader, parser and emitter for
+@code{ruamel.yaml} derived from libyaml.")
+ (license license:expat)))
+
(define-public python-cbor
(package
(name "python-cbor")
- branch core-updates-frozen updated (d418784 -> 36cb285), guix-commits, 2021/08/09
- 02/21: gnu: python-ruamel.yaml: Update to 0.16.13., guix-commits, 2021/08/09
- 03/21: gnu: python-pyicu: Update to 2.7.4., guix-commits, 2021/08/09
- 04/21: gnu: python-soupsieve: Fix building., guix-commits, 2021/08/09
- 01/21: gnu: Add python-ruamel.yaml.clib.,
guix-commits <=
- 08/21: gnu: python-flask: Honor #:tests in check phase., guix-commits, 2021/08/09
- 05/21: gnu: python-pytest-xprocess: Update to 0.18.1., guix-commits, 2021/08/09
- 06/21: gnu: python-werkzeug: Update to 2.0.1., guix-commits, 2021/08/09
- 07/21: gnu: python-yarl: Update to 1.6.3., guix-commits, 2021/08/09
- 09/21: gnu: python-markupsafe: Honor #:tests in check phase., guix-commits, 2021/08/09
- 10/21: gnu: python-flask: Update to 2.0.1., guix-commits, 2021/08/09
- 12/21: gnu: python-markupsafe: Update to 2.0.1., guix-commits, 2021/08/09
- 14/21: gnu: python-pytest-isort: Honor #:tests in check phase., guix-commits, 2021/08/09
- 15/21: gnu: python-pytest-isort: Update to 2.0.0., guix-commits, 2021/08/09
- 20/21: gnu: python-astroid: Update to 2.6.6., guix-commits, 2021/08/09