diff options
| author | Marius Bakke <marius@gnu.org> | 2022-08-15 22:23:13 +0200 |
|---|---|---|
| committer | Marius Bakke <marius@gnu.org> | 2022-08-16 00:43:43 +0200 |
| commit | 389ae75a37b4238c8efa8577cd860e37e35a961e (patch) | |
| tree | 3874ad3935a3629543bb28d61ad7af28cbee159c /gnu/packages/python-compression.scm | |
| parent | 7e0116740b8d93ccd0d6d760dc89cbdc65598119 (diff) | |
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.
Diffstat (limited to 'gnu/packages/python-compression.scm')
| -rw-r--r-- | gnu/packages/python-compression.scm | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index edfa974a716..12c172c0bc1 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu> | 5 | ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu> |
| 6 | ;;; Copyright © 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il> | 6 | ;;; Copyright © 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il> |
| 7 | ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr> | 7 | ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr> |
| 8 | ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com> | 8 | ;;; Copyright © 2020, 2022 Marius Bakke <marius@gnu.org> |
| 9 | ;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot> | 9 | ;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot> |
| 10 | ;;; | 10 | ;;; |
| 11 | ;;; This file is part of GNU Guix. | 11 | ;;; This file is part of GNU Guix. |
| @@ -230,14 +230,14 @@ Python strings.") | |||
| 230 | (define-public python-lz4 | 230 | (define-public python-lz4 |
| 231 | (package | 231 | (package |
| 232 | (name "python-lz4") | 232 | (name "python-lz4") |
| 233 | (version "0.10.1") | 233 | (version "4.0.2") |
| 234 | (source | 234 | (source |
| 235 | (origin | 235 | (origin |
| 236 | (method url-fetch) | 236 | (method url-fetch) |
| 237 | (uri (pypi-uri "lz4" version)) | 237 | (uri (pypi-uri "lz4" version)) |
| 238 | (sha256 | 238 | (sha256 |
| 239 | (base32 | 239 | (base32 |
| 240 | "0ghv1xbaq693kgww1x9c22bplz479ls9szjsaa4ig778ls834hm0")) | 240 | "16vj2bnhhdkcz2a2ai2mx2kf9ngx1cjr18636yp1514kq9r72fq8")) |
| 241 | (modules '((guix build utils))) | 241 | (modules '((guix build utils))) |
| 242 | (snippet | 242 | (snippet |
| 243 | '(begin | 243 | '(begin |
| @@ -245,8 +245,18 @@ Python strings.") | |||
| 245 | (delete-file-recursively "lz4libs") | 245 | (delete-file-recursively "lz4libs") |
| 246 | #t)))) | 246 | #t)))) |
| 247 | (build-system python-build-system) | 247 | (build-system python-build-system) |
| 248 | (arguments | ||
| 249 | (list #:phases | ||
| 250 | #~(modify-phases %standard-phases | ||
| 251 | (replace 'check | ||
| 252 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 253 | (when tests? | ||
| 254 | ;; Taken from tox.ini (excludes experimental tests). | ||
| 255 | (invoke "pytest" "-vv" "tests/block" "tests/frame"))))))) | ||
| 248 | (native-inputs | 256 | (native-inputs |
| 249 | (list pkg-config python-nose python-setuptools-scm)) | 257 | (list pkg-config python-pytest python-pkgconfig python-setuptools-scm |
| 258 | ;; For tests. | ||
| 259 | python-psutil)) | ||
| 250 | (inputs | 260 | (inputs |
| 251 | (list lz4)) | 261 | (list lz4)) |
| 252 | (home-page "https://github.com/python-lz4/python-lz4") | 262 | (home-page "https://github.com/python-lz4/python-lz4") |
