gnu: Remove python2-mock.

* gnu/packages/check.scm (python2-mock): Delete variable.
(python-mock)[properties]: Delete field.
This commit is contained in:
Maxim Cournoyer 2022-05-12 20:47:18 -04:00
parent eb36a550e3
commit 0b85c365a2
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -862,18 +862,8 @@ (define-public python-mock
of your system under test with mock objects and make assertions about how they
have been used. This library is now part of Python (since Python 3.3),
available via the @code{unittest.mock} module.")
(properties `((python2-variant . ,(delay python2-mock))))
(license license:expat)))
(define-public python2-mock
(let ((base (package-with-python2
(strip-python2-variant python-mock))))
(package/inherit base
(propagated-inputs
`(("python2-functools32" ,python2-functools32)
("python2-funcsigs" ,python2-funcsigs)
,@(package-propagated-inputs base))))))
;;; This package is unmaintained (see the note at the top of doc/index.rst).
(define-public python-nose
(package