diff mbox series

[bug#55474,v5,11/55] gnu: python-easy-thumbnails: Update to 2.8.5.

Message ID b1aa0bb25512d7e73b0091fd25f8a71fb5ee07b9.1687712245.git.ngraves@ngraves.fr
State New
Headers show
Series [bug#55474,v5,01/55] gnu: python-django-4.0: Update to 4.0.9. | expand

Commit Message

Nicolas Graves June 25, 2023, 4:57 p.m. UTC
* gnu/packages/django.scm (python-easy-thumbnails): Update to 2.8.5.
[arguments]: Replace check phase.
---
 gnu/packages/django.scm | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index e2754b2d57..730a684342 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -415,15 +415,21 @@  (define-public python-django-taggit
 (define-public python-easy-thumbnails
   (package
     (name "python-easy-thumbnails")
-    (version "2.7")
+    (version "2.8.5")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "easy-thumbnails" version))
        (sha256
-        (base32
-         "14gzp5cv24z0qhxb7f7k7v9jgzpaj4n8yhjq83ynpx8183fs1rz4"))))
-    (build-system python-build-system)
+        (base32 "0dayfvfx9pr0d4pajrv2ji7rrpsxq5z5bxpyl6rn16zw14k92kky"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (replace 'check
+                 (lambda _
+                   (invoke "python" "-m" "django" "test"
+                           "--settings" "easy_thumbnails.tests.settings"))))))
     (propagated-inputs
      (list python-django python-pillow))
     (home-page "https://github.com/SmileyChris/easy-thumbnails")