me
/
guix
Archived
1
0
Fork 0

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.
master
Marius Bakke 2020-09-01 13:25:51 +02:00
parent 074400543d
commit 3be81c85cf
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 8 additions and 8 deletions

View File

@ -737,26 +737,26 @@ project aims to bulk update given objects using one query over Django ORM.")
(define-public python-django-contact-form (define-public python-django-contact-form
(package (package
(name "python-django-contact-form") (name "python-django-contact-form")
(version "1.3") (version "1.8.1")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "django-contact-form" version)) (uri (pypi-uri "django-contact-form" version))
(sha256 (sha256
(base32 (base32
"0az590y56k5ahv4sixrkn54d3a8ig2q2z9pl6s3m4f533mx2gj17")))) "1zv7bcjfrg32gcsq3bclkld79l6mcy2wcvlj81h7q2ppv1wm8vqs"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'check (replace 'check
(lambda _ (lambda _
;; the next version will need "make test" (setenv "PYTHONPATH"
(invoke "flake8" "contact_form") (string-append "./build/lib:"
(invoke "coverage" "run" "contact_form/runtests.py") (getenv "PYTHONPATH")))
(invoke "coverage" "report" "-m" "--fail-under" "0")))))) (invoke "coverage" "run" "--source" "contact_form"
"runtests.py"))))))
(native-inputs (native-inputs
`(("python-coverage" ,python-coverage) `(("python-coverage" ,python-coverage)))
("python-flake8" ,python-flake8)))
(propagated-inputs (propagated-inputs
`(("python-django" ,python-django))) `(("python-django" ,python-django)))
(home-page "https://github.com/ubernostrum/django-contact-form") (home-page "https://github.com/ubernostrum/django-contact-form")