guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit cb93c429443e384a3f329071b64964386db94a29
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Sep 21 17:53:22 2025 +0200

    gnu: python-python3-saml: Fix package.
    
    * gnu/packages/python-web.scm (python-python3-saml):
    [arguments]<#:phases>: Improve style.
    [inputs]: Add xmlsec-openssl.
    
    Change-Id: I99b3f121aa1edc57afda203cc88d8a03c1b2de35
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-web.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 45710969f2..a198b52193 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2114,8 +2114,10 @@ Features:
           ;; FIXME: This should be fixed in python-xmlsec
           (add-before 'check 'pre-check
             (lambda* (#:key inputs #:allow-other-keys)
-              (setenv "LD_LIBRARY_PATH"
-                      (dirname (search-input-file inputs 
"lib/libxmlsec1-openssl.so.1.2.37"))))))))
+              (let ((lib (search-input-file inputs
+                                            "lib/libxmlsec1-openssl.so")))
+                (setenv "LD_LIBRARY_PATH" (dirname lib))))))))
+    (inputs (list xmlsec-openssl))
     (propagated-inputs (list python-isodate python-lxml python-xmlsec))
     (native-inputs (list python-coverage
                          python-flake8

Reply via email to