From bf10421a67d308a0b306e27a4ff1576a491362a2 Mon Sep 17 00:00:00 2001 From: zimoun Date: Thu, 14 Apr 2022 13:10:36 +0200 Subject: gnu: python-pyyaml: Reintroduce 5.4. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-pyyaml-5): New variable. Co-authored-by: Ludovic Courtès --- gnu/packages/python-xyz.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index afb80171a5..f8e599a453 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3930,6 +3930,18 @@ provides Python-specific tags that represent an arbitrary Python object.") (license license:expat) (properties `((python2-variant . ,(delay python2-pyyaml)))))) +(define-public python-pyyaml-5 + (package + (inherit python-pyyaml) + (version "5.4.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "PyYAML" version)) + (sha256 + (base32 + "0pm440pmpvgv5rbbnm8hk4qga5a292kvlm1bh3x2nwr8pb5p8xv0")))))) + (define-public python2-pyyaml (let ((base (package-with-python2 (strip-python2-variant python-pyyaml)))) (package -- cgit v1.2.3