Archived
1
0
Fork 0

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:
Vivien Kraus 2024-03-23 11:20:48 +01:00 committed by Liliana Marie Prikler
parent 17d12bf6a6
commit 51f59e2426
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -443,21 +443,22 @@ on arbitrary tasks. All the time data is saved in files residing in the
(base32 "1j2h5cv8wnmw41fpz1ggsgi599qhk184cas9kgd92glj3m4alg6f")))) (base32 "1j2h5cv8wnmw41fpz1ggsgi599qhk184cas9kgd92glj3m4alg6f"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:phases
(add-after 'unpack 'patch-tests #~(modify-phases %standard-phases
(lambda _ (add-after 'unpack 'patch-tests
(substitute* '("tests/test_cli.py" "tests/test_formatter.py") (lambda _
(("tests\\.helpers") "helpers")))) (substitute* '("tests/test_cli.py" "tests/test_formatter.py")
(replace 'check (("tests\\.helpers") "helpers"))))
(lambda* (#:key inputs outputs tests? #:allow-other-keys) (replace 'check
(when tests? (lambda* (#:key inputs outputs tests? #:allow-other-keys)
(invoke "pytest" "-vv" "tests" "-k" (when tests?
(string-append (invoke "pytest" "-vv" "tests" "-k"
;; Test expects wrong output string. (string-append
"not test_bad_start_date " ;; Test expects wrong output string.
;; Unknown failure "not test_bad_start_date "
"and not test_default_command_args")))))))) ;; Unknown failure
"and not test_default_command_args"))))))))
(native-inputs (native-inputs
(list python-setuptools-scm (list python-setuptools-scm
python-pytest python-pytest