gnu: python-lz4: Update to 4.0.2.
* gnu/packages/python-compression.scm (python-lz4): Update to 4.0.2. [native-inputs]: Remove PYTHON-NOSE. Add PYTHON-PKGCONFIG and PYTHON-PSUTIL. [arguments]: Override check phase.
This commit is contained in:
		
							parent
							
								
									7e0116740b
								
							
						
					
					
						commit
						389ae75a37
					
				
					 1 changed files with 14 additions and 4 deletions
				
			
		|  | @ -5,7 +5,7 @@ | ||||||
| ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu> | ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu> | ||||||
| ;;; Copyright © 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il> | ;;; Copyright © 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il> | ||||||
| ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr> | ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr> | ||||||
| ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com> | ;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org> | ||||||
| ;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot> | ;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot> | ||||||
| ;;; | ;;; | ||||||
| ;;; This file is part of GNU Guix. | ;;; This file is part of GNU Guix. | ||||||
|  | @ -230,14 +230,14 @@ Python strings.") | ||||||
| (define-public python-lz4 | (define-public python-lz4 | ||||||
|   (package |   (package | ||||||
|     (name "python-lz4") |     (name "python-lz4") | ||||||
|     (version "0.10.1") |     (version "4.0.2") | ||||||
|     (source |     (source | ||||||
|      (origin |      (origin | ||||||
|        (method url-fetch) |        (method url-fetch) | ||||||
|        (uri (pypi-uri "lz4" version)) |        (uri (pypi-uri "lz4" version)) | ||||||
|        (sha256 |        (sha256 | ||||||
|         (base32 |         (base32 | ||||||
|          "0ghv1xbaq693kgww1x9c22bplz479ls9szjsaa4ig778ls834hm0")) |          "16vj2bnhhdkcz2a2ai2mx2kf9ngx1cjr18636yp1514kq9r72fq8")) | ||||||
|        (modules '((guix build utils))) |        (modules '((guix build utils))) | ||||||
|        (snippet |        (snippet | ||||||
|         '(begin |         '(begin | ||||||
|  | @ -245,8 +245,18 @@ Python strings.") | ||||||
|            (delete-file-recursively "lz4libs") |            (delete-file-recursively "lz4libs") | ||||||
|            #t)))) |            #t)))) | ||||||
|     (build-system python-build-system) |     (build-system python-build-system) | ||||||
|  |     (arguments | ||||||
|  |      (list #:phases | ||||||
|  |            #~(modify-phases %standard-phases | ||||||
|  |                (replace 'check | ||||||
|  |                  (lambda* (#:key tests? #:allow-other-keys) | ||||||
|  |                    (when tests? | ||||||
|  |                      ;; Taken from tox.ini (excludes experimental tests). | ||||||
|  |                      (invoke "pytest" "-vv" "tests/block" "tests/frame"))))))) | ||||||
|     (native-inputs |     (native-inputs | ||||||
|      (list pkg-config python-nose python-setuptools-scm)) |      (list pkg-config python-pytest python-pkgconfig python-setuptools-scm | ||||||
|  |            ;; For tests. | ||||||
|  |            python-psutil)) | ||||||
|     (inputs |     (inputs | ||||||
|      (list lz4)) |      (list lz4)) | ||||||
|     (home-page "https://github.com/python-lz4/python-lz4") |     (home-page "https://github.com/python-lz4/python-lz4") | ||||||
|  |  | ||||||
		Reference in a new issue