public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/awscli-bin/
Date: Thu, 15 Jun 2023 19:29:44 +0000 (UTC)	[thread overview]
Message-ID: <1686857290.e14cbfeb9efcaeefbb88fc4fc920c20df92f8764.williamh@gentoo> (raw)

commit:     e14cbfeb9efcaeefbb88fc4fc920c20df92f8764
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 15 19:28:10 2023 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Jun 15 19:28:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e14cbfeb

app-admin/awscli-bin: add 2.12.0

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-admin/awscli-bin/Manifest                 |  2 +
 app-admin/awscli-bin/awscli-bin-2.12.0.ebuild | 90 +++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/app-admin/awscli-bin/Manifest b/app-admin/awscli-bin/Manifest
index 700614a63fe5..7e2ce21f51ac 100644
--- a/app-admin/awscli-bin/Manifest
+++ b/app-admin/awscli-bin/Manifest
@@ -1,4 +1,6 @@
 DIST awscli-exe-linux-aarch64-2.11.17.zip 56500418 BLAKE2B ced68deac081666c71d73bea7d48f19aa27c8a78835ad13acaa06dac65db8569e9cf446900c0a8ede169bf177168e47ad3bebd06ad295a5626d926d59e4ed57b SHA512 6424cfcd079007cf1519f0018555c589a154639c1f28596d51d227c9078abbcd16660488d9c7984468bd223a7e4a89296c42c8fbdb8b6d085e32163e71d1f641
 DIST awscli-exe-linux-aarch64-2.11.5.zip 56858691 BLAKE2B 8a798c59568d64e2c8104d780458567bc2ad3061de81a7f4de90c8658087e560cb108945fbc71aa23808efe211ac63063f246d903e515f1cad06b91049eb64c0 SHA512 195516fe488266b8131fc9959ff81fc88a9902adabb033ab7d76b44996e1af08e8d0244f806193d91604cdb22a6266b686b9d6411ca9caa5b3188562b7b1eec1
+DIST awscli-exe-linux-aarch64-2.12.0.zip 56282131 BLAKE2B 147d200a134dc3f4ca3b6dff285b447d98eedb52207f923354cd748102ed0bf8e9bd4e883d59536f8bbe3a249de99102c8b5f239271cdef66d73df069add1491 SHA512 e0e72d951b0d3136b99b15d8abcc0b38492ef0c92a915e4f92a902318895ff580fface1ee202a5c06cf99a9f4ab935b2393e7318d1efc3df90152c18ed745b7f
 DIST awscli-exe-linux-x86_64-2.11.17.zip 57614965 BLAKE2B 0a711bc968b53dd08810ef857c9d51d332b016fd969491850f9dd8fc84e912f815e2b0a6e38223fe29c321ee784ad2ee41644b7027af3439742d3c2141f10098 SHA512 c05ada15a4e896850adbe04cc159141d84fabc955f3baf6d053200c6595cc77c8a75886ce5f1bd18370fe34a2c1c3d294312aa471a028104266fa45fa5aa4334
 DIST awscli-exe-linux-x86_64-2.11.5.zip 57429612 BLAKE2B 8d98afc07dc38600600b04e490018b0df46b7bd6ac23a782a6554642cd3d6302ea42baea4cee6631f5aee6a935d677c8a315e881e1d98267fb2cdcebaa67431b SHA512 89733d2c55de6eec06638032fb84be5c59b5d9d6589ae5437dee49466ba019c921ffc5e9eaabb1cae03afcae1e3322938cf525336ee4f89eb8a601ba9e2ccc13
+DIST awscli-exe-linux-x86_64-2.12.0.zip 57965257 BLAKE2B 9c8fec1d30795af94807d60c62b28eeb84e682d99cbacc0c8ad5b022c569e310fe781d00a6e9bd0cc0222c0104d9e0d2521bf3fb2102f60fe76de75bfec90cf8 SHA512 c4688e09fa17ed89495c807ebb1826e0517c1a7e7e4e62981e17e86a11227434eb1c59b9e7fffbd8e9e7ff6cc05846bf6cf7cc1769e099c9c146d9d11c400ab5

diff --git a/app-admin/awscli-bin/awscli-bin-2.12.0.ebuild b/app-admin/awscli-bin/awscli-bin-2.12.0.ebuild
new file mode 100644
index 000000000000..b87ef9ec0311
--- /dev/null
+++ b/app-admin/awscli-bin/awscli-bin-2.12.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 2022-2023 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
+}


             reply	other threads:[~2023-06-15 19:29 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-15 19:29 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-21 10:21 [gentoo-commits] repo/gentoo:master commit in: app-admin/awscli-bin/ Arthur Zamarin
2024-08-22 14:24 William Hubbs
2023-08-21 17:29 William Hubbs
2023-08-21 17:29 William Hubbs
2023-08-18 15:55 William Hubbs
2023-08-18 15:55 William Hubbs
2023-07-13 20:32 William Hubbs
2023-06-15 19:29 William Hubbs
2023-06-15 19:20 William Hubbs
2023-05-04 18:05 Eray Aslan
2023-03-24 15:50 William Hubbs
2023-02-12  7:14 William Hubbs
2022-09-01 18:07 William Hubbs
2022-09-01 18:07 William Hubbs
2022-08-19 15:42 William Hubbs
2022-07-30 18:45 William Hubbs
2022-07-19 16:56 William Hubbs
2022-07-02 19:30 William Hubbs
2022-06-29 14:53 William Hubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1686857290.e14cbfeb9efcaeefbb88fc4fc920c20df92f8764.williamh@gentoo \
    --to=williamh@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox