~ruther/guix-local

a5d400490e5376829573b72c60db4e235723ec40 — Nicolas Graves 10 months ago 04db36e
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>
1 files changed, 3 insertions(+), 12 deletions(-)

M gnu/packages/python-check.scm
M gnu/packages/python-check.scm => gnu/packages/python-check.scm +3 -12
@@ 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")