summaryrefslogtreecommitdiff
path: root/app-admin/linode-cli
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-03 00:00:22 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-03 00:00:22 +0100
commita98588cfddf3d6e88a5f17d7f399b695163c7a85 (patch)
tree9f786257ac4bfd6be23a0d585c4b6c17361d37d2 /app-admin/linode-cli
parentf5ef7f2371babf22c2c3fad17108692b09e4c98e (diff)
gentoo auto-resync : 03:05:2024 - 00:00:22
Diffstat (limited to 'app-admin/linode-cli')
-rw-r--r--app-admin/linode-cli/Manifest6
-rw-r--r--app-admin/linode-cli/linode-cli-5.47.1.ebuild26
-rw-r--r--app-admin/linode-cli/linode-cli-5.49.0.ebuild (renamed from app-admin/linode-cli/linode-cli-5.48.3.ebuild)22
3 files changed, 20 insertions, 34 deletions
diff --git a/app-admin/linode-cli/Manifest b/app-admin/linode-cli/Manifest
index d5f26bd4f786..9695700a05af 100644
--- a/app-admin/linode-cli/Manifest
+++ b/app-admin/linode-cli/Manifest
@@ -1,7 +1,5 @@
-DIST linode-cli-5.47.1.tar.gz 128364 BLAKE2B db21cdd9a1bfbe17fb17b8b0e27ca36bb15c7d3b16ddde4dcc59a9ce64cd34d644d3d5d120efb88bb146767cf9b2c3ee820a847a2fcff487a11bc3abd6973870 SHA512 b61ac1e7c97a1395b150227fe822bc2e7199ed15a44c6d93d71bfdbc2f919827e87e89cf41a47b069be06144a849f5ab11c9dd7f38d138f80ce80563f55bf75a
-DIST linode-cli-5.48.3.tar.gz 142927 BLAKE2B 48ae197d780f77a7a4dbf54d4e9959d28c117d90e052f401f563f1557dc11155afc5d16da1140e9ed2828fa3e19243e91205759636247d2fb893383975d89f43 SHA512 9efd3f0392848ebcd896becff191e94c90cbec01cc2b805c0262ecb3c40c51346d0b42891ddaadb9191d75e379083f68e4c9aa35f9ba7c6309c74ae3febbde7a
DIST linode_cli-5.48.4.tar.gz 142928 BLAKE2B 28b1c90bb0709afc594b7023ef846b6d59e0376730f05d9701ebbc6744376f33536ad5a6f53b7b26a25805b258dc58378a76b0e6a4157e149f83e691d862dec8 SHA512 b07a3612afc329fc346b523412ac03932c84213d6bc23726f4c0e5edc737100bf65ec84f8131943439444fee268646789dc4d135cd61b2362311d1ab18601c3e
-EBUILD linode-cli-5.47.1.ebuild 660 BLAKE2B a201c1d2337d075d6195e262c2555947e691f35c76c57ab3dc92207b7b7b7650ceba39988fc4ce5809b2fab6b7b19a07c9c0355a34e1edc6cef99858304c3736 SHA512 6f22dbce83ece2297dd270725cf4a99a1f54abeafe4972042fefcc7851c8ea3e5626f54e59e92fba80141c7dd5aa6a2d4d8d511492a297635e756e50b1a83a6b
-EBUILD linode-cli-5.48.3.ebuild 847 BLAKE2B d00a8a4706bf9bfde4399b1fea38ba04a2b1f761d2839f83c1664eb055f4b892caf82cfa4100e5e6a1b8530e3d25fcd667242355c5ebf0f722aa53a8ce9d05a4 SHA512 36d218d1fb7de357dffa37f4fd9da4f24e9b4182da6ad5bb398b5706e422d907f81dd7a13c6ae43856a47bcde888cfb2ad9266ceaf5770a7d6b989d6df002bc3
+DIST linode_cli-5.49.0.tar.gz 146874 BLAKE2B a601eddff429f5457307d46b9572e8a6398c8800ad57a179f2283bfffc97e46d3e596032e0a1d0e104da3a1124a831a7b72ee2fe310a828a37b5c511f7d1c9d3 SHA512 1a9f630ee6d63bdd35c72dbaf13a264abfecda6414692bb62bd716302fc0926e19313c7e831a026e0b36cc4e9a1339d85dce66deeaced2093d49f277dbeb70ec
EBUILD linode-cli-5.48.4.ebuild 827 BLAKE2B 60bb1fc982d25f7252d11ca930b30e958736b504388c0c705cfa89a19b7fe372f68e696290a9fee87a6512d14bff62e6d14f789e5fc1a6f1299edadd4bbcf33c SHA512 3c50b132d9eb5f9fc950e97f0fc23c3a698d783e4deb60ad803169ac2502e2a6a407c88bc4ddc0dbddb2e58346d7351102986b19df2eab3c999c46a0bfe6aa20
+EBUILD linode-cli-5.49.0.ebuild 1366 BLAKE2B 040926d7881ff6801efa1795b686871581ed9524294c6cb7dfea521631a99df8888d86744ab3713714510a33d69eafba8e272c8c1cc0ea79d3dcb7705e224eff SHA512 6a865754170395580291f624c2d8256286d7f353408c45e5ead2a8b213d313ebf5c41887edc8a8cc08e455bb9450db4d45ed057d34f0a6dc4f1167b8b8860384
MISC metadata.xml 483 BLAKE2B 7b3a4b824e16ba32424777359d0daf09d17cc498a06f9ce5acfd7baec80ffea26220145676f37edfe46302257fd0a2bc5071d60f955dc19cda582419b2027f5c SHA512 33c8fae2235a7a6d2653a4db3341b2d69e390ed6dfa33868dd7e6b3a384f78013ae3c42a91d8eddd25929086f7705ce0869a34e28eedadb497e286ae59570be4
diff --git a/app-admin/linode-cli/linode-cli-5.47.1.ebuild b/app-admin/linode-cli/linode-cli-5.47.1.ebuild
deleted file mode 100644
index 45ee6333667a..000000000000
--- a/app-admin/linode-cli/linode-cli-5.47.1.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-inherit distutils-r1 pypi
-
-DESCRIPTION="Linode Command Line Interface"
-HOMEPAGE="https://github.com/linode/linode-cli https://www.linode.com/"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
- dev-python/boto3[${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}]
-"
diff --git a/app-admin/linode-cli/linode-cli-5.48.3.ebuild b/app-admin/linode-cli/linode-cli-5.49.0.ebuild
index 2ce8851657d3..0dde07261839 100644
--- a/app-admin/linode-cli/linode-cli-5.48.3.ebuild
+++ b/app-admin/linode-cli/linode-cli-5.49.0.ebuild
@@ -5,10 +5,9 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
-PYPI_NO_NORMALIZE=1
-inherit distutils-r1 pypi
+inherit distutils-r1 pypi shell-completion
-DESCRIPTION="Linode Command Line Interface"
+DESCRIPTION="Official command-line interface for interacting with the Linode API"
HOMEPAGE="https://github.com/linode/linode-cli https://www.linode.com/"
LICENSE="BSD"
@@ -21,7 +20,7 @@ RESTRICT="test"
RDEPEND="
dev-python/boto3[${PYTHON_USEDEP}]
- dev-python/linode-metadata[${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}]
@@ -29,3 +28,18 @@ RDEPEND="
dev-python/rich[${PYTHON_USEDEP}]
<dev-python/urllib3-3[${PYTHON_USEDEP}]
"
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ PYTHONPATH=. ${EPYTHON} linodecli --skip-config completion bash > "${T}/${PN}".bash || die
+ PYTHONPATH=. ${EPYTHON} linodecli --skip-config completion fish > "${T}/${PN}".fish || die
+
+ newbashcomp "${T}/${PN}".bash ${PN}
+ newfishcomp "${T}/${PN}".fish ${PN}
+
+ dosym ${PN} "$(get_bashcompdir)"/linode
+ dosym ${PN} "$(get_bashcompdir)"/lin
+ dosym ${PN} "$(get_fishcompdir)"/linode
+ dosym ${PN} "$(get_fishcompdir)"/lin
+}