summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-04-06 13:34:28 +0200
committerMarius Bakke <mbakke@fastmail.com>2020-04-07 17:59:00 +0200
commit5d9d9383ac709608f5b1cebd05ddca5fbc3c7917 (patch)
tree4b4c6faee41ada2920107ae3f37522ad9af54b47 /gnu/packages/python-check.scm
parent1e96e6ac8bc0285cc2adfac4ac29b538b84d5dfc (diff)
gnu: python-coveralls: Update to 1.11.1.
* gnu/packages/python-check.scm (python-coveralls): Update to 1.11.1. [source]: Change to GIT-FETCH. [arguments]: New field. [propagated-inputs]: Remove PYTHON-SH and PYTHON-URLLIB3.
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm30
1 files changed, 22 insertions, 8 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 70a5b1e4523..22b9ea8df59 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -5,6 +5,7 @@
5;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com> 5;;; Copyright © 2019 Maxim Cournoyer <maxim.cournoyer@gmail.com>
6;;; Copyright © 2019 Hartmut Goebel <h.goebel@crazy-compilers.com> 6;;; Copyright © 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
7;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu> 7;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu>
8;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
8;;; 9;;;
9;;; This file is part of GNU Guix. 10;;; This file is part of GNU Guix.
10;;; 11;;;
@@ -37,26 +38,39 @@
37(define-public python-coveralls 38(define-public python-coveralls
38 (package 39 (package
39 (name "python-coveralls") 40 (name "python-coveralls")
40 (version "1.6.0") 41 (version "1.11.1")
42 (home-page "https://github.com/coveralls-clients/coveralls-python")
41 (source 43 (source
42 (origin 44 (origin
43 (method url-fetch) 45 ;; The PyPI release lacks tests, so we pull from git instead.
44 (uri (pypi-uri "coveralls" version)) 46 (method git-fetch)
47 (uri (git-reference (url home-page) (commit version)))
48 (file-name (git-file-name name version))
45 (sha256 49 (sha256
46 (base32 50 (base32
47 "1dswhd2q2412wrldi97hdwlsymj9pm79v7pvjx53z5wh2d33w8bg")))) 51 "1zr1lqdjcfwj6wcx2449mzzjq8bbhwnqcm5vdif5s8hlz35bjxkp"))))
48 (build-system python-build-system) 52 (build-system python-build-system)
53 (arguments
54 '(#:phases (modify-phases %standard-phases
55 (add-before 'check 'disable-git-test
56 (lambda _
57 ;; Remove test that requires 'git' and the full checkout.
58 (delete-file "tests/git_test.py")
59 #t))
60 (replace 'check
61 (lambda* (#:key tests? #:allow-other-keys)
62 (if tests?
63 (invoke "pytest" "-vv")
64 (format #t "test suite not run~%"))
65 #t)))))
49 (propagated-inputs 66 (propagated-inputs
50 `(("python-coverage" ,python-coverage) 67 `(("python-coverage" ,python-coverage)
51 ("python-docopt" ,python-docopt) 68 ("python-docopt" ,python-docopt)
52 ("python-pyyaml" ,python-pyyaml) 69 ("python-pyyaml" ,python-pyyaml)
53 ("python-requests" ,python-requests) 70 ("python-requests" ,python-requests)))
54 ("python-sh" ,python-sh)
55 ("python-urllib3" ,python-urllib3)))
56 (native-inputs 71 (native-inputs
57 `(("python-mock" ,python-mock) 72 `(("python-mock" ,python-mock)
58 ("python-pytest" ,python-pytest))) 73 ("python-pytest" ,python-pytest)))
59 (home-page "https://github.com/coveralls-clients/coveralls-python")
60 (synopsis "Show coverage stats online via coveralls.io") 74 (synopsis "Show coverage stats online via coveralls.io")
61 (description 75 (description
62 "Coveralls.io is a service for publishing code coverage statistics online. 76 "Coveralls.io is a service for publishing code coverage statistics online.