mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: khard: Update to 0.20.0.
* gnu/packages/mail.scm (khard): Update to 0.20.0. [build-system]: Switch to pyproject-build-system. [arguments]: Add test-flags to skip some tests. [inputs]: Remove python-atomicwrites and python-unidecode. [native-inputs]: Add python-pytest and python-setuptools. Change-Id: I95a70042a8f153d7a983db49e6acd8430718fa71
This commit is contained in:
parent
d6daad298a
commit
bdf1dc9d99
1 changed files with 22 additions and 13 deletions
|
@ -2840,27 +2840,36 @@ maintained.")
|
||||||
(define-public khard
|
(define-public khard
|
||||||
(package
|
(package
|
||||||
(name "khard")
|
(name "khard")
|
||||||
(version "0.19.1")
|
(version "0.20.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri name version))
|
(uri (pypi-uri name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1464j728hjjpzlc89v4rbml3p4b38zp1igjd9yq3xnn3lc6hmwsr"))))
|
"1l5xkdi0f8krvy407q4qzm2n96nyhcjjhdp7v5f0n18wy36353qp"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:test-flags
|
||||||
(add-after 'install 'install-completions
|
#~(list "-k"
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(string-join
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(list "not test_sorting_of_korean_names"
|
||||||
(zsh (string-append out "/share/zsh/site-functions")))
|
"test_sort_order_for_accentuated_names"
|
||||||
(copy-recursively "misc/zsh" zsh)))))))
|
;; These two only fail with pytest
|
||||||
|
"test_edit_source_file_without_modifications"
|
||||||
|
"test_simple_edit_without_modification")
|
||||||
|
" and not "))
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'install 'install-completions
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(zsh (string-append out "/share/zsh/site-functions")))
|
||||||
|
(copy-recursively "misc/zsh" zsh)))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-setuptools-scm))
|
(list python-pytest python-setuptools python-setuptools-scm))
|
||||||
(inputs
|
(inputs
|
||||||
(list python-atomicwrites python-configobj python-ruamel.yaml
|
(list python-configobj python-ruamel.yaml python-vobject))
|
||||||
python-unidecode python-vobject))
|
|
||||||
(synopsis "Console address book using CardDAV")
|
(synopsis "Console address book using CardDAV")
|
||||||
(description "Khard is an address book for the console. It creates, reads,
|
(description "Khard is an address book for the console. It creates, reads,
|
||||||
modifies and removes CardDAV address book entries at your local machine. For
|
modifies and removes CardDAV address book entries at your local machine. For
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue