diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 759d220cdc028..e5eaf2193076d 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -12,3 +12,4 @@ DIST boto3-1.43.53.gh.tar.gz 1188342 BLAKE2B bc20d159bdf02ea3ed01cc463e4e54a56d9 DIST boto3-1.43.54.gh.tar.gz 1189579 BLAKE2B c9e15145e1b831e18282622aaf41e4531ef34b504710be95a46ec3ff0865be8f8025c7c7b94fc19159354aa4430b19c888a7ba2dce92950a70f0cf5629dd6e99 SHA512 1d3ad0baa4d31d0e11a85cdf45ebc7bd0421560a16f3744c37bfdea6d496243d84a07d60df8768d4782f6c2356589eaaf949e2dcc60bcf1118816671f9be27d1 DIST boto3-1.43.55.gh.tar.gz 1190676 BLAKE2B d6e7310829ebc5d7e839a5d826dce95e092107c2f03550f44511ea396006e14fd95e537cfd529da2cb7eecfe3900f3ba9c58684346bf684757cac93fefcc9198 SHA512 303d8dcea109de2e13ddcafc783d5c960f4c3b4880bfc029b9beee71976a474361612f870193e9ffa89a530358d0b2348667f5429908f3c6d279522922b900e4 DIST boto3-1.43.56.gh.tar.gz 1191375 BLAKE2B 3e98c6b40c4386ba8f4653af181625376509880f40b36c6ab8101a6d20cd8db4a57f2ab3b31e8934479a7191964455c08e728ebc1f4c291d987fb9991d32cdc9 SHA512 f3990078f144109317a11904b01c8bbbdc74e6caaf0be41f612c0b75076fa8092476aad840a33eb986a587040bbdb3618eb4f7d6ba6ec56d83b5cc97ea561fbd +DIST boto3-1.43.57.gh.tar.gz 1192652 BLAKE2B 1fe7c1bb69e4d234f69554518f07151a9f6ea1a24dac5fb91ca49a867fb4bff1064e96d9bcf0f653e91be8707ff651f5b397500a104ee175702b583d06412bdf SHA512 838301792c71c52de1b293b28771aa5d7a3baa10d56c11da423dd8971ca2d76f64cb3b4f45a9cec6d1ab1de2ef90d0c68800880c7357749da2608aa6c388f602 diff --git a/dev-python/boto3/boto3-1.43.57.ebuild b/dev-python/boto3/boto3-1.43.57.ebuild new file mode 100644 index 0000000000000..9b17e7a5c3815 --- /dev/null +++ b/dev-python/boto3/boto3-1.43.57.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_{12..15} ) + +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.19.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} +}