Skip to content

Commit

Permalink
app-admin/awscli: Bump to 1.20.18
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Górny <[email protected]>
  • Loading branch information
mgorny committed Aug 11, 2021
1 parent 0e447a4 commit 3fdf3e7
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-admin/awscli/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ DIST awscli-1.20.14.tar.gz 2049156 BLAKE2B 2eed59fbbd11918451d64c76c58838c9d599e
DIST awscli-1.20.15.tar.gz 2048948 BLAKE2B e7d378c9cb1752f4b7e014578d07fdc5f7bd9c14dc5fa33328a29c8fb9c9fab27f404dbfeea5952c243aeb35b0800c7840303d5f1339512d74cee2e4a5d590a1 SHA512 34c482067c3534737956520e5f6f0b3d30296f6de06969fe3ab43146a3190e36b432ea3642917c91e82659d5e79337add973f3f79216214f6b03b5cd15b363f2
DIST awscli-1.20.16.tar.gz 2049307 BLAKE2B 122eb7331a30c02455dd3928fa411e24ab1da9d3d90ff9a9b4279bbf8cb4e454714e56fc0c1b521fe0a447537c6ae8ff1db62e63b49ab5cbb7b212a497748e82 SHA512 45973fb775cb7f52f6e220f1e26c4af32f4737963d3cc3e01d4462c75479eeddb2c1f15a8ce645ac698d1d42fdbb81a56a9ff655ff9918b746dce26fb6e0eea7
DIST awscli-1.20.17.tar.gz 2054619 BLAKE2B e6570c2eb40f72a7070c69e391151b73d7110eb9ff00cf30af64ea8adb754e9ae5436a3ac92def059704ab7883624f9809a6c575667cfa069a5eef43604b49b2 SHA512 b7ec91dc11a70acc2994a913143f7c9d082df4e691c6916558b255052e7a1b8ec24f803f6795aac4729353611f29fb84bfa99b1e328d07757f6600f9302fac86
DIST awscli-1.20.18.tar.gz 2054961 BLAKE2B 0045a45638a6d4b24b876c3fa984ab8cb33eaa18bf1b8f3ceb8eb4faaffcdf3daacd141cfb4b96c56ab406c00742d823d2b772978d4a2f79b2f06a90c45411b3 SHA512 24292e57fdc4b95bd79c31fe153ba8dc1869bda842fe9e9d4b66d2bd8e0354e279d95f0dc4d656a359f58fef3a7e76c17ec80398c1f516339af2d27ac88c9b38
DIST awscli-1.20.2.tar.gz 2029411 BLAKE2B dad47f749af3c1e7bbeb291eb92889c7dc9bdc9e81ddb1fd3769897f94ba549123589a2ef8a34b88d8370cc6bb5ad45cc7b9fa06ec474620303a78ec3d64100e SHA512 6384a02a7bd3a8ea38cf46725daa25e7656e12c1f3f6465043efc223a82c605dbc916a26debc214ff6d364e81013e729acac424ccccc535785e8a3b68cfce2f6
DIST awscli-1.20.3.tar.gz 2029411 BLAKE2B 6d8573709072ea3955696de0c65a32610446737a216f6c5dd4ecae4cffcb48ecac531cfc598517c037066d066cf0de01510c0740949450ad3a5925af79bd8c16 SHA512 2324800964de8b1af4ae39dcee15e8fc2bd5e11a239c245590a86fac6574d80b290fb9d967df82d6fdd412cd8b783fd209780e5e58846a16302fa13c6f3b93fb
DIST awscli-1.20.4.tar.gz 2043470 BLAKE2B 58722fe4277a7950665913e8b9ae99de8017cfe8c4974a3524f917533499e830d2eea2ac0994022796b979869468b5f3a767727b4384f78e325e423ed003b1b3 SHA512 3066438ac58eb2afb83ae6fef516e09965ceea1e97897e4f5b5760046f28a2f822b16b90c0a9ee6a58c6cdabbfb2f0ce044caf41396093188290e2a7c1e8c4f3
Expand Down
58 changes: 58 additions & 0 deletions app-admin/awscli/awscli-1.20.18.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 3fdf3e7

Please sign in to comment.