guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/07: gnu: python-drmaa: Fix build failure.


From: guix-commits
Subject: 02/07: gnu: python-drmaa: Fix build failure.
Date: Mon, 14 Feb 2022 18:25:05 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 5e244cd712220b849538b37968226b117e138567
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Feb 14 23:32:14 2022 +0100

    gnu: python-drmaa: Fix build failure.
    
    * gnu/packages/python-xyz.scm (python-drmaa)[arguments]: Disable sanity
    checks.
---
 gnu/packages/python-xyz.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 00b4e2980a..c67fd6ce71 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7792,7 +7792,12 @@ etc.  The core of this module is a decorator factory.")
     ;; The test suite requires libdrmaa which is provided by the cluster
     ;; environment.  At runtime the environment variable DRMAA_LIBRARY_PATH
     ;; should be set to the path of the libdrmaa library.
-    (arguments '(#:tests? #f))
+    (arguments
+     '(#:tests? #f
+       #:phases (modify-phases %standard-phases
+                  ;; Loading the library fails because DRMAA_LIBRARY_PATH
+                  ;; is not configured.
+                  (delete 'sanity-check))))
     (native-inputs
      (list python-nose))
     (home-page "https://pypi.org/project/drmaa/";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]