commit: e99842b84653021a0747027043db934eea64469b
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Thu May 1 06:41:34 2025 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu May 1 08:11:59 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e99842b8
app-admin/linode-cli: add 5.57.0
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
app-admin/linode-cli/Manifest | 1 +
app-admin/linode-cli/linode-cli-5.57.0.ebuild | 45 +++++++++++++++++++++++++++
2 files changed, 46 insertions(+)
diff --git a/app-admin/linode-cli/Manifest b/app-admin/linode-cli/Manifest
index c6c846640e79..eba888ac2144 100644
--- a/app-admin/linode-cli/Manifest
+++ b/app-admin/linode-cli/Manifest
@@ -1,3 +1,4 @@
DIST linode_cli-5.56.1.tar.gz 161059 BLAKE2B
20c0f3de96dd40745265a42b0c9736b6aa59915247170e84624eb21c097306e33c592b730687b11e7e5cdf795f0b313aadc45fd72af72d1e5f76256cea79d4dd
SHA512
f711ca0756d4ca0d84c769c4ab5cad747efb3e3e256f484ebb9a44686218fd912d3df7538d03c3e447b16a215c8ca304ec2060562a66a2744128f85e6a1fa2a2
DIST linode_cli-5.56.2.tar.gz 161397 BLAKE2B
0cb43fdb4a9d722466d97b093495879ef114542ce39f4dd93be086ff4b1436ce354a01ffe5c6e865a8ffea564b60767e54a960a42fcb639384e61f21b5e11b4a
SHA512
1e5234eb4ac962d5255d3b3809dbe00d3803e374b16cd1c590668c985ef032b96745f361172e96ad8b4e434ad2963174ec702497e753ba0a346074966df6f510
DIST linode_cli-5.56.3.tar.gz 161602 BLAKE2B
67aa9028477536b89fa304e6ad2a9a90979ed1a0a18cb95ed169c5c16df1ecb0afd0c418a590670e91b6ce55f0107eeb7f5b9a3e48314f87241f2c7319e5d4d7
SHA512
4317654fb6341de86886d5fcc2bba12091f83c48b9b4cd0a9fe9048e9969c6fe9a77ce1d63d9cadd5e7edc6cd4146f981d6831689dad27db192967e012b054ff
+DIST linode_cli-5.57.0.tar.gz 165752 BLAKE2B
967de576f2919049de12adea5acf53b4419bb8770c7b427e36bc5d7d7ac7963dea6d9cffec7547f9bf5971894969c32d7b9939de96db5dc7792a85761339ecc2
SHA512
dde69f92aa6be1e283fe33f246c220ac66db76f44a1aa7013f2954bb219d63041f877854ff81c2a3e5ecdb39e8847c6cc9cf3e4ea135fc5de884d74f6329283d
diff --git a/app-admin/linode-cli/linode-cli-5.57.0.ebuild
b/app-admin/linode-cli/linode-cli-5.57.0.ebuild
new file mode 100644
index 000000000000..8e3cb59e9f6e
--- /dev/null
+++ b/app-admin/linode-cli/linode-cli-5.57.0.ebuild
@@ -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
+}