diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index b20b9addfceaa..0b766d6db4659 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -9,3 +9,4 @@ DIST boto3-1.42.68.gh.tar.gz 1099362 BLAKE2B ad682ed811e726d2c57aa33730766bba09e DIST boto3-1.42.73.gh.tar.gz 1101832 BLAKE2B 2f187945feb18a6d8a4576f0f5766235095c08746ddc71e20784f9f4ae6984241e4dd0a13e968f08e8c8183bd0b6c61561957e181968a9c034d33a5a3b3eb382 SHA512 86ee0184ba27866d689c07b9eef5ba80a08608d831ea5d7656734b73abf6c609631ef3fb4ae5e86b996df31ee979ad531e0300f5733414d20f4e585dc69e55b7 DIST boto3-1.42.74.gh.tar.gz 1102343 BLAKE2B c80d53febe73f157d41583267d2066ff7ddebd220d8920a1b0ec7470981936e5933ecc0841dcf7c9cecd777a789c13cc6bebac09437267cfb253d00b68c42556 SHA512 b29f9c4bed8a925a2babca3fbcb8adfa8caabbe5353e64abe72b186d7f854113ca8acdb557164f6cba3fa55892469b2712347bad95ce3e61c46572468968387f DIST boto3-1.42.75.gh.tar.gz 1103348 BLAKE2B 893a14f0d5110249c65db4c5b88806b83ca36b168d032403ca19dfc9988a3958b2b0ecb75e8ac5dcd11a77cc7b2a025f21d0f14804ecc0570c92cf59ae3f35f0 SHA512 ce284b1758a5651222291cc8b43fa5002db7ae8ed92a1e2ea9b9af59b87b6ab8ed9acee2ec1e45d9af8ce9740927964eab264ed2f3c401402fa3c91180cc79e3 +DIST boto3-1.42.76.gh.tar.gz 1103795 BLAKE2B f54fe0bdcc764952601e39cda2f503234d73b06df1618307408f234b5782986737aae4b44287b4cd768701b13c09ab95e357bc4525c8ffd99117855f1ff5a8aa SHA512 926cd0b90b9fc5e086ab10fc95cabfc84a12ec0a1ccf184bb8fb3cf0be5b8fe780ea050c2c018834872288eca46487e5a9a74af0f0cb4ea88fbf18e3968f46eb diff --git a/dev-python/boto3/boto3-1.42.76.ebuild b/dev-python/boto3/boto3-1.42.76.ebuild new file mode 100644 index 0000000000000..019ca75e6b75a --- /dev/null +++ b/dev-python/boto3/boto3-1.42.76.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} +}