mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: todoman: Update to 4.4.0.
* gnu/packages/task-management.scm (todoman): Update to 4.4.0. [build-system]: Use pyproject-build-system. [arguments]: Remove not needed patch-tests phase and remove unused arguments to check phase. [native-inputs]: Remove python-setuptools-scm. Add python-pytz, python-hypothesis, and python-pytest-runner. Indent by one space instead of two. [propagated-inputs]: Indent by one space instead of two. Change-Id: I07cf40cecda4e9fea149204a6d30438b15233ef9
This commit is contained in:
parent
01db401dc8
commit
701bced65e
1 changed files with 23 additions and 25 deletions
|
|
@ -439,24 +439,20 @@ on arbitrary tasks. All the time data is saved in files residing in the
|
|||
(define-public todoman
|
||||
(package
|
||||
(name "todoman")
|
||||
(version "4.1.0")
|
||||
(version "4.4.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "todoman" version))
|
||||
(sha256
|
||||
(base32 "1j2h5cv8wnmw41fpz1ggsgi599qhk184cas9kgd92glj3m4alg6f"))))
|
||||
(build-system python-build-system)
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "todoman" version))
|
||||
(sha256
|
||||
(base32 "1dlxmw919jvjxycf315vzs4f5q64gdjrp3988y8jkyivqywfwyqb"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(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)
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest" "--hypothesis-profile=ci"
|
||||
"-vv" "tests" "-k"
|
||||
|
|
@ -466,20 +462,22 @@ on arbitrary tasks. All the time data is saved in files residing in the
|
|||
;; Unknown failure
|
||||
"and not test_default_command_args"))))))))
|
||||
(native-inputs
|
||||
(list python-setuptools-scm
|
||||
python-pytest
|
||||
python-pytest-cov
|
||||
python-freezegun))
|
||||
(list python-freezegun
|
||||
python-hypothesis
|
||||
python-pytest
|
||||
python-pytest-cov
|
||||
python-pytest-runner
|
||||
python-pytz))
|
||||
(propagated-inputs
|
||||
(list python-atomicwrites
|
||||
python-click
|
||||
python-click-log
|
||||
python-dateutil
|
||||
python-humanize
|
||||
python-icalendar
|
||||
python-parsedatetime
|
||||
python-pyxdg
|
||||
python-urwid))
|
||||
(list python-atomicwrites
|
||||
python-click
|
||||
python-click-log
|
||||
python-dateutil
|
||||
python-humanize
|
||||
python-icalendar
|
||||
python-parsedatetime
|
||||
python-pyxdg
|
||||
python-urwid))
|
||||
(home-page "https://todoman.readthedocs.io/")
|
||||
(synopsis "CalDav-based todo manager")
|
||||
(description "Todoman is a simple, standards-based, cli todo (aka: task)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue