From 46d4206f3a6e0eb8385239f290d089676597961e Mon Sep 17 00:00:00 2001 From: Andrey Utkin Date: Mon, 28 Jan 2019 02:07:06 +0000 Subject: [PATCH] app-misc/khard: add new version 0.13.0 Ebuild cloned from 0.12.2 verbatim for further changes. Package-Manager: Portage-2.3.49, Repoman-2.3.12 Signed-off-by: Andrey Utkin --- app-misc/khard/Manifest | 1 + app-misc/khard/khard-0.13.0.ebuild | 42 ++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 app-misc/khard/khard-0.13.0.ebuild diff --git a/app-misc/khard/Manifest b/app-misc/khard/Manifest index 7150b17cddbe..702fc9c55a63 100644 --- a/app-misc/khard/Manifest +++ b/app-misc/khard/Manifest @@ -1,2 +1,3 @@ DIST khard-0.11.4.tar.gz 5060159 BLAKE2B 2c176c8bc9651dfd05f3792a66a242eae44b64f9114098916ec8c6e91643c5d57a19f916a0f6e0c559738e1a6c59f88596a54068ba048219a7e4a4d60447a0fe SHA512 f8dda3dd34e529e24276933f5f7354891b8259dfabb8818b4d3898174fb3d8b8a1f24cf81038901e521ef8aeeacec37b45b34c6e4c7eb0022b212a2f476cd9ab DIST khard-0.12.2.tar.gz 5064055 BLAKE2B 5dde8d4e535e5eecdbcd679e96db51e6d96cf4ad4c8266acd7fb1c02a89c74e3af8fc3537d7b3febbc1a16578a5208ec608396d36d3f3d4c380cfcc247fb08d4 SHA512 476a90b111e903669a34729bf48f28a4108612f65ed7b85a495d3246461f7b82f378e13e417aba2006cf1bf853245d5466d1bb5eba539b840c9e7b6abfb20c76 +DIST khard-0.13.0.tar.gz 5083020 BLAKE2B 6dc95335f89d5034ddc5fdfafca06b2bfc96c2dd05e966d975eea508a939cc4d64b749c3c6c2a7ce6e74ac40835b33f90442d357b871e47b8f0b2df351225c16 SHA512 353a51a06d6c7aa27b0f1cf35b3f7c113097ea4fa5e27bcb400f00de0cdd65ccaeadcc835b1cba541361a0395265cb967f731b23d875162f2be13381bc0979a6 diff --git a/app-misc/khard/khard-0.13.0.ebuild b/app-misc/khard/khard-0.13.0.ebuild new file mode 100644 index 000000000000..fcba0a4d09b3 --- /dev/null +++ b/app-misc/khard/khard-0.13.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# 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 ~arm64" +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 +} -- 2.26.2