mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 23:32:24 -05:00
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.
This commit is contained in:
parent
38b0c64d7b
commit
b431840cbe
1 changed files with 19 additions and 7 deletions
|
@ -2848,15 +2848,27 @@ (define-public python2-pyfakefs-bootstrap
|
|||
(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)))
|
||||
|
|
Loading…
Reference in a new issue