commit: ec6d24c191322cf4a35da42022eb5e9d0aab30af Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Jan 8 07:43:24 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Jan 8 08:28:42 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec6d24c1
dev-python/boto3: Bump to 1.35.94 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.35.94.ebuild | 53 +++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index c8f09622516d..8d055d645053 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,3 +2,4 @@ DIST boto3-1.35.86.gh.tar.gz 917880 BLAKE2B 9ebf2ff2d8674013f6edead87ff92c649e97 DIST boto3-1.35.90.gh.tar.gz 918672 BLAKE2B a875ee6f59cac2a5f085719fed71090f8d717071dc7e2941075d12d3d98bd9850283c157a9176e890f67dfb78f68cd9f3942e0c8515629f70fa9cd9090eac837 SHA512 ab19a1fc324fb151cf781ac8de306af67edceb7190c6970e296c1f6dfc59e66da6c056a84aefbbe2509c7acb33ca3da81ad58736217ad45ccc16490eb4d96fc2 DIST boto3-1.35.92.gh.tar.gz 919812 BLAKE2B fd52fbcb99538e46fd05e117353a93f8496150c6c518d445c2c78d8c91390fe6a15cdad419f25b1ced5b1433f1e63ff8204a25ee452e995f715dd915ea676d17 SHA512 7e9bc15b43e3e4babce3465e96b58f177eea316751f0c9982bc33e17ae3673cef026871bfb4bfdd254debfd3c7a342e3afa6aa65d9c97aefea13a9922b010fd0 DIST boto3-1.35.93.gh.tar.gz 919950 BLAKE2B a16e9d7cd6d7d6ba4718705d94a1474cbe96b68cefdc6a8fba4f37e31ca736d33cb1a10018ef670005987c793f842ce58cde9690ddf6ccb7696eed91f55ec1e7 SHA512 96abe2cdb58a8cc1d6da203746b19c2742a773b540c07aebf62b75c97183b52fb0be1748a973583a7e9aa0977eccaa824a65daa4e7d126c9e761dcaaa842a9f7 +DIST boto3-1.35.94.gh.tar.gz 920278 BLAKE2B 350f891df6d587178060622314158abf96f5e27975fd99e81d1b3542575b204fe5c721dda7a2d071a0127ba857c07abd0618a5b3deeb1e4e89af964fb0e17fef SHA512 efe9e30fd78d233f5a81c46ad87085c1c1c73b2682d5d52433e12dfb8ef203451c769cd75dce4e7203873c1cb18e293b8053dfa0fb42236ba015ca9db3d31392 diff --git a/dev-python/boto3/boto3-1.35.94.ebuild b/dev-python/boto3/boto3-1.35.94.ebuild new file mode 100644 index 000000000000..f770025655ec --- /dev/null +++ b/dev-python/boto3/boto3-1.35.94.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # 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 + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +}