guix_mirror_bot pushed a commit to branch master
in repository guix.

commit a5d400490e5376829573b72c60db4e235723ec40
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Aug 13 18:15:13 2025 +0200

    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 <[email protected]>
---
 gnu/packages/python-check.scm | 15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index d5772b7716..f6a255599c 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -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")

Reply via email to