summary refs log tree commit diff
path: root/gnu/packages/django.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2020-09-01 14:35:18 +0200
committerMarius Bakke <marius@gnu.org>2020-09-22 18:41:57 +0200
commit7e244ac6639ec71010e699d74077e08c0ec4bc2f (patch)
tree8783d95bd539b7f58a3d54054addcfe9ca22b626 /gnu/packages/django.scm
parent52c8d4204c5a812319c7de24e49fb631b9a44287 (diff)
downloadguix-7e244ac6639ec71010e699d74077e08c0ec4bc2f.tar.gz
gnu: python-django-appconf: Update to 1.0.4.
* gnu/packages/django.scm (python-django-appconf): Update to 1.0.4.
[arguments]: New field.
[propagated-inputs]: Remove PYTHON-SIX.
Diffstat (limited to 'gnu/packages/django.scm')
-rw-r--r--gnu/packages/django.scm15
1 files changed, 11 insertions, 4 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 02e0633ab0..285bb53596 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -1008,17 +1008,24 @@ the order of added relations.")
 (define-public python-django-appconf
   (package
     (name "python-django-appconf")
-    (version "1.0.3")
+    (version "1.0.4")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "django-appconf" version))
               (sha256
                (base32
-                "1qw0p9qh78bvkgi38ba58djwn0rd5j1lrkg2c2wk5wb7snj3rw9m"))))
+                "101k8nkc7xlffpjdi2qbrp9pc4v8hzvmkzi12qp7vms39asxwn5y"))))
     (build-system python-build-system)
+    (arguments
+     '(#:phases (modify-phases %standard-phases
+                  (replace 'check
+                    (lambda _
+                      (setenv "PYTHONPATH" (string-append ".:"
+                                                          (getenv "PYTHONPATH")))
+                      (setenv "DJANGO_SETTINGS_MODULE" "tests.test_settings")
+                      (invoke "django-admin.py" "test" "-v2"))))))
     (propagated-inputs
-     `(("python-django" ,python-django)
-       ("python-six" ,python-six)))
+     `(("python-django" ,python-django)))
     (home-page "https://github.com/django-compressor/django-appconf")
     (synopsis "Handle configuration defaults of packaged Django apps")
     (description