mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: python-django-url-filter: Patch for Django 4.0 compatibility.
* gnu/packages/django.scm (python-django-url-filter)[source](modules, snippet): New fields.
This commit is contained in:
parent
4c2df34c41
commit
f001f30bdf
1 changed files with 9 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2018 Vijayalakshmi Vedantham <vijimay12@gmail.com>
|
;;; Copyright © 2018 Vijayalakshmi Vedantham <vijimay12@gmail.com>
|
||||||
;;; Copyright © 2019 Sam <smbaines8@gmail.com>
|
;;; Copyright © 2019 Sam <smbaines8@gmail.com>
|
||||||
;;; Copyright © 2020, 2021 Marius Bakke <marius@gnu.org>
|
;;; Copyright © 2020, 2021, 2022 Marius Bakke <marius@gnu.org>
|
||||||
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;; Copyright © 2021 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com>
|
;;; Copyright © 2021 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com>
|
||||||
;;;
|
;;;
|
||||||
|
@ -1263,7 +1263,14 @@ (define-public python-django-url-filter
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0r4zhqhs8y6cnplwyvcb0zpijizw1ifnszs38n4w8138657f9026"))))
|
"0r4zhqhs8y6cnplwyvcb0zpijizw1ifnszs38n4w8138657f9026"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
;; Patch for Django 4.0 compatibility, taken from upstream pull
|
||||||
|
;; request: https://github.com/miki725/django-url-filter/pull/103
|
||||||
|
'(substitute* "url_filter/validators.py"
|
||||||
|
((" ungettext_lazy")
|
||||||
|
" ngettext_lazy")))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f ;FIXME: Django raises "Apps aren't loaded yet"!?
|
'(#:tests? #f ;FIXME: Django raises "Apps aren't loaded yet"!?
|
||||||
|
|
Loading…
Reference in a new issue