gnu: python-django-contact-form: Update to 1.8.1.
* gnu/packages/django.scm (python-django-contact-form): Update to 1.8.1. [arguments]: Adjust test invokation, drop flake8 checks. [native-inputs]: Remove PYTHON-FLAKE8.
This commit is contained in:
parent
074400543d
commit
3be81c85cf
1 changed files with 8 additions and 8 deletions
|
@ -737,26 +737,26 @@ (define-public python2-django-bulk-update
|
|||
(define-public python-django-contact-form
|
||||
(package
|
||||
(name "python-django-contact-form")
|
||||
(version "1.3")
|
||||
(version "1.8.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "django-contact-form" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0az590y56k5ahv4sixrkn54d3a8ig2q2z9pl6s3m4f533mx2gj17"))))
|
||||
"1zv7bcjfrg32gcsq3bclkld79l6mcy2wcvlj81h7q2ppv1wm8vqs"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
;; the next version will need "make test"
|
||||
(invoke "flake8" "contact_form")
|
||||
(invoke "coverage" "run" "contact_form/runtests.py")
|
||||
(invoke "coverage" "report" "-m" "--fail-under" "0"))))))
|
||||
(setenv "PYTHONPATH"
|
||||
(string-append "./build/lib:"
|
||||
(getenv "PYTHONPATH")))
|
||||
(invoke "coverage" "run" "--source" "contact_form"
|
||||
"runtests.py"))))))
|
||||
(native-inputs
|
||||
`(("python-coverage" ,python-coverage)
|
||||
("python-flake8" ,python-flake8)))
|
||||
`(("python-coverage" ,python-coverage)))
|
||||
(propagated-inputs
|
||||
`(("python-django" ,python-django)))
|
||||
(home-page "https://github.com/ubernostrum/django-contact-form")
|
||||
|
|
Loading…
Reference in a new issue