summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-27 22:17:46 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-28 20:27:24 +0000
commita6ff5a6df5b766f4b1bdb26ddea78b06ffbf6601 (patch)
tree798a0d6681e59447644f5b2c20973c1fcad2bc4a
parent95d586a03cfc661fbb33eff399b5a879584b71a0 (diff)
gnu: python-locket: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-locket): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them. [native-inputs]: Add python-setuptools. Change-Id: I76f182d7898a9594ce593fc289eb44fb31c6cabe Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-xyz.scm16
1 files changed, 11 insertions, 5 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 75178b42dd0..056b4e3a322 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28162,12 +28162,18 @@ data.")
(version "1.0.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "locket" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mwilliamson/locket.py")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "0cm6290zm3ba62n2x2piy3s8d41hrmffda2nw18ggfwb582lq3aw"))))
- (build-system python-build-system)
+ (base32 "0xx57gq5r7x58yd2mq6zxlr2kpzbyb0b5y5hiprgvkib948jxx0p"))))
+ (build-system pyproject-build-system)
+ ;; XXX: Requires python-spur, which requires another version of
+ ;; python-paramiko.
+ (arguments (list #:tests? #f))
+ (native-inputs (list python-setuptools))
(home-page "https://github.com/mwilliamson/locket.py")
(synopsis "File-based locks for Python")
(description