1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python3_{6,7} )
6 DISTUTILS_USE_SETUPTOOLS=rdepend
10 DESCRIPTION="Console CardDAV client"
11 HOMEPAGE="https://github.com/scheibler/khard"
14 IUSE="test zsh-completion"
15 RESTRICT="!test? ( test )"
17 if [ "${PV}" == "9999" ]; then
19 EGIT_REPO_URI="https://github.com/scheibler/khard"
21 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
22 KEYWORDS="amd64 ~arm64 ~x86"
26 dev-python/atomicwrites[${PYTHON_USEDEP}]
27 dev-python/configobj[${PYTHON_USEDEP}]
28 dev-python/ruamel-yaml[${PYTHON_USEDEP}]
29 dev-python/unidecode[${PYTHON_USEDEP}]
30 >dev-python/vobject-0.9.3[${PYTHON_USEDEP}]
33 dev-python/setuptools[${PYTHON_USEDEP}]
38 # vobject-0.9.3 breaks khard, see
39 # https://github.com/scheibler/khard/issues/87
40 # https://github.com/eventable/vobject/issues/39
42 DOCS=( CHANGES README.md doc/source/examples/khard.conf.example )
45 distutils-r1_src_install
47 if use zsh-completion; then
48 insinto /usr/share/zsh/site-functions