mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 06:06:53 -05:00
gnu: python2: Deprecate "python@2".
* gnu/packages/python.scm (python2-called-python): New variable.
This commit is contained in:
parent
4d65c1c304
commit
b63f6c0192
1 changed files with 9 additions and 0 deletions
|
@ -341,6 +341,15 @@ (define-public python-2.7
|
|||
;; 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")
|
||||
|
|
Loading…
Reference in a new issue