gnu: Update python-django-filter to 1.1.0.

* gnu/packages/django.scm (python-django-filter)[version]: Update from 0.14.0
  to 1.1.0.
  [source]: Update sha256 hash.
  [native-inputs]: Add python-djangorestframework and
  python-django-crispy-forms as native inputs, as they are used in the test
  suite.
This commit is contained in:
Christopher Baines 2018-03-04 13:23:38 +00:00
parent cc534f0c71
commit da90f337b3
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577

View File

@ -182,13 +182,13 @@ useful tools for testing Django applications and projects.")
(define-public python-django-filter (define-public python-django-filter
(package (package
(name "python-django-filter") (name "python-django-filter")
(version "0.14.0") (version "1.1.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "django-filter" version)) (uri (pypi-uri "django-filter" version))
(sha256 (sha256
(base32 (base32
"0f78hmk8c903zwfzlsiw7ivgag81ymmb5hi73rzxbhnlg2v0l3fx")))) "0slpfqfhnjrzlrb6vmswyhrzn01p84s16j2x1xib35gg4fxg23pc"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
'(#:phases '(#:phases
@ -198,6 +198,8 @@ useful tools for testing Django applications and projects.")
(zero? (system* "python" "runtests.py"))))))) (zero? (system* "python" "runtests.py")))))))
(native-inputs (native-inputs
`(("python-django" ,python-django) `(("python-django" ,python-django)
("python-djangorestframework" ,python-djangorestframework)
("python-django-crispy-forms", python-django-crispy-forms)
("python-mock" ,python-mock))) ("python-mock" ,python-mock)))
(home-page "https://django-filter.readthedocs.io/en/latest/") (home-page "https://django-filter.readthedocs.io/en/latest/")
(synopsis "Reusable Django application to filter querysets dynamically") (synopsis "Reusable Django application to filter querysets dynamically")