guix_mirror_bot pushed a commit to branch master
in repository guix.

commit fec49af6dde601ad3f54edbdfa296f8ffc6af040
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Oct 5 14:01:14 2025 +0200

    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 <[email protected]>
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++--------
 1 file 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

Reply via email to