summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-admin/linode-cli/Manifest1
-rw-r--r--app-admin/linode-cli/linode-cli-5.59.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/app-admin/linode-cli/Manifest b/app-admin/linode-cli/Manifest
index 6e7eee6b3b48..4ef6e57b399d 100644
--- a/app-admin/linode-cli/Manifest
+++ b/app-admin/linode-cli/Manifest
@@ -1,3 +1,4 @@
DIST linode_cli-5.56.3.tar.gz 161602 BLAKE2B 67aa9028477536b89fa304e6ad2a9a90979ed1a0a18cb95ed169c5c16df1ecb0afd0c418a590670e91b6ce55f0107eeb7f5b9a3e48314f87241f2c7319e5d4d7 SHA512 4317654fb6341de86886d5fcc2bba12091f83c48b9b4cd0a9fe9048e9969c6fe9a77ce1d63d9cadd5e7edc6cd4146f981d6831689dad27db192967e012b054ff
DIST linode_cli-5.57.1.tar.gz 165959 BLAKE2B 215b297162f678a955aab4f53c0c33000848e2cc2cc577b2b6e40c667cd51acb48bd9053c58c8c1698ffb65937245a15a3f40b45779102b3a9c591382b60467c SHA512 ffff82cc48c99371fc35b213108f0907f9f2b006c5acf9de7cf6587905cac40120ba0e0101fdaa97341bf13c8a08b1f0ce183b057c6c0020fbb6d895b00f9491
DIST linode_cli-5.58.0.tar.gz 172046 BLAKE2B 185a24784de9f7f97ba8856477f37e972ea223607642d09d8ecd5381442ca049872b9db251e40a6e875a98738d37b94e88b45de3f9d298c10f2817d982a7f6a0 SHA512 b2288d1e7ab066661da6e524173ffef98bdf34ab96a3cc173ac6069d523bee2f19ffcff98630deb2fc1a0277b21beeb8e886ebea55121a0c7bacdeee846e6879
+DIST linode_cli-5.59.0.tar.gz 187960 BLAKE2B 6c46bb12206a991b4bc272fe7bb1099c8fbdd44b716d96691357b230d21759287e0e2445c389e31c042b4fe2a21ed8c4551d086de28a69b2ec9ffdac8519c7e2 SHA512 ef800ec2a039e674d31427a82497a6ad3f4a9eefa1fb401479a3347eae12c6c1abbe13df04cde6ec0ab06e9fe0cc2f310909faae0278c663047688520e4ab8a4
diff --git a/app-admin/linode-cli/linode-cli-5.59.0.ebuild b/app-admin/linode-cli/linode-cli-5.59.0.ebuild
new file mode 100644
index 000000000000..8e3cb59e9f6e
--- /dev/null
+++ b/app-admin/linode-cli/linode-cli-5.59.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
+}