summaryrefslogtreecommitdiff
path: root/gnu/packages/django.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2025-01-12 13:19:42 +0100
committerRicardo Wurmus <rekado@elephly.net>2025-01-20 21:37:45 +0100
commitd19bd45ce91f2ac9792b16fe22eee9b11ecb8f21 (patch)
tree838220414b25612cbc33d3dde4677d31f487d796 /gnu/packages/django.scm
parent29bbaa4aa4ae831b2f4058133cc0d4fd5ff75584 (diff)
gnu: python-django-haystack: Update to 3.3.0.
* gnu/packages/django.scm (python-django-haystack): Update to 3.3.0. [build-system]: Use pyproject-build-system. [arguments]: Adjust; remove phase 'loosen-verion-restrictions. [propagated-inputs]: Add python-packaging. [native-inputs]: Remove gdal, python-mock, and python-nose; add python-setuptools and python-wheel. [inputs]: Add gdal. Change-Id: Ib9cfb2231ec79e26474e8123cbde2ea4598590da
Diffstat (limited to 'gnu/packages/django.scm')
-rw-r--r--gnu/packages/django.scm33
1 files changed, 16 insertions, 17 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 9369c37a83f..8364df3943a 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -484,42 +484,41 @@ useful tools for testing Django applications and projects.")
(define-public python-django-haystack
(package
(name "python-django-haystack")
- (version "3.1.1")
+ (version "3.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "django-haystack" version))
(sha256
(base32
- "10kaa5641cakpra2x3jqgys085gdkjcyns26plfyrmfpjmmpa1bd"))))
- (build-system python-build-system)
+ "1arfl0y34nfvpzwiib6859g9154qqvdb97j09nhmsqh0h1myvkp3"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'loosen-verion-restrictions
- (lambda _
- (substitute* "setup.py"
- (("geopy.*") "geopy\",\n"))))
+ (list
+ ;; It is unclear how to run the tests. They require a running local
+ ;; solr server.
+ #:tests? #false
+ #:phases
+ '(modify-phases %standard-phases
(add-before 'check 'set-gdal-lib-path
(lambda* (#:key inputs #:allow-other-keys)
(setenv "GDAL_LIBRARY_PATH"
(string-append (assoc-ref inputs "gdal")
"/lib"))))
;; Importing this module requires setting up a Django project.
- (delete 'sanity-check))
- #:tests? #f)) ; OSError: libgdal.so.27: cannot open shared object file
+ (delete 'sanity-check))))
(propagated-inputs
- (list python-django))
+ (list python-django python-packaging))
+ (inputs (list gdal))
(native-inputs
- (list gdal
- python-coverage
+ (list python-coverage
python-dateutil
python-geopy
- python-mock
- python-nose
+ python-pysolr
python-requests
+ python-setuptools
python-setuptools-scm
- python-pysolr
+ python-wheel
python-whoosh))
(home-page "https://haystacksearch.org/")
(synopsis "Pluggable search for Django")