diff options
author | Karel Kočí <cynerd@email.cz> | 2018-11-02 18:12:08 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-11-02 18:12:08 +0100 |
commit | 3e02f7fc0819cae5b95f67aeb0cc4737fc986c85 (patch) | |
tree | 32842f7dbb019369bbbcfc9ea7a2c3585b190fe8 | |
parent | 54a07f52468a4cc03219946f398d4c57dac753b3 (diff) | |
download | gentoo-personal-overlay-3e02f7fc0819cae5b95f67aeb0cc4737fc986c85.tar.gz gentoo-personal-overlay-3e02f7fc0819cae5b95f67aeb0cc4737fc986c85.tar.bz2 gentoo-personal-overlay-3e02f7fc0819cae5b95f67aeb0cc4737fc986c85.zip |
app-misc/khard: enable python3.7
-rw-r--r-- | app-misc/khard/Manifest | 1 | ||||
-rw-r--r-- | app-misc/khard/khard-0.12.2-r1.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/app-misc/khard/Manifest b/app-misc/khard/Manifest new file mode 100644 index 0000000..0cb03ed --- /dev/null +++ b/app-misc/khard/Manifest @@ -0,0 +1 @@ +DIST khard-0.12.2.tar.gz 5064055 BLAKE2B 5dde8d4e535e5eecdbcd679e96db51e6d96cf4ad4c8266acd7fb1c02a89c74e3af8fc3537d7b3febbc1a16578a5208ec608396d36d3f3d4c380cfcc247fb08d4 SHA512 476a90b111e903669a34729bf48f28a4108612f65ed7b85a495d3246461f7b82f378e13e417aba2006cf1bf853245d5466d1bb5eba539b840c9e7b6abfb20c76 diff --git a/app-misc/khard/khard-0.12.2-r1.ebuild b/app-misc/khard/khard-0.12.2-r1.ebuild new file mode 100644 index 0000000..d4206d2 --- /dev/null +++ b/app-misc/khard/khard-0.12.2-r1.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_{5,6,7} ) +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 +} |