gnu: todoman: Update style.
* gnu/packages/task-management.scm (todoman) [arguments]: Convert to list of G-Expressions. Change-Id: I63faadabb27fa2053e3e01c3e285176bc040c634 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
17d12bf6a6
commit
51f59e2426
1 changed files with 16 additions and 15 deletions
|
@ -443,21 +443,22 @@ (define-public todoman
|
|||
(base32 "1j2h5cv8wnmw41fpz1ggsgi599qhk184cas9kgd92glj3m4alg6f"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-tests
|
||||
(lambda _
|
||||
(substitute* '("tests/test_cli.py" "tests/test_formatter.py")
|
||||
(("tests\\.helpers") "helpers"))))
|
||||
(replace 'check
|
||||
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest" "-vv" "tests" "-k"
|
||||
(string-append
|
||||
;; Test expects wrong output string.
|
||||
"not test_bad_start_date "
|
||||
;; Unknown failure
|
||||
"and not test_default_command_args"))))))))
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-tests
|
||||
(lambda _
|
||||
(substitute* '("tests/test_cli.py" "tests/test_formatter.py")
|
||||
(("tests\\.helpers") "helpers"))))
|
||||
(replace 'check
|
||||
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest" "-vv" "tests" "-k"
|
||||
(string-append
|
||||
;; Test expects wrong output string.
|
||||
"not test_bad_start_date "
|
||||
;; Unknown failure
|
||||
"and not test_default_command_args"))))))))
|
||||
(native-inputs
|
||||
(list python-setuptools-scm
|
||||
python-pytest
|
||||
|
|
Loading…
Reference in a new issue