guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: python2-decorator: Downgrade to 4.3.0


From: guix-commits
Subject: branch master updated: gnu: python2-decorator: Downgrade to 4.3.0
Date: Thu, 02 Dec 2021 12:58:06 -0500

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

rekado pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 1f5c1bc  gnu: python2-decorator: Downgrade to 4.3.0
1f5c1bc is described below

commit 1f5c1bc024874b697e4251e1410919b705a86eb3
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Dec 2 18:56:29 2021 +0100

    gnu: python2-decorator: Downgrade to 4.3.0
    
    * gnu/packages/python-xyz.scm (python2-decorator): Keep at 4.3.0.
    (python-decorator)[properties]: Add python2-variant.
---
 gnu/packages/python-xyz.scm | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 18a9b77..c607aff 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7633,10 +7633,21 @@ PNG, PostScript, PDF, and SVG file output.")
 for the average programmer, and to popularize decorators usage giving examples
 of useful decorators, such as memoize, tracing, redirecting_stdout, locked,
 etc.  The core of this module is a decorator factory.")
-    (license license:expat)))
+    (license license:expat)
+    (properties `((python2-variant . ,(delay python2-decorator))))))
 
+;; Version 5 does not support Python 2
 (define-public python2-decorator
-  (package-with-python2 python-decorator))
+  (package
+    (inherit (package-with-python2
+              (strip-python2-variant python-decorator)))
+    (version "4.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "decorator" version))
+       (sha256
+        (base32 "0308djallnh00v112y5b7nadl657ysmkp6vc8xn51d6yzc9zm7n3"))))))
 
 (define-public python-drmaa
   (package



reply via email to

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