app-misc/khard: Add tree package and bump it

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B
Signed-off-by: Nils Freydank <holgersson@posteo.de>
This commit is contained in:
Nils Freydank 2020-04-18 19:48:55 +02:00
parent 22a7bc2c2c
commit a59c5d034c
No known key found for this signature in database
GPG Key ID: BC5DC2998AAD2B21
3 changed files with 85 additions and 0 deletions

22
app-misc/khard/Manifest Normal file
View File

@ -0,0 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST khard-0.16.1.tar.gz 626967 BLAKE2B b541bb314cc61da3013140e5be899402b817a0f890f046901843342bc1aa0be4eadb7b4e5942cdf702f27d91fc8a06005f43a59de155023d734046a49036b5f0 SHA512 617959667807e3108e4e73d8c9600da80d09daededdffcb0025941bff8f6ed3fc12f02dd2e0f39d1dc9cad125bf386308ed311e59ea5fa366fa9979ebe10aa62
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAl6bOL5fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcy
MERFQ0UyRTUxQUUxNzEzQkQ5NzU5MEJDNURDMjk5OEFBRDJCMjEACgkQvF3CmYqt
KyFY6Q/9F0IEoI7jRWTcCEO3pDkZY3ffWpWTe0LcvRP5y2oy3UihhJ4akAq7xlA6
Zmb48ID9poQUG+HLw741mGTHPoM7T7pUa6slNIbAFkL1BgTXyR4Tv3ACjpRvkmbg
1fY6rh6mxAQxhcBcTjrRWYpA7Gpvs15K8hCGRx2rcPx3YPai/Fen5U9xrHK93kap
CNrrDxqmMP141BxNrZaP4A6XjD6fn1v/2BtPinTNVOkXE+6TXGuXNuA76TqcPrCW
+/q1YgdizYzDtW1X3MZTS7g96TWilLj2rbZaKzR9Iqg/ejxT9TQRYVhLqQ6qOyaj
ajUwL3oPXJCF4rmMucxvIkd+XijocLbRpvtaSvd25HHVY0Z/dSM7/hxzXWnyUlXE
abUciZ3EaKcNwJVI3ElRLinuCwGIp7fA1TFpLucuz/3+AmJ430knCWZI9oM1rNJA
SqS929YQXLW/H1gSYLrhfZsJbm4Zk2rvZUA5wwl/htgiQAm2EgSYfYfsfJua8ttU
nA7DfyEZusrHDiUj+lj+kpWgBtz7oj5FLscmYwpR+HT9Uc8fBktDUqNCosOh+Pdd
uVPvPewYYUVooSPOvmESlE8MjuabDdch5GaD7R6aJz9IUramGOkOXe0BFY61OlwM
5HlXRlblTTFQdn0TcbHDGxHDeIeJ9qwgj2ZBTkwBPx/QeCUu6l0=
=n2Cd
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,52 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6..7} )
inherit distutils-r1
DESCRIPTION="Console CardDAV client"
HOMEPAGE="https://github.com/scheibler/khard"
LICENSE="GPL-3"
SLOT="0"
IUSE="test zsh-completion"
RESTRICT="!test? ( test )"
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
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}]
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
${RDEPEND}
)
"
# vobject-0.9.3 breaks khard, see
# https://github.com/scheibler/khard/issues/87
# https://github.com/eventable/vobject/issues/39
DOCS=( CHANGES CONTRIBUTING.rst README.md doc/source/examples/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
}
python_test() {
esetup.py test
}

View File

@ -0,0 +1,11 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>holgersson@posteo.de</email>
<name>Nils Freydank</name>
</maintainer>
<upstream>
<remote-id type="github">scheibler/khard</remote-id>
</upstream>
<longdescription>Console CardDAV client</longdescription>
</pkgmetadata>