diff options
| -rw-r--r-- | gnu/packages/django.scm | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 8cda1bf603d..0beffc95fb5 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm | |||
| @@ -807,7 +807,22 @@ them do this.") | |||
| 807 | ;; tests: 1812 passed, 9 warnings | 807 | ;; tests: 1812 passed, 9 warnings |
| 808 | #:test-flags | 808 | #:test-flags |
| 809 | ;; XXX: KeyError: location | 809 | ;; XXX: KeyError: location |
| 810 | #~(list "--ignore=allauth/socialaccount/providers/openid/tests.py"))) | 810 | #~(list "--ignore=allauth/socialaccount/providers/openid/tests.py") |
| 811 | #:phases | ||
| 812 | #~(modify-phases %standard-phases | ||
| 813 | (add-after 'unpack 'include-package-data | ||
| 814 | (lambda _ | ||
| 815 | ;; XXX: Report upstream. | ||
| 816 | (substitute* "pyproject.toml" | ||
| 817 | (("\"\\*\\.mo\"" all) | ||
| 818 | (string-join | ||
| 819 | (list all "'*.html'" "'*.md'" "'*.txt'" "'*.yaml'" | ||
| 820 | "'*.xml'") | ||
| 821 | ", "))))) | ||
| 822 | (add-before 'check 'remove-local-source | ||
| 823 | (lambda _ | ||
| 824 | ;; To force tests using installed package. | ||
| 825 | (delete-file-recursively "allauth")))))) | ||
| 811 | (propagated-inputs | 826 | (propagated-inputs |
| 812 | (list python-asgiref | 827 | (list python-asgiref |
| 813 | python-django | 828 | python-django |
