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