guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: python2: Deprecate "address@hidden".


From: Ludovic Courtès
Subject: 01/02: gnu: python2: Deprecate "address@hidden".
Date: Mon, 11 Jun 2018 12:23:39 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit b63f6c0192cc5cc2f75d2a7dd8ef5371fe8e56b5
Author: Ludovic Courtès <address@hidden>
Date:   Mon Jun 11 17:31:49 2018 +0200

    gnu: python2: Deprecate "address@hidden".
    
    * gnu/packages/python.scm (python2-called-python): New variable.
---
 gnu/packages/python.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b41e0c6..3907fd6 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -341,6 +341,15 @@ data types.")
 ;; Current 2.x version.
 (define-public python-2 python-2.7)
 
+(define-public python2-called-python
+  ;; Both 2.x and 3.x used to be called "python".  In commit
+  ;; a7714d42de2c3082f3609d1e63c83d703fb39cf9 (March 2018), we renamed the
+  ;; Python 2.x package to "python2".
+  (package
+    (inherit python-2)
+    (name "python")
+    (properties `((superseded . ,python-2)))))
+
 (define-public python-3.6
   (package (inherit python-2)
     (name "python")



reply via email to

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