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>
This commit is contained in:
Nicolas Graves 2025-10-05 14:01:14 +02:00 committed by Sharlatan Hellseher
parent 7813ffeb69
commit fec49af6dd
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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