1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python3_{5,6,7} )
7 DESCRIPTION="Console CardDAV client"
8 HOMEPAGE="https://github.com/scheibler/khard"
11 IUSE="test zsh-completion"
13 if [ "${PV}" == "9999" ]; then
15 EGIT_REPO_URI="https://github.com/scheibler/khard"
17 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
18 KEYWORDS="amd64 ~arm64"
22 dev-python/atomicwrites[${PYTHON_USEDEP}]
23 dev-python/configobj[${PYTHON_USEDEP}]
24 dev-python/ruamel-yaml[${PYTHON_USEDEP}]
25 dev-python/unidecode[${PYTHON_USEDEP}]
26 >dev-python/vobject-0.9.3[${PYTHON_USEDEP}]
29 dev-python/setuptools[${PYTHON_USEDEP}]
34 # vobject-0.9.3 breaks khard, see
35 # https://github.com/scheibler/khard/issues/87
36 # https://github.com/eventable/vobject/issues/39
38 DOCS=( AUTHORS CHANGES README.md misc/khard/khard.conf.example )
41 distutils-r1_src_install
43 if use zsh-completion; then
44 insinto /usr/share/zsh/site-functions