gnu: python-django-haystack: Update to 3.1.1.

* gnu/packages/django.scm (python-django-haystack): Update to 3.1.1.
[arguments]: Adjust substitution.
This commit is contained in:
Marius Bakke 2021-12-03 00:34:20 +01:00
parent eb8619a5a6
commit f457fb19dd
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -390,14 +390,14 @@ useful tools for testing Django applications and projects.")
(define-public python-django-haystack (define-public python-django-haystack
(package (package
(name "python-django-haystack") (name "python-django-haystack")
(version "2.8.1") (version "3.1.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "django-haystack" version)) (uri (pypi-uri "django-haystack" version))
(sha256 (sha256
(base32 (base32
"1302fqsrx8w474xk5cmnmg3hjqfprlxnjg9qlg86arsr4v4vqm4b")))) "10kaa5641cakpra2x3jqgys085gdkjcyns26plfyrmfpjmmpa1bd"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
'(#:phases '(#:phases
@ -405,7 +405,7 @@ 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"))))
(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"