summaryrefslogtreecommitdiff
path: root/gnu/packages/python-compression.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-08-13 18:46:55 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-14 13:15:26 +0100
commita39e326af7dd2c8fc1d210550984622cce0d8d3d (patch)
treeaa8c293594815d6ce21c1f1af72f2b6fbba4d01b /gnu/packages/python-compression.scm
parentaf40cc9daa7d270d6e0324c67095fa2b0ce51ad3 (diff)
gnu: python-lzo: Update to 1.15.
* gnu/packages/python-compression.scm (python-lzo): Update to 1.15. [build-system]: Switch to pyproject-build-system. [arguemnts]<#:test-target>: Remove it. <#:phases>: Refresh them. [native-inputs]: Add python-pytest, python-setuptools, python-wheel. Change-Id: I76d390b0b0af638ecf5a33cd7357428ab751ac9f Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-compression.scm')
-rw-r--r--gnu/packages/python-compression.scm19
1 files changed, 8 insertions, 11 deletions
diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm
index 8fd893cb8e..9166620f28 100644
--- a/gnu/packages/python-compression.scm
+++ b/gnu/packages/python-compression.scm
@@ -559,29 +559,26 @@ Python.")
(define-public python-lzo
(package
(name "python-lzo")
- (version "1.14")
+ (version "1.15")
(source
(origin
(method url-fetch)
(uri (pypi-uri "python-lzo" version))
(sha256
- (base32 "0315nq6r39n51n8qqamb7xv0ib0qrh76q7g3a1977172mbndijw3"))))
- (build-system python-build-system)
+ (base32 "0jbv6853p8flk65ks0nw37f6f5v0ryi6nhppv5fm3863ql0alym5"))))
+ (build-system pyproject-build-system)
(arguments
(list
- #:test-target "check"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-setuppy
- (lambda _
+ (lambda* (#:key inputs #:allow-other-keys)
(substitute* "setup.py"
(("include_dirs.append\\(.*\\)")
- (string-append "include_dirs.append('"
- #$(this-package-input "lzo")
- "/include/lzo"
- "')"))))))))
- (inputs
- (list lzo))
+ (format #f "include_dirs.append(~s)"
+ (search-input-directory inputs "include/lzo")))))))))
+ (native-inputs (list python-pytest python-setuptools python-wheel))
+ (inputs (list lzo))
(home-page "https://github.com/jd-boyd/python-lzo")
(synopsis "Python bindings for the LZO data compression library")
(description