app-admin/linode-cli: add 5.62.0

Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Viorel Munteanu
2025-09-11 10:17:49 +03:00
parent 1cf560db09
commit 01f85efde2
2 changed files with 46 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
DIST linode_cli-5.59.0.tar.gz 187960 BLAKE2B 6c46bb12206a991b4bc272fe7bb1099c8fbdd44b716d96691357b230d21759287e0e2445c389e31c042b4fe2a21ed8c4551d086de28a69b2ec9ffdac8519c7e2 SHA512 ef800ec2a039e674d31427a82497a6ad3f4a9eefa1fb401479a3347eae12c6c1abbe13df04cde6ec0ab06e9fe0cc2f310909faae0278c663047688520e4ab8a4
DIST linode_cli-5.60.0.tar.gz 188283 BLAKE2B 7d6e33da18a1c542fb6738ca0d1fc657c0640389ac847eb2888547d20bb05aa8d2281a2cb578d031d6071c4a3cabc5cad67f8a0501faf8bcd9ce15d4d0ccb4a1 SHA512 9c2777879c1781a48789f9979e652eb6ac7c7a2d7967aff100243a21b96564aa0f1cd99e7d594d6de9073bc4940f08c6516e84053c34184c7d54d948478692f9
DIST linode_cli-5.61.0.tar.gz 195507 BLAKE2B dd822b257c325fd2fee90e90f81d86b69333e5a4c6b88ccbed146390239cdc9353dcc1abd25a1a606235e5c5f47c09823b4933b08d8db5d51286cfdd42bb68ee SHA512 17e41e8585440ebdc78fd9e1c6148c43dca97cdf5a4caf07ed0e198ee1bb3d968d4e6acc10e9ffc4049f6ca51d784acb0dfe2764d901e490e77ac2611e51eb07
DIST linode_cli-5.62.0.tar.gz 196880 BLAKE2B d44903124f068b5baf6fa7a027ada6b8858916b54cbe407818c71031e8ad75becc4255ff9e2ae057c3c817afb534fee107e42936794d3a57a9c6d2acc31396ec SHA512 df19d35182fe7395dc1f645908a3a4527750b4ba971fc765a8039b8a09de47774b91370e10c57f7296bb42643564a725328d81b3f0d657fed9a74dcfcbf70f5b

View File

@@ -0,0 +1,45 @@
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi shell-completion
DESCRIPTION="Official command-line interface for interacting with the Linode API"
HOMEPAGE="https://github.com/linode/linode-cli https://www.linode.com/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
# Tests require network, a linode account and an API key.
# WARNING: tests will incur costs and will wipe the account.
RESTRICT="test"
RDEPEND="
>=dev-python/boto3-1.36[${PYTHON_USEDEP}]
>=dev-python/linode-metadata-0.3[${PYTHON_USEDEP}]
dev-python/openapi3[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/rich[${PYTHON_USEDEP}]
<dev-python/urllib3-3[${PYTHON_USEDEP}]
"
python_install_all() {
distutils-r1_python_install_all
PYTHONPATH=. ${EPYTHON} linodecli completion bash > "${T}/${PN}".bash || die
PYTHONPATH=. ${EPYTHON} linodecli completion fish > "${T}/${PN}".fish || die
newbashcomp "${T}/${PN}".bash ${PN}
dofishcomp "${T}/${PN}".fish
dosym ${PN} "$(get_bashcompdir)"/linode
dosym ${PN} "$(get_bashcompdir)"/lin
dosym ${PN}.fish "$(get_fishcompdir)"/linode.fish
dosym ${PN}.fish "$(get_fishcompdir)"/lin.fish
}