summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-14 21:31:42 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:11 +0100
commit7eb93b71ad3a35e0e707cf4156fa883b35b72104 (patch)
treee555cd0a4b7c088ba3eda378ba2eb830e8950e7d
parent337a87c276e620babfe2cbaf595ba4d131b29161 (diff)
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
-rw-r--r--gnu/packages/check.scm38
1 files changed, 15 insertions, 23 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index bcad11ba61..f9320e1604 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -3932,31 +3932,23 @@ system. The code under test requires no modification to work with pyfakefs.")
(define-public python-aiounittest
(package
(name "python-aiounittest")
- (version "1.4.2")
- ;; Pypi package lacks tests.
+ (version "1.5.0")
(source
- (origin (method git-fetch)
- (uri (git-reference
- (url "https://github.com/kwarunek/aiounittest.git")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0srahyzrk5awfh4rmppvqkblfmiavdklxl9i5mcr8gl7ahiwwl7f"))))
- (build-system python-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))
+ (origin
+ (method git-fetch) ;no tets in PyPI archive
+ (uri (git-reference
+ (url "https://github.com/kwarunek/aiounittest.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0266i5z589jh75hjzakvwcqx5shgv5zis8mr70qa209v7jjclzfd"))))
+ (build-system pyproject-build-system)
(native-inputs
- (list python-coverage python-nose))
- (home-page
- "https://github.com/kwarunek/aiounittest")
+ (list python-pytest
+ python-setuptools))
+ (propagated-inputs
+ (list python-wrapt))
+ (home-page "https://github.com/kwarunek/aiounittest")
(synopsis "Test asyncio code more easily")
(description "Aiounittest is a library that helps write tests using
asynchronous code in Python (asyncio).")