From 91ea847a160365a23c1a7a16201aa4baeb8cbb29 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 12 Jan 2025 16:03:44 +0100 Subject: gnu: python-django-jinja: Update to 2.11.0. * gnu/packages/django.scm (python-django-jinja): Update to 2.11.0. [build-system]: Use pyproject-build-system. [arguments]: Simplify 'check phase. [native-inputs]: Add python-setuptools, python-wheel, and tzdata-for-tests. Change-Id: I19567d6de55b2c683f7748baac028df3d2ad1b33 --- gnu/packages/django.scm | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) (limited to 'gnu/packages/django.scm') diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm index c88885376e..dcd93a64c7 100644 --- a/gnu/packages/django.scm +++ b/gnu/packages/django.scm @@ -720,7 +720,7 @@ (define-public python-django-assets (define-public python-django-jinja (package (name "python-django-jinja") - (version "2.9.1") + (version "2.11.0") (source (origin (method git-fetch) @@ -730,24 +730,22 @@ (define-public python-django-jinja (file-name (git-file-name name version)) (sha256 (base32 - "0p9pkn6jjzagpnvcrl9c2vjqamkms7ymvyhhmaqqqhrlv89qnzp7")))) - (build-system python-build-system) - (propagated-inputs - (list python-django python-jinja2 python-pytz python-django-pipeline)) + "17irzcwxm49iqyn3q2rpfncj41r6gywh938q9myfq7m733vjy2fj")))) + (build-system pyproject-build-system) (arguments - '(;; TODO Tests currently fail due to issues with the configuration for - ;; django-pipeline - #:tests? #f - #:phases - (modify-phases %standard-phases + (list + #:phases + '(modify-phases %standard-phases (replace 'check (lambda* (#:key tests? #:allow-other-keys) - (or - (not tests?) - (with-directory-excursion "testing" - (invoke "python" "runtests.py")))))))) - (home-page - "https://niwinz.github.io/django-jinja/latest/") + (when tests? + (with-directory-excursion "testing" + (invoke "python" "runtests.py")))))))) + (propagated-inputs + (list python-django python-jinja2 python-pytz python-django-pipeline)) + (native-inputs + (list python-setuptools python-wheel tzdata-for-tests)) + (home-page "https://niwinz.github.io/django-jinja/latest/") (synopsis "Simple jinja2 templating backend for Django") (description "This package provides a templating backend for Django, using Jinja2. It -- cgit v1.2.3