[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
269/397: gnu: python-django-statici18n: Update to 2.6.0.
From: |
guix-commits |
Subject: |
269/397: gnu: python-django-statici18n: Update to 2.6.0. |
Date: |
Thu, 16 Jan 2025 04:30:48 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit b5bd476dd829c1619b2bf5e803e2986dedd7b363
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Jan 12 17:42:19 2025 +0100
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
---
gnu/packages/django.scm | 26 ++++++++++++++------------
1 file 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
- 211/397: gnu: python-episcanpy: Add missing input., (continued)
- 211/397: gnu: python-episcanpy: Add missing input., guix-commits, 2025/01/16
- 213/397: gnu: scregseg: Patch for numpy compatibility., guix-commits, 2025/01/16
- 216/397: gnu: python-mathics-django: Add missing inputs., guix-commits, 2025/01/16
- 219/397: gnu: python-mathics-pygments: Add missing inputs., guix-commits, 2025/01/16
- 223/397: gnu: python-astropy-minimal: Add missing input., guix-commits, 2025/01/16
- 224/397: gnu: python-asdf-astropy: Add missing input., guix-commits, 2025/01/16
- 246/397: gnu: python-agate-dbf: Drop input labels., guix-commits, 2025/01/16
- 236/397: gnu: datasette: Update to 1.0a16., guix-commits, 2025/01/16
- 222/397: gnu: python-regions: Add missing input., guix-commits, 2025/01/16
- 225/397: gnu: python-gwcs: Add missing input., guix-commits, 2025/01/16
- 269/397: gnu: python-django-statici18n: Update to 2.6.0.,
guix-commits <=
- 230/397: gnu: python-fastapi: Enable multipart tests., guix-commits, 2025/01/16
- 272/397: gnu: python-django-redis: Update to 5.4.0., guix-commits, 2025/01/16
- 228/397: gnu: python-multipart: Update to 0.0.20., guix-commits, 2025/01/16
- 227/397: gnu: python-spectral-cube: Add missing input., guix-commits, 2025/01/16
- 270/397: gnu: python-django-tagging: Update to 0.5.1., guix-commits, 2025/01/16
- 266/397: gnu: python-django-rq: Use pyproject-build-system., guix-commits, 2025/01/16
- 258/397: gnu: python-django-haystack: Update to 3.3.0., guix-commits, 2025/01/16
- 244/397: gnu: python-sybil: Update to 9.0.0., guix-commits, 2025/01/16
- 265/397: gnu: python-django-redis: Use pyproject-build-system., guix-commits, 2025/01/16
- 250/397: gnu: Add python-nanobind., guix-commits, 2025/01/16