From 401101f9c8077911929d3f2b60a37098460a5d89 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 24 Mar 2022 23:59:54 +0000 Subject: gentoo resync : 25.03.2022 --- app-admin/awscli/Manifest | 12 ++----- app-admin/awscli/awscli-1.22.71.ebuild | 65 --------------------------------- app-admin/awscli/awscli-1.22.73.ebuild | 65 --------------------------------- app-admin/awscli/awscli-1.22.74.ebuild | 66 ---------------------------------- app-admin/awscli/awscli-1.22.75.ebuild | 66 ---------------------------------- app-admin/awscli/awscli-1.22.76.ebuild | 66 ---------------------------------- app-admin/awscli/awscli-1.22.80.ebuild | 66 ++++++++++++++++++++++++++++++++++ 7 files changed, 68 insertions(+), 338 deletions(-) delete mode 100644 app-admin/awscli/awscli-1.22.71.ebuild delete mode 100644 app-admin/awscli/awscli-1.22.73.ebuild delete mode 100644 app-admin/awscli/awscli-1.22.74.ebuild delete mode 100644 app-admin/awscli/awscli-1.22.75.ebuild delete mode 100644 app-admin/awscli/awscli-1.22.76.ebuild create mode 100644 app-admin/awscli/awscli-1.22.80.ebuild (limited to 'app-admin/awscli') diff --git a/app-admin/awscli/Manifest b/app-admin/awscli/Manifest index f5de41f86422..685038728101 100644 --- a/app-admin/awscli/Manifest +++ b/app-admin/awscli/Manifest @@ -1,17 +1,9 @@ DIST awscli-1.22.63.tar.gz 2167746 BLAKE2B e72126578c9bac30c6d66bdd178961a7a36a045788d8079e8f0ab4c85d18c29454255a13f089c03ef53bdce0949d168c858d03b59cf5d5326fb3de9925a3f487 SHA512 4d8a6ee8b81445fbb51dbb31e899bebb5610b0a1291654eb9b6555685dcb85528c2b928f587d9ff98507f60d2b199ac71c48f6e204e7eb2ce2ba5d7abdd31ec0 DIST awscli-1.22.70.tar.gz 2177284 BLAKE2B 1ba770ba1b1404d6ff31d95ee198cba41321fe79d618d8b2ab8258da75f9cc56d5af95851dbed837b65e4fdbd82193639da5614551fe2d7f0ebc20df44531615 SHA512 0f246e82cee70b8d16e1fc7e30aae67554f5186eb2a0251295b25eafe23d7b29293059be7ebffbe7a45c665d0bae210699093b86bf7b3e188017018d8329af84 -DIST awscli-1.22.71.tar.gz 2177492 BLAKE2B 2634de77b67aedf1684370b18da614d8092da277d099a25aa9ca054743e851df0e4ace5ff8fd884faebb012ad4cc8f0c94892a6c2bc2e1f284c28663b029198b SHA512 a404177ee0b5012553dfa95734d424f744ecc3b4a800ccf6d7f27a0f3b9a93722e4f53e4aed095306ba575328686ef1768095cd796b11064e0b707fadcd1e90c -DIST awscli-1.22.73.tar.gz 2178216 BLAKE2B 14cd910f0218c015c3f349f57f268b818737d12cede273d6d306eff5be7e68690df19bc1e3eaaf4d7069d233f171a12edd9144febf5f877c49189f0aa6786441 SHA512 a708eafb38891ef1119c9ebe690ef6a1ad8f21605621ddf63820f2a54bf5612d62179922b59150de67dca4d266c55198fdd69db04a234b8051c0b5e5c8fd6cc7 -DIST awscli-1.22.74.tar.gz 2178286 BLAKE2B bab52f3a46033c0f6b36419a612ef01ed79ac8f361bdb90ad2e07aede8b6244e0d0cca20dd4eae6b664f24ae9564e4ad548fc1eb55526242d2cbdd1771ba329c SHA512 1027658bb97e214047a90079384cad5b9f045e0a70f734fef24d1ed4b09a930a985f516ed2dc3965cb78941d702008a9cdaf3e420d992c77b4175eeda85577bd -DIST awscli-1.22.75.tar.gz 2179099 BLAKE2B 697c02e6981213cd6694d1d4f988148488ba4be91559b5686b6820543d38e9a5864242a254ac1151bca147557a970ad8cf8bc07c3ed6100305b1ec65f918edd7 SHA512 783e3f057896c929d2324d1af0bc3907a23bffbb7856b201ba1b03a6ca00e0aeae2c7e04468bf0494f91d054d35423255130332b366bba0ac60513da1e4d35fb -DIST awscli-1.22.76.tar.gz 2179831 BLAKE2B 4c1bf344a7e21dbe3e96cade9aa5f2efcabe969ebd7804a05b6ba361a2dc11c9f07786198923fefed419b425dc7e4d469a9683474a30495f399e39e9cee8f15c SHA512 bf4971e1d92294901f273891d6e2d2ae2c142842df3fe09391d5f12672f2504ddcc3b467db82439dba434f2e50c4a529c5141366b34ec9722e9ad9705ace5f09 DIST awscli-1.22.77.tar.gz 2179996 BLAKE2B fec49002841fa634bd2b7ae72f534bda875d69169179bbeb85eac18f2d9e9102121b6c0d73d8c7132ac0a6b8e5a8a39cea258d90c15f90b29b44d12ed509cfd1 SHA512 0fa89b6a2dd9dfc7e7be713c10b7470ad8fe8877a7fa9712510254cfbef36771f9e2541adfef9366e13e2273a373c2b88730572f7f1ad79c19f67e57c17e6631 +DIST awscli-1.22.80.tar.gz 2182289 BLAKE2B 632aa3806ffc6924b9d359f437b89f4c494065ee57f352c4ea83c1c6a012090ae3bf050eb633708fca9e50dd53205bfa3c838ee5c64088a253b7d2ad9fcb4427 SHA512 a35214dc4dc6280c2774f0423af1a933260bc9ef718ec1779b50d52c5b47d05034f8a8ff327c01af59b3490acd5dad3921535ec848c00885136fdb7909bbeb75 EBUILD awscli-1.22.63.ebuild 1839 BLAKE2B f7e466a4f36db6c84df8c93c9d8ad959a1eb4595325656607eccf73464c93bf49a7d2dae2568bcfe966444117fb9ae68239be0b76a2c83c004a063c483f02862 SHA512 c5c5d8b04c5097135c4ec0bacf1a7a0c9d801af900bd549d76e3da33ab7b8b65d470af5c7420c14e93f867398c7f3ae2ef4e9d8a55328573b2167ce255893697 EBUILD awscli-1.22.70.ebuild 1841 BLAKE2B 17bc1585f68744ac39fbadcfb106022e2d6c274fcc7c28151bd069c19aa4f9263af9f8ceb834113b8263228a2a5addfa14c58e65bffe22a2d8743734fe0a50a8 SHA512 1c98e9021e1c4ab175e67c06cf13f83b267f29723d6b651c0277a28701c1ad53edb6aa2833d0cf65e88d30deb35becffe286b9dc1e0093fb298760f890cbc773 -EBUILD awscli-1.22.71.ebuild 1841 BLAKE2B 17bc1585f68744ac39fbadcfb106022e2d6c274fcc7c28151bd069c19aa4f9263af9f8ceb834113b8263228a2a5addfa14c58e65bffe22a2d8743734fe0a50a8 SHA512 1c98e9021e1c4ab175e67c06cf13f83b267f29723d6b651c0277a28701c1ad53edb6aa2833d0cf65e88d30deb35becffe286b9dc1e0093fb298760f890cbc773 -EBUILD awscli-1.22.73.ebuild 1841 BLAKE2B 17bc1585f68744ac39fbadcfb106022e2d6c274fcc7c28151bd069c19aa4f9263af9f8ceb834113b8263228a2a5addfa14c58e65bffe22a2d8743734fe0a50a8 SHA512 1c98e9021e1c4ab175e67c06cf13f83b267f29723d6b651c0277a28701c1ad53edb6aa2833d0cf65e88d30deb35becffe286b9dc1e0093fb298760f890cbc773 -EBUILD awscli-1.22.74.ebuild 1842 BLAKE2B d90876cc17fe116c87f9ca9be895f65fbf880cd8d71d70f6c7a86e43b619956cad426c246bfef1a4b330df39dfd97e8a8cae89bb466091ad40e95abb783150d1 SHA512 bd59ac72eec643d30b79ba3735cf51a7d294ed7d62b36f00692235b701314562366d081a069a9342debbbb8994308ed30a66671951c7fe8f9d401a207669295b -EBUILD awscli-1.22.75.ebuild 1842 BLAKE2B d90876cc17fe116c87f9ca9be895f65fbf880cd8d71d70f6c7a86e43b619956cad426c246bfef1a4b330df39dfd97e8a8cae89bb466091ad40e95abb783150d1 SHA512 bd59ac72eec643d30b79ba3735cf51a7d294ed7d62b36f00692235b701314562366d081a069a9342debbbb8994308ed30a66671951c7fe8f9d401a207669295b -EBUILD awscli-1.22.76.ebuild 1842 BLAKE2B d90876cc17fe116c87f9ca9be895f65fbf880cd8d71d70f6c7a86e43b619956cad426c246bfef1a4b330df39dfd97e8a8cae89bb466091ad40e95abb783150d1 SHA512 bd59ac72eec643d30b79ba3735cf51a7d294ed7d62b36f00692235b701314562366d081a069a9342debbbb8994308ed30a66671951c7fe8f9d401a207669295b EBUILD awscli-1.22.77.ebuild 1842 BLAKE2B d90876cc17fe116c87f9ca9be895f65fbf880cd8d71d70f6c7a86e43b619956cad426c246bfef1a4b330df39dfd97e8a8cae89bb466091ad40e95abb783150d1 SHA512 bd59ac72eec643d30b79ba3735cf51a7d294ed7d62b36f00692235b701314562366d081a069a9342debbbb8994308ed30a66671951c7fe8f9d401a207669295b +EBUILD awscli-1.22.80.ebuild 1842 BLAKE2B d90876cc17fe116c87f9ca9be895f65fbf880cd8d71d70f6c7a86e43b619956cad426c246bfef1a4b330df39dfd97e8a8cae89bb466091ad40e95abb783150d1 SHA512 bd59ac72eec643d30b79ba3735cf51a7d294ed7d62b36f00692235b701314562366d081a069a9342debbbb8994308ed30a66671951c7fe8f9d401a207669295b MISC metadata.xml 334 BLAKE2B 84c9f50e6c0d015aad36a7f625cddf90cf1137a8c2d445cc641cd4890d64261187c10fde59ee1a6c19b98cfdb6ff534c66ae7a7a48a00ec62d6984c9a1891750 SHA512 a845de531df2cd75abf23cdbfa613e586855b95ac4e96566ef193708d7ecf2ec7f7db72fd31b8af0ac4ccd57e51da9c6d129d426bfdc6c4feb57d7df8647f160 diff --git a/app-admin/awscli/awscli-1.22.71.ebuild b/app-admin/awscli/awscli-1.22.71.ebuild deleted file mode 100644 index 21a285d18863..000000000000 --- a/app-admin/awscli/awscli-1.22.71.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) -inherit bash-completion-r1 distutils-r1 multiprocessing - -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" - -# awscli 1.22.55 → botocore 1.24.0 -# so botocore is x.(y+2).(z-55) -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))" -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/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - # strip overzealous upper bounds on requirements - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die - distutils-r1_src_prepare -} - -python_test() { - # integration tests require AWS credentials and Internet access - epytest tests/{functional,unit} \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} - -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 -} diff --git a/app-admin/awscli/awscli-1.22.73.ebuild b/app-admin/awscli/awscli-1.22.73.ebuild deleted file mode 100644 index 21a285d18863..000000000000 --- a/app-admin/awscli/awscli-1.22.73.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) -inherit bash-completion-r1 distutils-r1 multiprocessing - -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" - -# awscli 1.22.55 → botocore 1.24.0 -# so botocore is x.(y+2).(z-55) -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))" -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/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - # strip overzealous upper bounds on requirements - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die - distutils-r1_src_prepare -} - -python_test() { - # integration tests require AWS credentials and Internet access - epytest tests/{functional,unit} \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} - -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 -} diff --git a/app-admin/awscli/awscli-1.22.74.ebuild b/app-admin/awscli/awscli-1.22.74.ebuild deleted file mode 100644 index 2040c8cb81d2..000000000000 --- a/app-admin/awscli/awscli-1.22.74.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) - -inherit bash-completion-r1 distutils-r1 multiprocessing - -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" - -# awscli 1.22.55 → botocore 1.24.0 -# so botocore is x.(y+2).(z-55) -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))" -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/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - # strip overzealous upper bounds on requirements - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die - distutils-r1_src_prepare -} - -python_test() { - # integration tests require AWS credentials and Internet access - epytest tests/{functional,unit} \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} - -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 -} diff --git a/app-admin/awscli/awscli-1.22.75.ebuild b/app-admin/awscli/awscli-1.22.75.ebuild deleted file mode 100644 index 2040c8cb81d2..000000000000 --- a/app-admin/awscli/awscli-1.22.75.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) - -inherit bash-completion-r1 distutils-r1 multiprocessing - -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" - -# awscli 1.22.55 → botocore 1.24.0 -# so botocore is x.(y+2).(z-55) -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))" -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/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - # strip overzealous upper bounds on requirements - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die - distutils-r1_src_prepare -} - -python_test() { - # integration tests require AWS credentials and Internet access - epytest tests/{functional,unit} \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} - -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 -} diff --git a/app-admin/awscli/awscli-1.22.76.ebuild b/app-admin/awscli/awscli-1.22.76.ebuild deleted file mode 100644 index 2040c8cb81d2..000000000000 --- a/app-admin/awscli/awscli-1.22.76.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) - -inherit bash-completion-r1 distutils-r1 multiprocessing - -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" - -# awscli 1.22.55 → botocore 1.24.0 -# so botocore is x.(y+2).(z-55) -BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))" -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/pytest-xdist[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - # do not rely on bundled deps in botocore (sic!) - find -name '*.py' -exec sed -i \ - -e 's:from botocore[.]vendored import:import:' \ - -e 's:from botocore[.]vendored[.]:from :' \ - {} + || die - # strip overzealous upper bounds on requirements - sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die - distutils-r1_src_prepare -} - -python_test() { - # integration tests require AWS credentials and Internet access - epytest tests/{functional,unit} \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -} - -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 -} diff --git a/app-admin/awscli/awscli-1.22.80.ebuild b/app-admin/awscli/awscli-1.22.80.ebuild new file mode 100644 index 000000000000..2040c8cb81d2 --- /dev/null +++ b/app-admin/awscli/awscli-1.22.80.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit bash-completion-r1 distutils-r1 multiprocessing + +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" + +# awscli 1.22.55 → botocore 1.24.0 +# so botocore is x.(y+2).(z-55) +BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))" +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/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + # strip overzealous upper bounds on requirements + sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die + distutils-r1_src_prepare +} + +python_test() { + # integration tests require AWS credentials and Internet access + epytest tests/{functional,unit} \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" +} + +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 +} -- cgit v1.2.3