From 7ebd5e6e4fa06bf63a883a972c48227f43a906d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 4 Oct 2025 07:04:44 +0200 Subject: [PATCH] dev-python/boto3: Bump to 1.40.45 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.40.45.ebuild | 53 +++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 dev-python/boto3/boto3-1.40.45.ebuild diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 81e5ddd4aa1cc..0a0d49884c808 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -17,3 +17,4 @@ DIST boto3-1.40.41.gh.tar.gz 1004100 BLAKE2B 5962a2a77f20535580cdc8efb6cf6eb7004 DIST boto3-1.40.42.gh.tar.gz 1005633 BLAKE2B a247bd55488854a6b5796385cb185e66dce964a98ab1eec2d244b43802cffbe00cf331efbe3c498c0f5999299870bc10158b98979747593eea8ca47581bb1afd SHA512 a6673cdf916cce47429fecf9d5462670ee2140b89838c815be74a5c2806f09dc6fd788dc3e14136f5bd6e9c0e4f0c8663e7cf93152a898340b023a51bc39c4f4 DIST boto3-1.40.43.gh.tar.gz 1006126 BLAKE2B 943902cf68f8660194242136ff543de390f878f22b62c9610f8a9b022e853097f08e18331eb0f603575fe9cba0ee9e9e4a05080fc964749ce8bb7f12dd295f7f SHA512 f9e85364bec2bfb41e2ec4da460cbd79d952bc297cbd1525ec6a355bb90ef6ef11549f36e6f72d7c96825c2a67b71dce93cacb3f648b1b4e6033cd12a85e78ee DIST boto3-1.40.44.gh.tar.gz 1006574 BLAKE2B 9d301911a18ae798aebdc1695f4f0d2e20c388b3baa8c0fdc7bc5e132063ff795f5a0415a8eaa21dfcd88a68deba71f9b56a504a0ae9bf0222893b7b2e0b10d6 SHA512 447a9a7ad8898c5e60414f5b42adcc9387d9b6af102cb475b33d4b81c986d10211c68764299fd09accdaec02d1cffd32bcf55b8a95bfcdfd1e440e1c6aa973f2 +DIST boto3-1.40.45.gh.tar.gz 1007074 BLAKE2B b6b36715046fc1468ad02770b31c88276d342546f4482c75d41686d4754c4b5a4231d027356bac122be08067943ad7df02bbea6fa2086a79306125ef41fc27b9 SHA512 4533e413d4771b5770f77df9c6574dca3d85bafbc1d65918b90c294fdd32ff3e6ab6e5e5f95c2ae0fb9db062eda411d2fd7fab7c7b873e87e2074ca34a13cce1 diff --git a/dev-python/boto3/boto3-1.40.45.ebuild b/dev-python/boto3/boto3-1.40.45.ebuild new file mode 100644 index 0000000000000..90fb2a42e6e59 --- /dev/null +++ b/dev-python/boto3/boto3-1.40.45.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_{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.14.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} +}