gnu: python-mock: Update to 3.0.5.
* gnu/packages/check.scm (python-mock): Update to 3.0.5. [propagated-inputs]: Remove PYTHON-PBR-MINIMAL. [native-inputs]: Remove. [arguments]: Remove #:phases. Add #:tests?.
This commit is contained in:
parent
a9d1da178e
commit
dab41b95fb
1 changed files with 5 additions and 11 deletions
|
@ -642,26 +642,20 @@ (define-public python2-minimock
|
|||
(define-public python-mock
|
||||
(package
|
||||
(name "python-mock")
|
||||
(version "2.0.0")
|
||||
(version "3.0.5")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "mock" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1flbpksir5sqrvq2z0dp8sl4bzbadg21sj4d42w3klpdfvgvcn5i"))))
|
||||
"1hrp6j0yrx2xzylfv02qa8kph661m6yq4p0mc8fnimch9j4psrc3"))))
|
||||
(propagated-inputs
|
||||
`(("python-pbr" ,python-pbr-minimal)
|
||||
("python-six" ,python-six)))
|
||||
`(("python-six" ,python-six)))
|
||||
(build-system python-build-system)
|
||||
(native-inputs
|
||||
`(("python-unittest2" ,python-unittest2)))
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(zero? (system* "unit2")))))))
|
||||
;; FIXME: Tests require "pytest", which depends on this package.
|
||||
'(#:tests? #f))
|
||||
(home-page "https://github.com/testing-cabal/mock")
|
||||
(synopsis "Python mocking and patching library for testing")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue