gnu: python-mockito: Switch to pyproject.

* gnu/packages/python-check.scm (python-mockito):
[build-system]: Switch to pyproject-build-system.
[arguments]: Remove them.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: Ia67bf161cf06bcb52cf86ecb1b528cde8d35cf85
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-08-13 18:15:13 +02:00 committed by Sharlatan Hellseher
parent 04db36eb70
commit a5d400490e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1249,18 +1249,10 @@ Python program.")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0fg8jflcf4c929gd4zbcrk73d08waaqjfjmdjrgnv54mzl35pjxl"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest")))))))
(base32 "0fg8jflcf4c929gd4zbcrk73d08waaqjfjmdjrgnv54mzl35pjxl"))))
(build-system pyproject-build-system)
(native-inputs
(list python-numpy python-pytest))
(list python-numpy python-pytest python-setuptools python-wheel))
(home-page "https://github.com/kaste/mockito-python")
(synopsis "Mocking library for Python")
(description "This package provides a Python implementation of the Java
@ -1268,7 +1260,6 @@ library of the same name. It eases monkey patching, for example to stub out
side effects when unit testing.")
(license license:expat)))
(define-public python-mypy
(package
(name "python-mypy")