aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <ldb@leibniz-psychology.org>2021-03-04 13:23:45 +0100
committerLars-Dominik Braun <ldb@leibniz-psychology.org>2021-03-10 12:01:42 +0100
commitb431840cbedc839a5c1bbbde4433d535b0e6d631 (patch)
tree6a2383e18187c567dadceab1a5037e3fcd026855
parent38b0c64d7b3e4c6bfc1da9cd6b9a04d27972e90d (diff)
downloadguix-b431840cbedc839a5c1bbbde4433d535b0e6d631.tar
guix-b431840cbedc839a5c1bbbde4433d535b0e6d631.tar.gz
gnu: python-aiounittest: Update to 1.4.0.
* gnu/packages/check.scm (python-aiounittest) [version]: Update to 1.4.0. [source]: Switch to git repository. [arguments]: Run notetests. [propagated-inputs]: Add python-wrapt.
-rw-r--r--gnu/packages/check.scm26
1 files changed, 19 insertions, 7 deletions
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 0baf777393..524cc1874d 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2848,15 +2848,27 @@ system. The code under test requires no modification to work with pyfakefs.")
(define-public python-aiounittest
(package
(name "python-aiounittest")
- (version "1.3.1")
+ (version "1.4.0")
+ ;; Pypi package lacks tests.
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "aiounittest" version))
- (sha256
- (base32
- "1q4bhmi80smaa1lknvdna0sx3915naczlfna1fp435nf6cjyrjl1"))))
+ (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
+ "0hql5mw62lclrpblbh7xvinwjfcdcfvhhlvl7xlq2hi9isjq1c8r"))))
(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 `(("python-wrapt" ,python-wrapt)))
(native-inputs
`(("python-coverage" ,python-coverage)
("python-nose" ,python-nose)))