gnu: Remove python-contextlib2.

This package is part of the Python standard library since version 3.2.

* gnu/packages/python.scm (python-contextlib2): Rename to ...
(python2-contextlib2): ... this.  Remove previous incarnation.
[arguments]: Set #:python.
This commit is contained in:
Marius Bakke 2018-09-10 14:24:34 +02:00
parent e5eef32445
commit d4c04e509b
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 4 additions and 6 deletions

View File

@ -7159,9 +7159,9 @@ be set via config files and/or environment variables.")
@code{ArgumentParser} object.")
(license license:asl2.0)))
(define-public python-contextlib2
(define-public python2-contextlib2
(package
(name "python-contextlib2")
(name "python2-contextlib2")
(version "0.4.0")
(source
(origin
@ -7172,7 +7172,8 @@ be set via config files and/or environment variables.")
"0cmp131dlh0d0zvw0aza1zd13glvngzk8lb4avks0hm7yxwdr9am"))))
(build-system python-build-system)
(arguments
`(#:phases
`(#:python ,python-2
#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _ (zero?
@ -7187,9 +7188,6 @@ managers. It also contains additional features that are not part of
the standard library.")
(license license:psfl)))
(define-public python2-contextlib2
(package-with-python2 python-contextlib2))
(define-public python-texttable
(package
(name "python-texttable")