mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 10:30:43 +02:00
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
This commit is contained in:
parent
220ef69e26
commit
91ea847a16
1 changed files with 14 additions and 16 deletions
|
@ -720,7 +720,7 @@ merging, minifying and compiling CSS and Javascript files.")
|
||||||
(define-public python-django-jinja
|
(define-public python-django-jinja
|
||||||
(package
|
(package
|
||||||
(name "python-django-jinja")
|
(name "python-django-jinja")
|
||||||
(version "2.9.1")
|
(version "2.11.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -730,24 +730,22 @@ merging, minifying and compiling CSS and Javascript files.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0p9pkn6jjzagpnvcrl9c2vjqamkms7ymvyhhmaqqqhrlv89qnzp7"))))
|
"17irzcwxm49iqyn3q2rpfncj41r6gywh938q9myfq7m733vjy2fj"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(propagated-inputs
|
|
||||||
(list python-django python-jinja2 python-pytz python-django-pipeline))
|
|
||||||
(arguments
|
(arguments
|
||||||
'(;; TODO Tests currently fail due to issues with the configuration for
|
(list
|
||||||
;; django-pipeline
|
#:phases
|
||||||
#:tests? #f
|
'(modify-phases %standard-phases
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(or
|
(when tests?
|
||||||
(not tests?)
|
(with-directory-excursion "testing"
|
||||||
(with-directory-excursion "testing"
|
(invoke "python" "runtests.py"))))))))
|
||||||
(invoke "python" "runtests.py"))))))))
|
(propagated-inputs
|
||||||
(home-page
|
(list python-django python-jinja2 python-pytz python-django-pipeline))
|
||||||
"https://niwinz.github.io/django-jinja/latest/")
|
(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")
|
(synopsis "Simple jinja2 templating backend for Django")
|
||||||
(description
|
(description
|
||||||
"This package provides a templating backend for Django, using Jinja2. It
|
"This package provides a templating backend for Django, using Jinja2. It
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue