me
/
guix
Archived
1
0
Fork 0

gnu: Remove python2-pytest-mock.

* gnu/packages/check.scm (python2-pytest-mock): Delete variable.
(python-pytest-mock)[properties]: Delete field.
Maxim Cournoyer 2022-05-01 00:00:23 -04:00
parent 60965e70ed
commit 6c80abe097
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 0 additions and 21 deletions

View File

@ -1401,29 +1401,8 @@ around the patching API provided by the @code{mock} package, but with the
benefit of not having to worry about undoing patches at the end of a test.
The mocker fixture has the same API as @code{mock.patch}, supporting the
same arguments.")
(properties `((python2-variant . ,(delay python2-pytest-mock))))
(license license:expat)))
(define-public python2-pytest-mock
(let ((base (package-with-python2
(strip-python2-variant python-pytest-mock))))
(package/inherit base
(version "1.10.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "pytest-mock" version))
(sha256
(base32
"1i5mg3ff1qk0wqfcxfz60hwy3q5dskdp36i10ckigkzffg8hc3ad"))))
(arguments
`(#:python ,python-2))
(native-inputs
`(("python2-setuptools-scm" ,python2-setuptools-scm)))
(propagated-inputs
`(("python2-mock" ,python2-mock)
("python2-pytest" ,python2-pytest))))))
(define-public python-pytest-xdist
(package
(name "python-pytest-xdist")