summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-08-27 09:04:07 +0200
committerMichał Górny <mgorny@gentoo.org>2021-08-27 09:28:23 +0200
commit7e5e662c537e1a629900329f1cfbca7e21bd5281 (patch)
tree3fc1befe468a4ff16a4872c6386fbc9f66fff9ea /app-admin
parentdev-python/boto3: Bump to 1.18.30 (diff)
downloadgentoo-7e5e662c537e1a629900329f1cfbca7e21bd5281.tar.gz
gentoo-7e5e662c537e1a629900329f1cfbca7e21bd5281.tar.bz2
gentoo-7e5e662c537e1a629900329f1cfbca7e21bd5281.zip
app-admin/awscli: Bump to 1.20.30
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/awscli/Manifest1
-rw-r--r--app-admin/awscli/awscli-1.20.30.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest
index cc16ff9abb3e..15cfff2d944d 100644
--- a/app-admin/awscli/Manifest
+++ b/app-admin/awscli/Manifest
@@ -6,4 +6,5 @@ DIST awscli-1.20.26.tar.gz 2057909 BLAKE2B 92ed26ae13b4c6626dcf7cacda761cd8ab93a
DIST awscli-1.20.27.tar.gz 2058499 BLAKE2B b8de3aaad76bf957b1aa4dec114fcc13650f0b19af747eae9c166f105101f78a499cf9e0827636896a0aad8f32fc7786ee0319310dbec674aceeb93127539a3f SHA512 e4564b2feb35857a3afea2876aab1257a211e8b5ab6282ab23b30bc2499f14ef4554043dab515b2df7b4e004432762b86d87d57d8438508d51133c916b56da08
DIST awscli-1.20.28.tar.gz 2058578 BLAKE2B 3f6993a41f46ad9d8d45cebc0d5ea95a954e15c73d236426590c389aba6de6a99b6a5000f065f932733151c14f3112bacc25c670a05d2a991a976669ce54554e SHA512 b75974450cea3744ed15cf00ca82a35aa377c55e0ef67bb5536ed136e768d5030e6707f12e2e7de8bfce48296295ff4ed4c9f9b15c642104ea34c7492291135b
DIST awscli-1.20.29.tar.gz 2058922 BLAKE2B e0455b2d5475a1d070d0b97f5e321f884ad7d9f9627e36c2ac7eb61b69d0aeed35845906f03acf4c2c5202f6bd3c019693e4bcd02454a454282862949e4eceeb SHA512 67412b3a7445effde508548ec0030f304f0374b7a1dcc851a2205c01321e8e30d939b09cac85f10a51f2e9b47caca30303bd2916c4e10fc494eb599bc3ff783d
+DIST awscli-1.20.30.tar.gz 2066899 BLAKE2B 47a111849b14e9cdc24a8fb117711195bee5a7ea73eff2778dcb0f1e0600e04b86f78e1424082f22f655b0c85a3382c2587f495013795126830ace0a4e6a6a72 SHA512 00965738a2dd1faf0331b8b1473969a9e8a4a4ad68e6bb1d0383077494da38a9244a732ae9093eee853b6b6246ff611b6a4f1809d7d2ebda31931eb1fec79148
DIST awscli-1.20.7.tar.gz 2045304 BLAKE2B d8f086d8d2eb36645e77fa3d9ae7c196ed3a3fddcc2a0218696f92bd69e10b453be1340b965a8d8e6697bbd3c45013d72de3ed0d31b5823515a5a0092a812858 SHA512 a41bd3ebc34a65add66ef95d5194ba07907a08f7368b0fcd6551af2070c46c4a509af47d30aeadabddce19d1a61200a58faf40a7e2f759e64915cfb2826666ab
diff --git a/app-admin/awscli/awscli-1.20.30.ebuild b/app-admin/awscli/awscli-1.20.30.ebuild
new file mode 100644
index 000000000000..ff429f8d3a3e
--- /dev/null
+++ b/app-admin/awscli/awscli-1.20.30.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit bash-completion-r1 distutils-r1
+
+DESCRIPTION="Universal Command Line Environment for AWS"
+HOMEPAGE="https://pypi.org/project/awscli/"
+#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/aws-cli-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+# botocore is x.(y+1).z
+BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
+RDEPEND="
+ >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
+ dev-python/colorama[${PYTHON_USEDEP}]
+ dev-python/docutils[${PYTHON_USEDEP}]
+ dev-python/rsa[${PYTHON_USEDEP}]
+ >=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests --install nose
+
+PATCHES=(
+ "${FILESDIR}"/awscli-1.19.47-py39.patch
+)
+
+python_test() {
+ distutils_install_for_testing
+ # integration tests require AWS credentials and Internet access
+ nosetests -v tests/{functional,unit} ||
+ die "Tests failed for ${EPYTHON}"
+}
+
+python_install_all() {
+ newbashcomp bin/aws_bash_completer aws
+
+ insinto /usr/share/zsh/site-functions
+ newins bin/aws_zsh_completer.sh _aws
+
+ distutils-r1_python_install_all
+
+ rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
+}