diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2025-01-12 17:42:19 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2025-01-20 21:37:46 +0100 |
commit | 0d35427c4412c392ad98e7402f4cd9cad906cb02 (patch) | |
tree | 94c2aad79c61af09a5c0c00d58729e61ad280e7e | |
parent | 04dee068608a731b6378168795d1c4f8b684c968 (diff) |
gnu: python-django-statici18n: Update to 2.6.0.
* gnu/packages/django.scm (python-django-statici18n): Update to 2.6.0.
[build-system]: Use pyproject-build-system.
[arguments]: Run tests conditionally.
[native-inputs]: Add python-setuptools and python-wheel.
[propagated-inputs]: Drop labels.
Change-Id: Iad2af67f46883d7e6603180873b2616a15b6ee80
-rw-r--r-- | gnu/packages/django.scm | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index d992ae0082..fc330e69c9 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -1154,7 +1154,7 @@ name is purely coincidental.") (define-public python-django-statici18n (package (name "python-django-statici18n") - (version "2.1.0") + (version "2.6.0") (home-page "https://github.com/zyegfryed/django-statici18n") (source (origin (method git-fetch) @@ -1164,20 +1164,22 @@ name is purely coincidental.") (file-name (git-file-name name version)) (sha256 (base32 - "0x0xvfqd40is2ks43d65awgqkx3wk10lvdim15scvbjhkh301b6v")))) - (build-system python-build-system) + "13caylidzlsb25gihc6xyqfzmdikj240kqvbdb1hn3h40ky4alhv")))) + (build-system pyproject-build-system) (arguments - '(#:phases (modify-phases %standard-phases - (replace 'check - (lambda _ - (setenv "PYTHONPATH" "./tests/test_project") - (setenv "DJANGO_SETTINGS_MODULE" "project.settings") - (invoke "pytest" "-vv")))))) + (list + #:phases + '(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (setenv "PYTHONPATH" "./tests/test_project") + (setenv "DJANGO_SETTINGS_MODULE" "project.settings") + (invoke "pytest" "-vv"))))))) (native-inputs - (list python-pytest python-pytest-django)) + (list python-pytest python-pytest-django python-setuptools python-wheel)) (propagated-inputs - `(("python-django" ,python-django) - ("django-appconf" ,python-django-appconf))) + (list python-django python-django-appconf)) (synopsis "Generate JavaScript catalog to static files") (description "A Django app that provides helper for generating JavaScript catalog to |