From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- app-misc/khard/Manifest | 1 + app-misc/khard/khard-0.17.0-r2.ebuild | 70 +++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 app-misc/khard/khard-0.17.0-r2.ebuild (limited to 'app-misc/khard') diff --git a/app-misc/khard/Manifest b/app-misc/khard/Manifest index 9949ae78b0ef..219725dd971f 100644 --- a/app-misc/khard/Manifest +++ b/app-misc/khard/Manifest @@ -2,4 +2,5 @@ DIST khard-0.13.0.tar.gz 5083020 BLAKE2B 6dc95335f89d5034ddc5fdfafca06b2bfc96c2d DIST khard-0.17.0.tar.gz 593928 BLAKE2B 488e1df70212c856d8dfa43955e681344fb1a257d765c81820444f6435d39aec782da9d01edeeaac0b9a87412db680fde368c39c74faa82b0eff2d7a0a2dbc6b SHA512 9cb936aeaa327b9837488a752906bf603429ca0c7240703829220119049f5f62e84f7e4c90bb81799307fe446c3aa47fe6ee4112c276b6bb329c959be438ba25 EBUILD khard-0.13.0-r1.ebuild 1028 BLAKE2B 25611cd1daf59772b304d65679ac729feb900a1adb5cab70704beb9920a5c8470b9d8006052b8137f19792eca2c1c41ca2c54eb63f3f4d7faca6f3154be41f6d SHA512 c8a34ed545239e9b2c7e3b68e35adb8d3e3f5c1ca30dc3faeefd43cc72c66a7af791d5b7583a975ea07b33b8076b363103b2e4bf17d440125808e0d164d0f1f1 EBUILD khard-0.17.0-r1.ebuild 1028 BLAKE2B e3850c08fb421cd4e13107bcef340b84f3f7b87f488fb130f17e59db3ed17d9ab79fdf194299c2f1c3c841ba2bdd5fa2ce262d4e6f1d221dd97a2947a8dd1a4d SHA512 18c31c9ee32ad033e946ae6160b267919efbbda40a7f1f0972f8fc2040a0a596d5dd83375589329a99d792f6da15a485472992dc75ad690a2389a4d924cd5a07 +EBUILD khard-0.17.0-r2.ebuild 1427 BLAKE2B 60cbf737b367ca0bca271708ada1164d05315b98b28efb6c780363c3a7c70dbcdff38f7f2e6491c96b1de1394348c086b48e9e148694edd6cf1d3b7b53ca3291 SHA512 3fb882d7d71e03f82b66f34dd99a47dcca2460b9441b5ef57397518314769e3341133cf8c5249c72b10dcd4fa60c96b20a205301ca4a72f2dacf1ec506a59d61 MISC metadata.xml 574 BLAKE2B b0a1341129d55403300108c90b4494579a72d8f40ba6b0a906b4e6b540e7bdfd98e71d933b25bb5c51e4f67a5123bd3afd8ebf07ec5d95a7478f015f4a21f8fa SHA512 cae1d09d6efcd95466ae84a861125fb94b36e6f3e4c2d78e1b8cb688fa079216ad12f37945134acedd1700b7b349c43ac2817c9dc60e9fc3aae989f4b120789f diff --git a/app-misc/khard/khard-0.17.0-r2.ebuild b/app-misc/khard/khard-0.17.0-r2.ebuild new file mode 100644 index 000000000000..08b51b6bbfde --- /dev/null +++ b/app-misc/khard/khard-0.17.0-r2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Console CardDAV client" +HOMEPAGE="https://github.com/scheibler/khard" + +LICENSE="GPL-3" +SLOT="0" + +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 ~arm ~arm64 ~x86" +fi + +IUSE="doc" + +RDEPEND=" + dev-python/atomicwrites[${PYTHON_USEDEP}] + dev-python/configobj[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/ruamel-yaml-clib[${PYTHON_USEDEP}] + dev-python/unidecode[${PYTHON_USEDEP}] + dev-python/vobject[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/setuptools_scm[${PYTHON_USEDEP}] + ) + doc? ( + dev-python/sphinx + dev-python/sphinx-autoapi + dev-python/sphinx-autodoc-typehints + ) +" + +DOCS=( CHANGES CONTRIBUTING.rst README.md doc/source/examples/khard.conf.example ) + +distutils_enable_tests setup.py + +src_compile() { + distutils-r1_src_compile + + if use doc; then + emake -j1 -C doc/ html text man info + fi +} + +src_install() { + if use doc; then + DOCS+=( doc/build/text/. ) + HTML_DOCS+=( doc/build/html/. ) + + doman doc/build/man/* + doinfo doc/build/texinfo/*.info + fi + + distutils-r1_src_install + + insinto /usr/share/zsh/site-functions + doins misc/zsh/_khard +} -- cgit v1.2.3