diff options
Diffstat (limited to 'app-misc/khard')
-rw-r--r-- | app-misc/khard/Manifest | 4 | ||||
-rw-r--r-- | app-misc/khard/khard-0.18.0.ebuild | 6 | ||||
-rw-r--r-- | app-misc/khard/khard-0.19.1.ebuild | 75 |
3 files changed, 81 insertions, 4 deletions
diff --git a/app-misc/khard/Manifest b/app-misc/khard/Manifest index eb215bb0ed62..eaea6477e7bc 100644 --- a/app-misc/khard/Manifest +++ b/app-misc/khard/Manifest @@ -1,3 +1,5 @@ DIST khard-0.18.0.tar.gz 602016 BLAKE2B 856190b5972c6b912977a69a4786779d59fafbdea1bc323c8ca8af56c7ce33e09efbe58734db261437ea0e654a8457086174becedb76dacf802f975847e03c63 SHA512 eb1e82b5350febdd388b251514562a2d3776d5f5c8b3c70cd73153eaedc7ac3504b25d88179eced26c96ced90785fac9267cc23b2425fac816c233a2e1f2b9df -EBUILD khard-0.18.0.ebuild 1436 BLAKE2B 36510d2898dec637409e22dfe8d738eddd56943100d7e0322beb58e9ae305ddeda743c04956d392d53a31454b905a983494f74eb2afe7af293fe15e17498a698 SHA512 400ee0a314c3a95203ea19ddc9672c6a5456da9e6b501d43c6d766ff660e337cbecc9f15275d172737123fb1b75ef695e0e3e5453600d586693f2f980152d275 +DIST khard-0.19.1.tar.gz 605230 BLAKE2B d0b0186c3006aa44dbdbf61afb81a2e9dbe0f2ecc439d2ebcd1ba33620dbb4f11bf8146e127f8cc8dc18db490b65d4bb1f2dde3962748f0570cf9f529d394ae5 SHA512 619678902abee2561f2cef8d525d9688269f9f4da244b1c5cf97a9c2f15f5d08f80d09bc08304dfe3a7ca44dd5082e0152c5dce82063b6f98ea12b961b34bdf4 +EBUILD khard-0.18.0.ebuild 1433 BLAKE2B ba679d8b3b6208cbaf81e9abdbb3abe9512ece3c18e6e390233103a7f08b52e6543467c58e9d4e41dd943aa080d3609b13d26b739a0be266836b1fedddb88bae SHA512 0c61df64ad15b8b7a4be5ce500bd959be77fa77b1336b90a83808a78bc290e2515997054bddcb3baffe5c4e2425acb0027fc35fe0b008e7d72ea63d2a72e73de +EBUILD khard-0.19.1.ebuild 1496 BLAKE2B f6e7a9e6fe973c9c8a3a2972928d7cc3f4e8c9fa1bd3f35dccbb80b1b4ac6ae3e707a16f1ced537b68ed95417af6ada0ad05526cbba390550619cacf553911e6 SHA512 b1b8671670ba09316b9529ca7fcb88ad37375b152618ecc26d156b3a615097e16ef893f2b48b550005a8b31e10ff8a2af9c488c17d793bb93d57ba8b89dc8268 MISC metadata.xml 526 BLAKE2B ec4c26202c0e0ebf31f816b7cc3cf74e0fa483d66b1e97a96eb9fda379812988abef841b063f105c0774f3f03686d00c8bb1b387690118e926713d2f5c7bba81 SHA512 4f8a7066b757dcf788c1ed62f8019f0be47ac48e5542b46b2702a3814eaa8e7a1eee66ad289a3bead8eb583f666937950b9fe0fc0b2e241b066fe9b9df21d178 diff --git a/app-misc/khard/khard-0.18.0.ebuild b/app-misc/khard/khard-0.18.0.ebuild index 1f6d9ba081ef..44fcf538cdff 100644 --- a/app-misc/khard/khard-0.18.0.ebuild +++ b/app-misc/khard/khard-0.18.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 DESCRIPTION="Console CardDAV client" @@ -52,7 +52,7 @@ DOCS=( doc/source/examples/khard.conf.example ) -distutils_enable_tests setup.py +distutils_enable_tests unittest distutils_enable_sphinx docs python_compile_all() { @@ -71,5 +71,5 @@ python_install_all() { insinto /usr/share/zsh/site-functions doins misc/zsh/_khard - distutils-r1_python_install_all + distutils-r1_python_install_all } diff --git a/app-misc/khard/khard-0.19.1.ebuild b/app-misc/khard/khard-0.19.1.ebuild new file mode 100644 index 000000000000..cc08e4b2d294 --- /dev/null +++ b/app-misc/khard/khard-0.19.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) +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 + inherit pypi + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +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 unittest +distutils_enable_sphinx docs \ + dev-python/sphinx-autoapi \ + dev-python/sphinx-autodoc-typehints + +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 +} |