diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 2cd909ea17c77..9931d90347e81 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -12,3 +12,4 @@ DIST boto3-1.42.64.gh.tar.gz 1095941 BLAKE2B 39a0fd43edba582548374ab56be05628e96 DIST boto3-1.42.65.gh.tar.gz 1096408 BLAKE2B edb8ac6765677fb1b9ffefd9ea86a5e334b26846fa7aa9d5c9a0caa7b43616d8b8198da19a432530cf38f06839b1fde6e87b4f7cdcb65207dad626f16b5296c9 SHA512 d5f7a5ae6ea7dab011621d8632f1347bec6eb0b229fd3d38e1e24758402a8451c4008323b8e8acf44350b13eb00d9bdb21ccd491fae86b8c002526ab15575cc5 DIST boto3-1.42.66.gh.tar.gz 1097318 BLAKE2B b5149eda75456a35a75a9584db80e344bec3c852ccf51dae4dbd14237ee55cda62727639280a0ca50593a7af8ed46d1b37a4f162a5fb753fa2a97284d7a9db5e SHA512 42b70f1104d278b576bc15da1d1a506596980f29c5972aac380c30b52950a178c084537b94a70cdfcecf438f633c84e7fa32239c5a8d5caa47c0a8c440f7d7b6 DIST boto3-1.42.67.gh.tar.gz 1097832 BLAKE2B d0bd5c87d20424f3e9a40e66b2d438e4b33249c4461686204abcfc3082ecd8464e5f4606b2e8f6f1ae2582460c5be708555cc5aa04e62ac130c26a942788c3a0 SHA512 f5b529b4cb6fb3b38d572c9e4adcebb141a76184a99bf4b5a25f4c00f3278c1e4dc278b075871c055be3ef8821e24bb5fe4d6fcb06cbab4bf2cba08182992a8e +DIST boto3-1.42.68.gh.tar.gz 1099362 BLAKE2B ad682ed811e726d2c57aa33730766bba09e1ba68149ae967189170a51d78cbe1f37c5b360a251cf3fc35972c8b59612f1083844fb12c5e2b767b503dfdc17473 SHA512 5bec985fe697bf2fdd565b29111bdf133aa833fa71520c178b721592aeb698696d833257342abaa05d575602a1a533da0ce4bbe186e0969d6f218bb81fd84ecc diff --git a/dev-python/boto3/boto3-1.42.68.ebuild b/dev-python/boto3/boto3-1.42.68.ebuild new file mode 100644 index 0000000000000..019ca75e6b75a --- /dev/null +++ b/dev-python/boto3/boto3-1.42.68.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +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 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.16.0[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +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() { + epytest tests/{functional,unit} +}