diff options
author | Andrey Utkin <andrey_utkin@gentoo.org> | 2017-12-17 17:17:58 +0000 |
---|---|---|
committer | Andrey Utkin <andrey_utkin@gentoo.org> | 2017-12-17 17:24:31 +0000 |
commit | 0200b1f8b188dfcbb10c1861fcea64d5c68bb176 (patch) | |
tree | c3eae9648b5337a374dd37813d31aa1af1de9b96 /app-misc | |
parent | dev-python/vobject: add 0.9.5 ebuild (diff) | |
download | gentoo-0200b1f8b188dfcbb10c1861fcea64d5c68bb176.tar.gz gentoo-0200b1f8b188dfcbb10c1861fcea64d5c68bb176.tar.bz2 gentoo-0200b1f8b188dfcbb10c1861fcea64d5c68bb176.zip |
app-misc/khard: add new package
khard is a console CardDAV client, from same author as app-misc/khal.
Adding it to main gentoo repo fulfills bug #601440.
Previously khard was in xmw overlay, which is no longer available.
Based on original ebuild by Kristian <kbx@posteo.de>.
Test phase will be implemented when upstream gets a test suite, waiting
for resolution of https://github.com/scheibler/khard/pull/96 .
Bug: https://bugs.gentoo.org/601440
Suggested-by: Kristian <kbx@posteo.de>
Reviewed-by: Andrey Utkin <andrey_utkin@gentoo.org>
Tested-by: Kristian <kbx@posteo.de>
Package-Manager: Portage-2.3.17, Repoman-2.3.6
Diffstat (limited to 'app-misc')
-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> |