diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-19 20:37:19 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-19 20:37:19 +0100 |
commit | 343082998723d09c7b354eb21ff4793c6d4fda3e (patch) | |
tree | 1ac116f7e87117a78651da3a40230efefd5bf847 /app-admin/awscli-bin | |
parent | b1f2cdf56e5eea363adc4c1ea1bd418f65733a7a (diff) |
gentoo auto-resync : 19:08:2022 - 20:37:18
Diffstat (limited to 'app-admin/awscli-bin')
-rw-r--r-- | app-admin/awscli-bin/Manifest | 3 | ||||
-rw-r--r-- | app-admin/awscli-bin/awscli-bin-2.7.24.ebuild | 90 |
2 files changed, 93 insertions, 0 deletions
diff --git a/app-admin/awscli-bin/Manifest b/app-admin/awscli-bin/Manifest index f4b72336a59c..0b2fadc89393 100644 --- a/app-admin/awscli-bin/Manifest +++ b/app-admin/awscli-bin/Manifest @@ -1,10 +1,13 @@ DIST awscli-exe-linux-aarch64-2.7.11.zip 46384612 BLAKE2B 1728dac769441954b86f1436708c7b84aa4d1f7affc634de9e6a7bea66a10e5143a6d1da3fd24e8e721cdaabff0bb4b363bef78e29aecc976e9cd5b961284a2b SHA512 3f3e2670614bdcf6751d556a8a150d573712b036ad904a7cbfbb85600241d04f7f257df2d1159e2fb6f5b0d02b7f65df1bfb00764218ef60782a04a7fdebdc2a DIST awscli-exe-linux-aarch64-2.7.16.zip 46227549 BLAKE2B 28c72891454779337e7da8cb554310d54af0d3e3aab45a9aea76350eb0db5cba592c67f55f8feb0b4f57044a7b2292d6ac79809ceafd1a8d62639c67f6018e7c SHA512 e577e3507310dc48d323635592df5c7c12ac5ba90578d5e9e0a74264007b3c4bcaa0bf43d95f37d4974e7a83e57fdd3ec3a36e43ccd8ad359d5a56b7cda7402c DIST awscli-exe-linux-aarch64-2.7.20.zip 46289081 BLAKE2B 1750e609bef53775e4bf66f1be78e2b05f763bde7677be99867ae89e252f1deb81dddf6011718ceafe1f97b53ac4871657f2644c478887eb4d021e14be400121 SHA512 f519aaaf2ebc3e163ae55abdb85b08dd49e148f902a06e671f582879790bdfa07e32f8d8e773ddeb95494aee3a38dc3fbdf91a93b14215f63e13ae87cdf3de4a +DIST awscli-exe-linux-aarch64-2.7.24.zip 46460084 BLAKE2B c24cf41c888b1469a793354c9a97cec4273f6a762ec74b4079ab8626d0eddeb95dec5ef66270764a1c8d3b1525a5460e63009441ac83ef966b43f68efe41b00a SHA512 ee4201a193e393cf7fd1e9c473eaf41a1d7934e342035b931c3d69e985bc9e74434d31d0b46bf176c27c41d1b1000bbd487a514d62c8ccdf8d7c7e82c621d1f4 DIST awscli-exe-linux-x86_64-2.7.11.zip 47188206 BLAKE2B 9530ad2cf832dab1d5fb38a4942d338629c24bdadebe6abd0ba3a1759688e2ea9666cd97d8643d6ba7469bc446f09bd4c63a43f36deba1afb133ef00da49ce6d SHA512 6a15745502e273ddfad1d9ac118aea1684cf62f533a0fa3ac7661c31e49984ce1d0b608c61f5ed182692686ab7fd992f9a8da6a066bc4da6fe5e3d386548ab8f DIST awscli-exe-linux-x86_64-2.7.16.zip 47030919 BLAKE2B 1ac5789003753b015278eda42109c9ca5ee4710d32b07940c3abac0100844065fa6bffdc854446a7b4493727d3648f0514fe10e09b50c77d79f42139e2c64fcc SHA512 ae76d7425974154f481546b804cc6f359702f9357e670dfaaa7f943aa2ca27124c66388032ad9b4fbd05d82f73b7401fa7d07d7d4742c8f37c49eca17e6e6564 DIST awscli-exe-linux-x86_64-2.7.20.zip 47092365 BLAKE2B 26320deb54f66043693aa40cd2fee2e110f2dbf1710278ce431781d49096860dacd906bd91a01160c69c484020cc1ca497954283213e85d42206ab2dba3f1c92 SHA512 6f5ab60fe3b59a7c8ad73e81b3d3003660736fe9da35e5e44b8d222a94cf195676a4802e8ea391bbefb9cbece77860148be1f616f32281d18726af126c7daa4b +DIST awscli-exe-linux-x86_64-2.7.24.zip 47216162 BLAKE2B f99393a089bc495fc82d4f208f555bce144adf817b15c2995ad97493c16e18e38ee6cb77fb29c9225ff144193f878a7334ef90c318a5770d5c58b1f7e2209632 SHA512 2c25637fa421117aa3629ddfe8f9ead7ad3d7f04ead819b958e2b274621c858ea9e1ba2d9c111e63511ab75a1a7f0db275f653da2fef58dd5ee03274b1e7e8b7 EBUILD awscli-bin-2.7.11-r1.ebuild 2289 BLAKE2B a10366396fb39fc81382351de2b57dd95afac77cb9eddac2c11245460fb16614d8d50be696dd88ca978f13096070bc0de3909f9433784c2b3ae3ef7d1237d3a0 SHA512 19eba643095a14c9e3a4723f704b4a6d34a8fe6e60b75d6baa56030b55f7870af23cbfa8ddab7307929d611843d43ad1ebf0dbc65eeb2abcd2a198e42afff871 EBUILD awscli-bin-2.7.16.ebuild 2289 BLAKE2B a10366396fb39fc81382351de2b57dd95afac77cb9eddac2c11245460fb16614d8d50be696dd88ca978f13096070bc0de3909f9433784c2b3ae3ef7d1237d3a0 SHA512 19eba643095a14c9e3a4723f704b4a6d34a8fe6e60b75d6baa56030b55f7870af23cbfa8ddab7307929d611843d43ad1ebf0dbc65eeb2abcd2a198e42afff871 EBUILD awscli-bin-2.7.20.ebuild 2305 BLAKE2B 49bd417c8c54ac715176c3043dff2c99ff48f2eb62c80e26f4464c9b9bba989de0eed39f7e12a435098a02b50790cf0b6c3f2ea073f4af3669981728d3124cd8 SHA512 2977797f3c8e9a1a16e5cbad3de6c765234d2d093cca1f166929465f75d116e92fc7be4bc6f1bafe63f1a82d303bbc9cf10b3cff88fb89f79aca5df7c10a88e3 +EBUILD awscli-bin-2.7.24.ebuild 2305 BLAKE2B 49bd417c8c54ac715176c3043dff2c99ff48f2eb62c80e26f4464c9b9bba989de0eed39f7e12a435098a02b50790cf0b6c3f2ea073f4af3669981728d3124cd8 SHA512 2977797f3c8e9a1a16e5cbad3de6c765234d2d093cca1f166929465f75d116e92fc7be4bc6f1bafe63f1a82d303bbc9cf10b3cff88fb89f79aca5df7c10a88e3 MISC metadata.xml 249 BLAKE2B 08603bf9d754b59bae12620988552abc7f76b87a1390d02038789eba034c22412a3593d10f443794a5171ff3905c2b5c822368b2eb9f53a528097b7b6c80ffe9 SHA512 338d72efbd040697be98aad4229b81c9694eb27ecbc39f3a18332f4cc766a46b4a0a92f32612203259bf58f5838d0aff7f0b1abec7766f6cd2394c73f7f0b251 diff --git a/app-admin/awscli-bin/awscli-bin-2.7.24.ebuild b/app-admin/awscli-bin/awscli-bin-2.7.24.ebuild new file mode 100644 index 000000000000..84c6be57c790 --- /dev/null +++ b/app-admin/awscli-bin/awscli-bin-2.7.24.ebuild @@ -0,0 +1,90 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="command line interface for Amazon Web Services" +HOMEPAGE=" + https://aws.amazon.com/cli/ + https://github.com/aws/aws-cli/ + " +SRC_URI=" + amd64? ( https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${PV}.zip ) + arm64? ( https://awscli.amazonaws.com/awscli-exe-linux-aarch64-${PV}.zip ) + " + +LICENSE=" + Apache-2.0 MIT LGPL-2.1+ BSD GPL-2+-with-Pyinstaller-Bootloader-exception + openssl PSF-2 BSD-2 GPL-3+ public-domain + " +SLOT="0" +KEYWORDS="-* ~amd64 ~arm64" + +RDEPEND="!app-admin/awscli + sys-libs/glibc" +BDEPEND="app-arch/unzip" + +QA_PREBUILT="*" +RESTRICT="strip" +S="${WORKDIR}" + +# This code is based on the install script in the upstream archive. + +set_global_vars() { + ROOT_INSTALL_DIR=/opt/aws-cli + BIN_DIR=/usr/bin + + EXE_NAME="aws" + COMPLETER_EXE_NAME="aws_completer" + INSTALLER_DIR="aws" + INSTALLER_DIST_DIR="${INSTALLER_DIR}/dist" + INSTALLER_EXE="${INSTALLER_DIST_DIR}/${EXE_NAME}" + AWS_EXE_VERSION=${PV} + + INSTALL_DIR="${ROOT_INSTALL_DIR}/v2/${AWS_EXE_VERSION}" + # INSTALL_DIR="${INSTALL_DIR}" + INSTALL_DIST_DIR="${INSTALL_DIR}/dist" + INSTALL_BIN_DIR="${INSTALL_DIR}/bin" + INSTALL_AWS_EXE="${INSTALL_BIN_DIR}/${EXE_NAME}" + INSTALL_AWS_COMPLETER_EXE="${INSTALL_BIN_DIR}/${COMPLETER_EXE_NAME}" + + CURRENT_INSTALL_DIR="${ROOT_INSTALL_DIR}/v2/current" + CURRENT_AWS_EXE="${CURRENT_INSTALL_DIR}/bin/${EXE_NAME}" + CURRENT_AWS_COMPLETER_EXE="${CURRENT_INSTALL_DIR}/bin/${COMPLETER_EXE_NAME}" + + BIN_AWS_EXE="${BIN_DIR}/${EXE_NAME}" + BIN_AWS_COMPLETER_EXE="${BIN_DIR}/${COMPLETER_EXE_NAME}" +} + +create_install_dir() { + dodir "${INSTALL_DIR}" + setup_install_dist + setup_install_bin + create_current_symlink +} + +setup_install_dist() { + cp -r "${INSTALLER_DIST_DIR}" "${D}/${INSTALL_DIST_DIR}" || die +} + +setup_install_bin() { + dodir "${INSTALL_BIN_DIR}" + dosym "../dist/${EXE_NAME}" "${INSTALL_AWS_EXE}" + dosym "../dist/${COMPLETER_EXE_NAME}" "${INSTALL_AWS_COMPLETER_EXE}" +} + +create_current_symlink() { + dosym "${AWS_EXE_VERSION}" "${CURRENT_INSTALL_DIR}" +} + +create_bin_symlinks() { + dodir "${BIN_DIR}" + dosym -r "${CURRENT_AWS_EXE}" "${BIN_AWS_EXE}" + dosym -r "${CURRENT_AWS_COMPLETER_EXE}" "${BIN_AWS_COMPLETER_EXE}" +} + +src_install() { + set_global_vars + create_install_dir + create_bin_symlinks +} |