diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index eb92e0244d2d1..e83f49381efd7 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -5,3 +5,4 @@ DIST boto3-1.36.22.gh.tar.gz 902280 BLAKE2B 14633c089bad39b5b487ebdb8cc9cce94249 DIST boto3-1.36.23.gh.tar.gz 902549 BLAKE2B 24ef6eac4b278375fb27a2abab475a30cdc43bb37d01c68978f49c42bcc144c736d1507433bbe100b793b704a3c02c360bbd28a38dd6d3df531ef00d9075f2bc SHA512 c65a5bab6c902da7907e2144f597c159d456af8e967675684612b6baf525ef500f4077bbe9e851907bd9fbd05f905953eff9bc0800b6609b66af6db8b1b8f781 DIST boto3-1.36.24.gh.tar.gz 903428 BLAKE2B 037317bca3080d66690923bd844c11e69737bff3a5cfe5466a40af9d2461f3740cf633a810319b43477c81e1f3c3ae3125ec1ea481ad790184855d837e0266ad SHA512 8251f1db021a699e44e3c8102399d8454a7c198d0cfa9f99e34e4696b172fc986cd116305252a25ac5046b00e76af261aeac3db8036c468e27d22e8be49d0324 DIST boto3-1.36.25.gh.tar.gz 903826 BLAKE2B b3df14f7334cd943c98e365bbbba8a1407d8d72f016329406e2179cf920d7a69848a40a45eb98e5055dbdaf1ffb468c6967d11af63108e582ea37b9412c0c6d5 SHA512 8d0aa5dc8a981957b373902da60ccae5e7b87107a435ee4cec335323efaf725713fa75cf800ff73dad63065e8615be6c4a840e5a16d1619610ae2688b59d229f +DIST boto3-1.36.26.gh.tar.gz 903988 BLAKE2B f9bb945e9132a7af7bd92ff48e5a99cc89488283c30e2d7d0cbb22d9002bd41c5d5f8a449494d2aa4758648aca3c2e88dad8bebda640af4bba7df64e72ffd2bc SHA512 77a545fd94ed50114db72d7b763e232356e78cda7a2780c12c26b602ed85101218339adf6247ba45e3a8b16c33fb11f5fb34572a37dfeac43dd9322823372cc1 diff --git a/dev-python/boto3/boto3-1.36.26.ebuild b/dev-python/boto3/boto3-1.36.26.ebuild new file mode 100644 index 0000000000000..b087a88814e88 --- /dev/null +++ b/dev-python/boto3/boto3-1.36.26.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 ~loong ~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.11.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} +}