guix-commits
[Top][All Lists]
Advanced

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

03/24: gnu: python-django-haystack: Disable sanity check.


From: guix-commits
Subject: 03/24: gnu: python-django-haystack: Disable sanity check.
Date: Sun, 5 Dec 2021 08:16:23 -0500 (EST)

mbakke pushed a commit to branch core-updates-frozen
in repository guix.

commit de5a8b26f276035d2f3b949ee4f147a694c42c23
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Dec 1 00:45:04 2021 +0100

    gnu: python-django-haystack: Disable sanity check.
    
    * gnu/packages/django.scm (python-django-haystack)[arguments]: Delete one
    phase.  While at it, remove trailing #t's.
---
 gnu/packages/django.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index c11d3cf..5c1c314 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -405,14 +405,14 @@ useful tools for testing Django applications and 
projects.")
          (add-after 'unpack 'loosen-verion-restrictions
            (lambda _
              (substitute* "setup.py"
-               (("geopy.*") "geopy',\n"))
-             #t))
+               (("geopy.*") "geopy',\n"))))
          (add-before 'check 'set-gdal-lib-path
            (lambda* (#:key inputs #:allow-other-keys)
              (setenv "GDAL_LIBRARY_PATH"
                      (string-append (assoc-ref inputs "gdal")
-                                    "/lib"))
-             #t)))
+                                    "/lib"))))
+         ;; Importing this module requires setting up a Django project.
+         (delete 'sanity-check))
        #:tests? #f)) ; OSError: libgdal.so.27: cannot open shared object file
     (propagated-inputs
      `(("python-django" ,python-django)))



reply via email to

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