mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-aiounittest: Update to 1.5.0.
* gnu/packages/check.scm (python-aiounittest): Update to 1.5.0. [build-system]: Use pyproject. [arguments] <phases>: Use default 'check. [native-inputs]: Remove python-coverage and python-nose; add python-pytest and python-setuptools. Change-Id: I9331b74bf1a0405c74aca2480a151c10fca8490b
This commit is contained in:
parent
337a87c276
commit
7eb93b71ad
1 changed files with 15 additions and 23 deletions
|
@ -3932,31 +3932,23 @@ system. The code under test requires no modification to work with pyfakefs.")
|
||||||
(define-public python-aiounittest
|
(define-public python-aiounittest
|
||||||
(package
|
(package
|
||||||
(name "python-aiounittest")
|
(name "python-aiounittest")
|
||||||
(version "1.4.2")
|
(version "1.5.0")
|
||||||
;; Pypi package lacks tests.
|
|
||||||
(source
|
(source
|
||||||
(origin (method git-fetch)
|
(origin
|
||||||
(uri (git-reference
|
(method git-fetch) ;no tets in PyPI archive
|
||||||
(url "https://github.com/kwarunek/aiounittest.git")
|
(uri (git-reference
|
||||||
(commit version)))
|
(url "https://github.com/kwarunek/aiounittest.git")
|
||||||
(file-name (git-file-name name version))
|
(commit version)))
|
||||||
(sha256
|
(file-name (git-file-name name version))
|
||||||
(base32
|
(sha256
|
||||||
"0srahyzrk5awfh4rmppvqkblfmiavdklxl9i5mcr8gl7ahiwwl7f"))))
|
(base32 "0266i5z589jh75hjzakvwcqx5shgv5zis8mr70qa209v7jjclzfd"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
|
||||||
'(#:phases (modify-phases %standard-phases
|
|
||||||
(replace 'check
|
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
|
||||||
(if tests?
|
|
||||||
(invoke "nosetests" "-v")
|
|
||||||
(format #t "test suite not run~%"))
|
|
||||||
#t)))))
|
|
||||||
(propagated-inputs (list python-wrapt))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-coverage python-nose))
|
(list python-pytest
|
||||||
(home-page
|
python-setuptools))
|
||||||
"https://github.com/kwarunek/aiounittest")
|
(propagated-inputs
|
||||||
|
(list python-wrapt))
|
||||||
|
(home-page "https://github.com/kwarunek/aiounittest")
|
||||||
(synopsis "Test asyncio code more easily")
|
(synopsis "Test asyncio code more easily")
|
||||||
(description "Aiounittest is a library that helps write tests using
|
(description "Aiounittest is a library that helps write tests using
|
||||||
asynchronous code in Python (asyncio).")
|
asynchronous code in Python (asyncio).")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue