summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Utkin <andrey_utkin@gentoo.org>2018-01-27 11:27:10 +0000
committerAndrey Utkin <andrey_utkin@gentoo.org>2018-02-07 12:12:20 +0000
commitd2e2df0f7f7ff646e44fc70b281e2396b376d535 (patch)
tree77d19824551af86c85822541474238ce0365852e /app-misc
parentdev-python/ruamel-yaml: add new package (diff)
downloadgentoo-d2e2df0f7f7ff646e44fc70b281e2396b376d535.tar.gz
gentoo-d2e2df0f7f7ff646e44fc70b281e2396b376d535.tar.bz2
gentoo-d2e2df0f7f7ff646e44fc70b281e2396b376d535.zip
app-misc/khard: add new version 0.12.2
Based on work by Kristian <kbx@posteo.de> Bug: https://bugs.gentoo.org/644996 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/khard/Manifest1
-rw-r--r--app-misc/khard/khard-0.12.2.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/app-misc/khard/Manifest b/app-misc/khard/Manifest
index c3b966dad7d9..7150b17cddbe 100644
--- a/app-misc/khard/Manifest
+++ b/app-misc/khard/Manifest
@@ -1 +1,2 @@
DIST khard-0.11.4.tar.gz 5060159 BLAKE2B 2c176c8bc9651dfd05f3792a66a242eae44b64f9114098916ec8c6e91643c5d57a19f916a0f6e0c559738e1a6c59f88596a54068ba048219a7e4a4d60447a0fe SHA512 f8dda3dd34e529e24276933f5f7354891b8259dfabb8818b4d3898174fb3d8b8a1f24cf81038901e521ef8aeeacec37b45b34c6e4c7eb0022b212a2f476cd9ab
+DIST khard-0.12.2.tar.gz 5064055 BLAKE2B 5dde8d4e535e5eecdbcd679e96db51e6d96cf4ad4c8266acd7fb1c02a89c74e3af8fc3537d7b3febbc1a16578a5208ec608396d36d3f3d4c380cfcc247fb08d4 SHA512 476a90b111e903669a34729bf48f28a4108612f65ed7b85a495d3246461f7b82f378e13e417aba2006cf1bf853245d5466d1bb5eba539b840c9e7b6abfb20c76
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 000000000000..16e47a8553ee
--- /dev/null
+++ b/app-misc/khard/khard-0.12.2.ebuild
@@ -0,0 +1,42 @@
+# 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/ruamel-yaml[${PYTHON_USEDEP}]
+ dev-python/unidecode[${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
+}