diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-06-08 23:01:25 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-06-08 23:26:00 +0100 |
| commit | 9bb5200f24a321df91be4d82a48599f0a68fa317 (patch) | |
| tree | 9065fefd5a7777b474bca73c18e07c53eb79099c /gnu/packages/django.scm | |
| parent | b95eed260a861c4f4bed8e82757caaf043d129fe (diff) | |
gnu: python-django-allauth: Include .js data files.
It's a follow up ecb17b47ef74e1335a3c00964969bff2bfdcfce1 commit.
* gnu/packages/django.scm (python-django-allauth):
[phases]{include-package-data}: Add "*.js" to scope.
Change-Id: I101eba5fe28670d333205a3c80eaf0b84c03fd8e
Diffstat (limited to 'gnu/packages/django.scm')
| -rw-r--r-- | gnu/packages/django.scm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index 163d5c70252..aea5bb3c906 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm | |||
| @@ -809,12 +809,14 @@ them do this.") | |||
| 809 | #~(modify-phases %standard-phases | 809 | #~(modify-phases %standard-phases |
| 810 | (add-after 'unpack 'include-package-data | 810 | (add-after 'unpack 'include-package-data |
| 811 | (lambda _ | 811 | (lambda _ |
| 812 | ;; XXX: Report upstream. | 812 | ;; setuptools-scm works only with VCS tracked files, and any non |
| 813 | ;; "*.py" data files are ignored, see: | ||
| 814 | ;; allauth/django-allauth#4705 and guix/guix#8975. | ||
| 813 | (substitute* "pyproject.toml" | 815 | (substitute* "pyproject.toml" |
| 814 | (("\"\\*\\.mo\"" all) | 816 | (("\"\\*\\.mo\"" all) |
| 815 | (string-join | 817 | (string-join |
| 816 | (list all "'*.html'" "'*.md'" "'*.txt'" "'*.yaml'" | 818 | (list all "'*.js'" "'*.html'" "'*.md'" "'*.txt'" |
| 817 | "'*.xml'") | 819 | "'*.yaml'" "'*.xml'") |
| 818 | ", "))))) | 820 | ", "))))) |
| 819 | (add-before 'check 'remove-local-source | 821 | (add-before 'check 'remove-local-source |
| 820 | (lambda _ | 822 | (lambda _ |
