diff options
-rw-r--r-- | app-misc/khard/Manifest | 1 | ||||
-rw-r--r-- | app-misc/khard/khard-0.11.4.ebuild | 42 | ||||
-rw-r--r-- | app-misc/khard/metadata.xml | 8 |
3 files changed, 51 insertions, 0 deletions
diff --git a/app-misc/khard/Manifest b/app-misc/khard/Manifest new file mode 100644 index 000000000000..c3b966dad7d9 --- /dev/null +++ b/app-misc/khard/Manifest @@ -0,0 +1 @@ +DIST khard-0.11.4.tar.gz 5060159 BLAKE2B 2c176c8bc9651dfd05f3792a66a242eae44b64f9114098916ec8c6e91643c5d57a19f916a0f6e0c559738e1a6c59f88596a54068ba048219a7e4a4d60447a0fe SHA512 f8dda3dd34e529e24276933f5f7354891b8259dfabb8818b4d3898174fb3d8b8a1f24cf81038901e521ef8aeeacec37b45b34c6e4c7eb0022b212a2f476cd9ab diff --git a/app-misc/khard/khard-0.11.4.ebuild b/app-misc/khard/khard-0.11.4.ebuild new file mode 100644 index 000000000000..69d8bce4c098 --- /dev/null +++ b/app-misc/khard/khard-0.11.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{4,5,6} ) +inherit distutils-r1 +DESCRIPTION="Console CardDAV client" +HOMEPAGE="https://github.com/scheibler/khard" +LICENSE="GPL-3" +SLOT="0" +IUSE="zsh-completion" + +if [ "${PV}" == "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/scheibler/khard" +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64" +fi + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/atomicwrites[${PYTHON_USEDEP}] + dev-python/configobj[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/vdirsyncer[${PYTHON_USEDEP}] + >dev-python/vobject-0.9.3[${PYTHON_USEDEP}] +" +# vobject-0.9.3 breaks khard, see +# https://github.com/scheibler/khard/issues/87 +# https://github.com/eventable/vobject/issues/39 + +DOCS=( AUTHORS CHANGES README.md misc/khard/khard.conf.example ) + +src_install() { + distutils-r1_src_install + + if use zsh-completion; then + insinto /usr/share/zsh/site-functions + doins misc/zsh/_khard + fi +} diff --git a/app-misc/khard/metadata.xml b/app-misc/khard/metadata.xml new file mode 100644 index 000000000000..d8dfe0cd2f21 --- /dev/null +++ b/app-misc/khard/metadata.xml @@ -0,0 +1,8 @@ +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>andrey_utkin@gentoo.org</email> + <name>Andrey Utkin</name> +</maintainer> +<longdescription>Console CardDAV client</longdescription> +</pkgmetadata> |