diff options
author | Nils Freydank <holgersson@posteo.de> | 2023-02-16 23:29:55 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2023-02-25 14:43:47 +0200 |
commit | c793e9a74a0a50a84bc4cd7da1cb1489cd8691b8 (patch) | |
tree | ef4b58e105dcbfe239677380a943bc13c1a39b79 /app-misc/khard | |
parent | dev-lang/spidermonkey: enable py3.11 (diff) | |
download | gentoo-c793e9a74a0a50a84bc4cd7da1cb1489cd8691b8.tar.gz gentoo-c793e9a74a0a50a84bc4cd7da1cb1489cd8691b8.tar.bz2 gentoo-c793e9a74a0a50a84bc4cd7da1cb1489cd8691b8.zip |
app-misc/khard: Bump to 0.18.0, bump to EAPI="8"
Please note that upstream maintenance changed since last release from
github user scheibler to lucc.
Signed-off-by: Nils Freydank <holgersson@posteo.de>
Closes: https://github.com/gentoo/gentoo/pull/29575
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-misc/khard')
-rw-r--r-- | app-misc/khard/Manifest | 1 | ||||
-rw-r--r-- | app-misc/khard/khard-0.18.0.ebuild | 75 | ||||
-rw-r--r-- | app-misc/khard/metadata.xml | 3 |
3 files changed, 78 insertions, 1 deletions
diff --git a/app-misc/khard/Manifest b/app-misc/khard/Manifest index bffbaa8918e0..f2d3dc1551d5 100644 --- a/app-misc/khard/Manifest +++ b/app-misc/khard/Manifest @@ -1 +1,2 @@ DIST khard-0.17.0.tar.gz 593928 BLAKE2B 488e1df70212c856d8dfa43955e681344fb1a257d765c81820444f6435d39aec782da9d01edeeaac0b9a87412db680fde368c39c74faa82b0eff2d7a0a2dbc6b SHA512 9cb936aeaa327b9837488a752906bf603429ca0c7240703829220119049f5f62e84f7e4c90bb81799307fe446c3aa47fe6ee4112c276b6bb329c959be438ba25 +DIST khard-0.18.0.tar.gz 602016 BLAKE2B 856190b5972c6b912977a69a4786779d59fafbdea1bc323c8ca8af56c7ce33e09efbe58734db261437ea0e654a8457086174becedb76dacf802f975847e03c63 SHA512 eb1e82b5350febdd388b251514562a2d3776d5f5c8b3c70cd73153eaedc7ac3504b25d88179eced26c96ced90785fac9267cc23b2425fac816c233a2e1f2b9df diff --git a/app-misc/khard/khard-0.18.0.ebuild b/app-misc/khard/khard-0.18.0.ebuild new file mode 100644 index 000000000000..9feb94042815 --- /dev/null +++ b/app-misc/khard/khard-0.18.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) +inherit distutils-r1 + +DESCRIPTION="Console CardDAV client" +HOMEPAGE=" + https://github.com/lucc/khard + https://pypi.org/project/khard/ +" + +LICENSE="GPL-3" +SLOT="0" + +if [[ "${PV}" == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/lucc/khard" +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +IUSE="" + +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-autoapi + dev-python/sphinx-rtd-theme + dev-python/sphinx-autodoc-typehints + ) +" + +DOCS=( + CHANGES + CONTRIBUTING.rst + README.md + doc/source/examples/khard.conf.example +) + +distutils_enable_tests setup.py +distutils_enable_sphinx docs + +python_compile_all() { + use doc && emake -j1 -C doc/ html text man info +} + +python_install_all() { + if use doc; then + DOCS+=( doc/build/text/. ) + HTML_DOCS+=( doc/build/html/. ) + + doman doc/build/man/* + doinfo doc/build/texinfo/*.info + fi + + insinto /usr/share/zsh/site-functions + doins misc/zsh/_khard + + distutils-r1_python_install_all +} diff --git a/app-misc/khard/metadata.xml b/app-misc/khard/metadata.xml index 5ce8c85d997f..2cec23ac4013 100644 --- a/app-misc/khard/metadata.xml +++ b/app-misc/khard/metadata.xml @@ -10,6 +10,7 @@ <name>Proxy Maintainers</name> </maintainer> <upstream> - <remote-id type="github">scheibler/khard</remote-id> + <remote-id type="github">lucc/khard</remote-id> + <remote-id type="pypi">khard</remote-id> </upstream> </pkgmetadata> |