mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
04db36eb70
commit
a5d400490e
1 changed files with 3 additions and 12 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue