summaryrefslogtreecommitdiff
path: root/app-misc
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/khard/Manifest1
-rw-r--r--app-misc/khard/khard-0.12.2.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/app-misc/khard/Manifest b/app-misc/khard/Manifest
new file mode 100644
index 0000000..30ee4dc
--- /dev/null
+++ b/app-misc/khard/Manifest
@@ -0,0 +1 @@
+DIST khard-0.12.2.tar.gz 5064055 SHA256 9193d2d07cdb69cc6e35a0732111efb92bbfba854a1dd42b4f9c91a52a16c507 SHA512 476a90b111e903669a34729bf48f28a4108612f65ed7b85a495d3246461f7b82f378e13e417aba2006cf1bf853245d5466d1bb5eba539b840c9e7b6abfb20c76 WHIRLPOOL c3aa795cd498fc6b024185e2e7804824650c6e9057551cc03ab324a3fa3ccd75fe2ac3cad057b5d38f2896f5772d9456f117954052f905dfbf22202191731b58
diff --git a/app-misc/khard/khard-0.12.2.ebuild b/app-misc/khard/khard-0.12.2.ebuild
new file mode 100644
index 0000000..e80f2ff
--- /dev/null
+++ b/app-misc/khard/khard-0.12.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2018 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/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
+}