~ruther/guix-local

8335f7b441b40d2fc7659d1c21f7a98d524d5c5b — Sharlatan Hellseher 1 year, 6 months ago d14663b
gnu: python-django-compressor: Fix indentation.

* gnu/packages/django.scm (python-django-compressor): Fix indentation.

Change-Id: I8e05c49a075cf394de2ddaa74d5bca519fbee8e2
1 files changed, 20 insertions(+), 20 deletions(-)

M gnu/packages/django.scm
M gnu/packages/django.scm => gnu/packages/django.scm +20 -20
@@ 1448,31 1448,31 @@ forms using your favorite CSS framework, without writing template code.")
    (name "python-django-compressor")
    (version "4.5.1")
    (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "django_compressor" version))
        (sha256
         (base32 "08m8cs1mnpwd2zlck8cbl4cdp21dgv4vj7j17krbgn745s5a9n61"))))
     (origin
       (method url-fetch)
       (uri (pypi-uri "django_compressor" version))
       (sha256
        (base32 "08m8cs1mnpwd2zlck8cbl4cdp21dgv4vj7j17krbgn745s5a9n61"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:phases
      '(modify-phases %standard-phases
         (add-after 'unpack 'relax-requirements
           (lambda _
             (substitute* "setup.py"
               (("==") ">="))))
         ;; This needs calmjs.
         (add-after 'unpack 'skip-bad-test
           (lambda _
             (substitute* "compressor/tests/test_filters.py"
               (("test_calmjs_filter") "_test_calmjs_filter"))))
         (replace 'check
           (lambda* (#:key tests? #:allow-other-keys)
             (when tests?
               (setenv "DJANGO_SETTINGS_MODULE" "compressor.test_settings")
               (invoke "django-admin" "test"
                       "--pythonpath=.")))))))
        (add-after 'unpack 'relax-requirements
          (lambda _
            (substitute* "setup.py"
              (("==") ">="))))
        ;; This needs calmjs.
        (add-after 'unpack 'skip-bad-test
          (lambda _
            (substitute* "compressor/tests/test_filters.py"
              (("test_calmjs_filter") "_test_calmjs_filter"))))
        (replace 'check
          (lambda* (#:key tests? #:allow-other-keys)
            (when tests?
              (setenv "DJANGO_SETTINGS_MODULE" "compressor.test_settings")
              (invoke "django-admin" "test"
                      "--pythonpath=.")))))))
    (propagated-inputs
     (list python-django
           python-django-appconf