summaryrefslogtreecommitdiff
path: root/gnu/packages/python-compression.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-03 12:07:17 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-03 15:13:34 +0100
commit2f2db0b4bd286d1dde05bbcaea4a1a318d920fc7 (patch)
treec171d8bcb5b3398080d5d5882f7c64f986e10990 /gnu/packages/python-compression.scm
parent9b033228ec791c9f259dbad2bc94f0896b280c42 (diff)
gnu: python-lz4: Update to 4.4.4.
* gnu/packages/python-compression.scm (python-lz4): Update to 4.4.4. [build-system]: Switch to pyproject-build-system. [arguments] <test-flags>: Move here from custom 'check. <phases>: Use default 'check. [native-inputs]: Add python-setuptools. Change-Id: I3b49fd5e8de2c41e61124cb08efd8f3b9e5f39fe
Diffstat (limited to 'gnu/packages/python-compression.scm')
-rw-r--r--gnu/packages/python-compression.scm22
1 files changed, 10 insertions, 12 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm
index da49a2a2d99..8884876248f 100644
--- a/gnu/packages/python-compression.scm
+++ b/gnu/packages/python-compression.scm
@@ -649,30 +649,28 @@ Python strings.")
649(define-public python-lz4 649(define-public python-lz4
650 (package 650 (package
651 (name "python-lz4") 651 (name "python-lz4")
652 (version "4.3.2") 652 (version "4.4.4")
653 (source 653 (source
654 (origin 654 (origin
655 (method url-fetch) 655 (method url-fetch)
656 (uri (pypi-uri "lz4" version)) 656 (uri (pypi-uri "lz4" version))
657 (sha256 657 (sha256
658 (base32 658 (base32
659 "1nmc36j5xnk7mvwwpm0nb1sddjk5iv77h877fdkkxcngm621shz1")) 659 "1nmb757fx3k30zsjiaz7nj6cgp4zxl44w28s4l8k0ff4grid03q7"))
660 (modules '((guix build utils))) 660 (modules '((guix build utils)))
661 (snippet '(begin 661 (snippet '(begin
662 ;; Remove bundled copy of lz4. 662 ;; Remove bundled copy of lz4.
663 (delete-file-recursively "lz4libs"))))) 663 (delete-file-recursively "lz4libs")))))
664 (build-system python-build-system) 664 (build-system pyproject-build-system)
665 (arguments 665 (arguments
666 (list #:phases 666 ;; Taken from tox.ini (excludes experimental tests).
667 #~(modify-phases %standard-phases 667 (list #:test-flags #~(list "tests/block" "tests/frame")))
668 (replace 'check
669 (lambda* (#:key tests? #:allow-other-keys)
670 (when tests?
671 ;; Taken from tox.ini (excludes experimental tests).
672 (invoke "pytest" "-vv" "tests/block" "tests/frame")))))))
673 (native-inputs 668 (native-inputs
674 (list pkg-config python-pytest python-pkgconfig python-setuptools-scm 669 (list pkg-config
675 ;; For tests. 670 python-pytest
671 python-pkgconfig
672 python-setuptools
673 python-setuptools-scm
676 python-psutil)) 674 python-psutil))
677 (inputs 675 (inputs
678 (list lz4)) 676 (list lz4))