guix-commits
[Top][All Lists]
Advanced

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

branch core-updates-frozen updated: gnu: python2-markupsafe: Downgrade t


From: guix-commits
Subject: branch core-updates-frozen updated: gnu: python2-markupsafe: Downgrade to 1.1.1.
Date: Wed, 08 Dec 2021 10:07:26 -0500

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch core-updates-frozen
in repository guix.

The following commit(s) were added to refs/heads/core-updates-frozen by this 
push:
     new 14ed9b0  gnu: python2-markupsafe: Downgrade to 1.1.1.
14ed9b0 is described below

commit 14ed9b049e5375296f438213c42663579362da0e
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Dec 8 14:43:38 2021 +0100

    gnu: python2-markupsafe: Downgrade to 1.1.1.
    
    * gnu/packages/python-xyz.scm (python2-markupsafe): Downgrade to 1.1.1,
    because that's the last version to support Python 2.
---
 gnu/packages/python-xyz.scm | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4b01fd5..ebe0b57 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3966,10 +3966,22 @@ e.g. filters, callbacks and errbacks can all be 
promises.")
     (description
      "Markupsafe provides an XML/HTML/XHTML markup safe string implementation
 for Python.")
-    (license license:bsd-3)))
+    (license license:bsd-3)
+    (properties `((python2-variant . ,(delay python2-markupsafe))))))
 
+;; Version 1.1.1 is the last to support Python 2.
 (define-public python2-markupsafe
-  (package-with-python2 python-markupsafe))
+  (package
+    (inherit (package-with-python2
+              (strip-python2-variant python-markupsafe)))
+    (version "1.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "MarkupSafe" version))
+       (sha256
+        (base32
+         "0sqipg4fk7xbixqd8kq6rlkxj664d157bdwbh93farcphf92x1r9"))))))
 
 (define-public python-jinja2
   (package



reply via email to

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