Archived
1
0
Fork 0

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.
This commit is contained in:
Marius Bakke 2021-12-01 00:45:04 +01:00
parent acbc01940b
commit de5a8b26f2
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

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