me
/
guix
Archived
1
0
Fork 0

gnu: python-coveralls: Update to 3.1.0.

* gnu/packages/python-check.scm (python-coveralls): Update to 3.1.0.
[arguments]: Remove trailing #t's.
[native-inputs]: Add PYTHON-RESPONSES.
master
Marius Bakke 2021-06-28 12:17:59 +02:00
parent 3918d6c4b6
commit 4933641bb1
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 6 additions and 7 deletions

View File

@ -116,7 +116,7 @@ are useful when writing automated tests in Python.")
(define-public python-coveralls (define-public python-coveralls
(package (package
(name "python-coveralls") (name "python-coveralls")
(version "1.11.1") (version "3.1.0")
(home-page "https://github.com/coveralls-clients/coveralls-python") (home-page "https://github.com/coveralls-clients/coveralls-python")
(source (source
(origin (origin
@ -126,21 +126,19 @@ are useful when writing automated tests in Python.")
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1zr1lqdjcfwj6wcx2449mzzjq8bbhwnqcm5vdif5s8hlz35bjxkp")))) "1rpdv7rhs4xy6q4s63krrfhwihli9vla0qsw64vls0naail9yjn3"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
'(#:phases (modify-phases %standard-phases '(#:phases (modify-phases %standard-phases
(add-before 'check 'disable-git-test (add-before 'check 'disable-git-test
(lambda _ (lambda _
;; Remove test that requires 'git' and the full checkout. ;; Remove test that requires 'git' and the full checkout.
(delete-file "tests/git_test.py") (delete-file "tests/git_test.py")))
#t))
(replace 'check (replace 'check
(lambda* (#:key tests? #:allow-other-keys) (lambda* (#:key tests? #:allow-other-keys)
(if tests? (if tests?
(invoke "pytest" "-vv") (invoke "pytest" "-vv")
(format #t "test suite not run~%")) (format #t "test suite not run~%")))))))
#t)))))
(propagated-inputs (propagated-inputs
`(("python-coverage" ,python-coverage) `(("python-coverage" ,python-coverage)
("python-docopt" ,python-docopt) ("python-docopt" ,python-docopt)
@ -148,7 +146,8 @@ are useful when writing automated tests in Python.")
("python-requests" ,python-requests))) ("python-requests" ,python-requests)))
(native-inputs (native-inputs
`(("python-mock" ,python-mock) `(("python-mock" ,python-mock)
("python-pytest" ,python-pytest))) ("python-pytest" ,python-pytest)
("python-responses" ,python-responses)))
(synopsis "Show coverage stats online via coveralls.io") (synopsis "Show coverage stats online via coveralls.io")
(description (description
"Coveralls.io is a service for publishing code coverage statistics online. "Coveralls.io is a service for publishing code coverage statistics online.