me
/
guix
Archived
1
0
Fork 0

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
Marius Bakke 2020-01-15 21:57:07 +01:00
parent a9d1da178e
commit dab41b95fb
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 5 additions and 11 deletions

View File

@ -642,26 +642,20 @@ doctest.")
(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