guix-patches
[Top][All Lists]
Advanced

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

[bug#54934] [PATCH 1/4] gnu: python-pyyaml-for-awscli: Rename and hide.


From: zimoun
Subject: [bug#54934] [PATCH 1/4] gnu: python-pyyaml-for-awscli: Rename and hide.
Date: Thu, 14 Apr 2022 13:10:36 +0200

* gnu/packages/python-xyz.scm (python-pyyaml-for-awscli): Rename variable to
'python-pyyaml-5', hide the package.
---
 gnu/packages/python-xyz.scm | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 36e4fe5898..1938b2bfad 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3941,17 +3941,19 @@ (define-public python2-pyyaml
           (base32
            "0pm440pmpvgv5rbbnm8hk4qga5a292kvlm1bh3x2nwr8pb5p8xv0")))))))
 
-(define-public python-pyyaml-for-awscli
-  (package
-    (inherit python-pyyaml)
-    (version "5.4.1")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "PyYAML" version))
-       (sha256
-        (base32
-         "0pm440pmpvgv5rbbnm8hk4qga5a292kvlm1bh3x2nwr8pb5p8xv0"))))))
+;;; Required by some packages not yet updated.
+(define-public python-pyyaml-5
+  (hidden-package
+   (package
+     (inherit python-pyyaml)
+     (version "5.4.1")
+     (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "PyYAML" version))
+        (sha256
+         (base32
+          "0pm440pmpvgv5rbbnm8hk4qga5a292kvlm1bh3x2nwr8pb5p8xv0")))))))
 
 (define-public python-vine
   (package
-- 
2.35.1






reply via email to

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