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 12:57:23 +0200
committerMarius Bakke <marius@gnu.org>2020-09-22 18:41:55 +0200
commit357ab65bae0b1f83eb7491cd0cce9aa4e8a5f2a4 (patch)
tree743a1178dfe0b823e04e1ec89abd2b57eb0d0daa /gnu/packages/django.scm
parente2ac59f984d68f6d1011633df6d612d2bb54229f (diff)
downloadguix-357ab65bae0b1f83eb7491cd0cce9aa4e8a5f2a4.tar.gz
gnu: python-django-assets: Update to 2.0.
* gnu/packages/django.scm (python-django-assets): Update to 2.0.
[arguments]: Remove.
Diffstat (limited to 'gnu/packages/django.scm')
-rw-r--r--gnu/packages/django.scm23
1 files changed, 2 insertions, 21 deletions
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 56aefb773e..5567fcbed1 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -559,33 +559,14 @@ templatetags and a full test suite.")
 (define-public python-django-assets
   (package
     (name "python-django-assets")
-    (version "0.12")
+    (version "2.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "django-assets" version))
               (sha256
                (base32
-                "0y0007fvkn1rdlj2g0y6k1cnkx53kxab3g8i85i0rd58k335p365"))))
+                "0fc6i77faxxv1gjlp06lv3kw64b5bhdiypaygfxh5djddgk83fwa"))))
     (build-system python-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-before 'check 'fix-tests
-           (lambda _
-             (begin
-               ;; https://github.com/miracle2k/django-assets/issues/87
-               (substitute* "tests/__init__.py"
-                 (("settings.configure.*")
-                  (string-append
-                    "settings.configure(\n"
-                    "INSTALLED_APPS=['django_assets', "
-                    "'django.contrib.staticfiles'],\n"
-                    "TEMPLATES=[{'BACKEND': "
-                    "'django.template.backends.django.DjangoTemplates'}],\n"
-                    ")\n")))
-              ;; These tests fail
-              (substitute* "tests/test_django.py"
-                (("TestLoader") "NoTestLoader"))))))))
     (native-inputs
      `(("python-nose" ,python-nose)))
     (propagated-inputs