guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#43354] [PATCH 36/55] gnu: python-django-override-storage: Update to


From: Marius Bakke
Subject: [bug#43354] [PATCH 36/55] gnu: python-django-override-storage: Update to 0.3.0.
Date: Sat, 12 Sep 2020 16:28:52 +0200

* gnu/packages/django.scm (python-django-override-storage): Update to 0.3.0.
[source]: Switch to GIT-FETCH.
[arguments]: New field.
[native-inputs]: Add PYTHON-MOCK.
---
 gnu/packages/django.scm | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 0dd52294b8..62e6263270 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -1325,18 +1325,27 @@ template tag.")
 (define-public python-django-override-storage
   (package
     (name "python-django-override-storage")
-    (version "0.1.6")
+    (version "0.3.0")
+    (home-page "https://github.com/danifus/django-override-storage";)
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "django-override-storage" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url home-page)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "022arq94lxnlyykn8wvfnkykhi2dldnsn93pa2i41na551i0wpiv"))))
+        (base32 "081kzfk7mmybhihvc92d3hsdg0r2k20ydq88fs1fgd348sq1ax51"))))
     (build-system python-build-system)
+    (arguments
+     '(#:phases (modify-phases %standard-phases
+                  (replace 'check
+                    (lambda _
+                      (invoke "python" "runtests.py"))))))
+    (native-inputs
+     `(("python-mock" ,python-mock)))
     (propagated-inputs
      `(("python-django" ,python-django)))
-    (home-page
-     "https://github.com/danifus/django-override-storage";)
     (synopsis "Django test helpers to manage file storage side effects")
     (description
      "This project provides tools to help reduce the side effects of using
-- 
2.28.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]