dev-python/boto3: Bump to 1.40.5

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-08-08 06:40:13 +02:00
parent 5b62b5dabf
commit 33f4a015ca
2 changed files with 54 additions and 0 deletions

View File

@@ -4,3 +4,4 @@ DIST boto3-1.40.1.gh.tar.gz 978197 BLAKE2B c93f3550d41c13292dd8f4dcaab9d896faca1
DIST boto3-1.40.2.gh.tar.gz 978635 BLAKE2B 0bdcea2a77084d40591ed7974145491dda55b2cf6d3979d6df951992161356e35ad51e92cf74a02609c0f0892ed546df541e3dd1fb867140c0f0e0c8c6e6182f SHA512 9f238ceafa569a2607fb72bd3c4d05c83493b81b1ed36b76136efa6df464e67e90643082307f026d72d6f9a78ddb4486a01859609b980e7c6a22da2b7b0e1465
DIST boto3-1.40.3.gh.tar.gz 979059 BLAKE2B 3c357e5b59dfa3444d7d737b34a482d8e15e36ff98dad1d24ea95412474bf9765958bb7e7726c6b83a10147ac8e8c1bc9d8fada6e8211c9c0d6efa1c0bc48d7d SHA512 562ee9f1c0ddb0f5f076fab448efe0cdc24354bdea5b0ca8600e657d449df442dd477215ad47c6d17a40c0ad4b149adab17fe02ef483a709e04e30062cb24a9b
DIST boto3-1.40.4.gh.tar.gz 979905 BLAKE2B 944fd1cef82e2674f43ddc34820b8848ef391d465f1e5f3b961c86cab16d249f5accd861f3c62f24fa036850d288d0b30804e9ad86dfa093427435922220df34 SHA512 555ac28647ce76a94878df446fed5058ba3984cee9e27eb50167ea75e01a041452741db6870f259732b580a8d8abd011ff5ca1d3a42339843ee403569c88f8ea
DIST boto3-1.40.5.gh.tar.gz 980864 BLAKE2B c9f322d3b37b5e0cac5ccb28a300faee477cad5504c9be0e0686c95bdea318721a2815cf58a53bcecbae8c64250cacd8d49108bfb290ed1ac0381a70a1ac44d3 SHA512 0137e7af642512918fe518b544b41784f34f799c7bd0c6469b76c6064d36f40448b20f3e4411a5b83f3353acf7f07a56f14401c7719b5e0d7340bc40d479ff02

View File

@@ -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_{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 ~amd64-linux ~x86-linux"
RDEPEND="
>=dev-python/botocore-${PV}[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
>=dev-python/s3transfer-0.13.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}
}