diff options
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 9fb21d462fc..5436a878c65 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm | |||
| @@ -116,7 +116,7 @@ are useful when writing automated tests in Python.") | |||
| 116 | (define-public python-coveralls | 116 | (define-public python-coveralls |
| 117 | (package | 117 | (package |
| 118 | (name "python-coveralls") | 118 | (name "python-coveralls") |
| 119 | (version "1.11.1") | 119 | (version "3.1.0") |
| 120 | (home-page "https://github.com/coveralls-clients/coveralls-python") | 120 | (home-page "https://github.com/coveralls-clients/coveralls-python") |
| 121 | (source | 121 | (source |
| 122 | (origin | 122 | (origin |
| @@ -126,21 +126,19 @@ are useful when writing automated tests in Python.") | |||
| 126 | (file-name (git-file-name name version)) | 126 | (file-name (git-file-name name version)) |
| 127 | (sha256 | 127 | (sha256 |
| 128 | (base32 | 128 | (base32 |
| 129 | "1zr1lqdjcfwj6wcx2449mzzjq8bbhwnqcm5vdif5s8hlz35bjxkp")))) | 129 | "1rpdv7rhs4xy6q4s63krrfhwihli9vla0qsw64vls0naail9yjn3")))) |
| 130 | (build-system python-build-system) | 130 | (build-system python-build-system) |
| 131 | (arguments | 131 | (arguments |
| 132 | '(#:phases (modify-phases %standard-phases | 132 | '(#:phases (modify-phases %standard-phases |
| 133 | (add-before 'check 'disable-git-test | 133 | (add-before 'check 'disable-git-test |
| 134 | (lambda _ | 134 | (lambda _ |
| 135 | ;; Remove test that requires 'git' and the full checkout. | 135 | ;; Remove test that requires 'git' and the full checkout. |
| 136 | (delete-file "tests/git_test.py") | 136 | (delete-file "tests/git_test.py"))) |
| 137 | #t)) | ||
| 138 | (replace 'check | 137 | (replace 'check |
| 139 | (lambda* (#:key tests? #:allow-other-keys) | 138 | (lambda* (#:key tests? #:allow-other-keys) |
| 140 | (if tests? | 139 | (if tests? |
| 141 | (invoke "pytest" "-vv") | 140 | (invoke "pytest" "-vv") |
| 142 | (format #t "test suite not run~%")) | 141 | (format #t "test suite not run~%"))))))) |
| 143 | #t))))) | ||
| 144 | (propagated-inputs | 142 | (propagated-inputs |
| 145 | `(("python-coverage" ,python-coverage) | 143 | `(("python-coverage" ,python-coverage) |
| 146 | ("python-docopt" ,python-docopt) | 144 | ("python-docopt" ,python-docopt) |
| @@ -148,7 +146,8 @@ are useful when writing automated tests in Python.") | |||
| 148 | ("python-requests" ,python-requests))) | 146 | ("python-requests" ,python-requests))) |
| 149 | (native-inputs | 147 | (native-inputs |
| 150 | `(("python-mock" ,python-mock) | 148 | `(("python-mock" ,python-mock) |
| 151 | ("python-pytest" ,python-pytest))) | 149 | ("python-pytest" ,python-pytest) |
| 150 | ("python-responses" ,python-responses))) | ||
| 152 | (synopsis "Show coverage stats online via coveralls.io") | 151 | (synopsis "Show coverage stats online via coveralls.io") |
| 153 | (description | 152 | (description |
| 154 | "Coveralls.io is a service for publishing code coverage statistics online. | 153 | "Coveralls.io is a service for publishing code coverage statistics online. |
