summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-05 14:01:14 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-05 17:09:12 +0100
commitfec49af6dde601ad3f54edbdfa296f8ffc6af040 (patch)
tree66ada4403fd8a4f49137b5e5f494adc2fd96c3ea
parent7813ffeb6937b833aacd59ab2bdf11b1fd102fc8 (diff)
gnu: python-ld: Update to 1.9.0.
* gnu/packages/python-xyz.scm (python-ld): Update to 1.9.0. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:test-flags>: Disable failing tests. [native-inputs]: Add python-pytest, python-setuptools. Change-Id: Ia2d9e7d5c1b5bf487fe869fcb57c5d5a9d89e72c Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-xyz.scm25
1 files changed, 17 insertions, 8 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d6532b60d3..ebf2c91a67 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -35335,17 +35335,26 @@ Django template systems, the filters can be used in any environment.")
(define-public python-ld
(package
(name "python-ld")
- (version "0.5.0")
+ (version "1.9.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "ld" version))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nir0s/ld")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32
- "1k4ydp5rgkv4985v459kcl06i1igjm1ywvh2vkbi9ck1zyyri1z5"))))
- (build-system python-build-system)
- (propagated-inputs
- (list python-six))
+ (base32 "16yacjfw701n8dhyi26hps3i7fchbvnq9gcrx7v0fn2lbfzzvq00"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; XXX: These tests expect ubuntu distro.
+ #:test-flags
+ #~(list "-k" (string-join (list "not test_ubuntu14normal_lsb_release"
+ "test_ubuntu14nomodules_lsb_release"
+ "test_trailingblanks_lsb_release")
+ " and not "))))
+ (native-inputs (list python-pytest python-setuptools))
(home-page "https://github.com/nir0s/ld")
(synopsis "OS platform information API")
(description