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?.master
parent
a9d1da178e
commit
dab41b95fb
|
@ -642,26 +642,20 @@ doctest.")
|
||||||
(define-public python-mock
|
(define-public python-mock
|
||||||
(package
|
(package
|
||||||
(name "python-mock")
|
(name "python-mock")
|
||||||
(version "2.0.0")
|
(version "3.0.5")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "mock" version))
|
(uri (pypi-uri "mock" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1flbpksir5sqrvq2z0dp8sl4bzbadg21sj4d42w3klpdfvgvcn5i"))))
|
"1hrp6j0yrx2xzylfv02qa8kph661m6yq4p0mc8fnimch9j4psrc3"))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-pbr" ,python-pbr-minimal)
|
`(("python-six" ,python-six)))
|
||||||
("python-six" ,python-six)))
|
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(native-inputs
|
|
||||||
`(("python-unittest2" ,python-unittest2)))
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
;; FIXME: Tests require "pytest", which depends on this package.
|
||||||
(modify-phases %standard-phases
|
'(#:tests? #f))
|
||||||
(replace 'check
|
|
||||||
(lambda _
|
|
||||||
(zero? (system* "unit2")))))))
|
|
||||||
(home-page "https://github.com/testing-cabal/mock")
|
(home-page "https://github.com/testing-cabal/mock")
|
||||||
(synopsis "Python mocking and patching library for testing")
|
(synopsis "Python mocking and patching library for testing")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue