From f4ff34b5f23756b84e8789f5c757018d282d7052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 2 Oct 2025 04:28:23 +0200 Subject: [PATCH] dev-python/boto3: Bump to 1.40.43 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.43.ebuild | 53 +++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 dev-python/boto3/boto3-1.40.43.ebuild diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index cf37467cf94b1..cd9b67c119d12 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -15,3 +15,4 @@ DIST boto3-1.40.39.gh.tar.gz 1002988 BLAKE2B 944ac6019c461af48526851d526cc397bd3 DIST boto3-1.40.40.gh.tar.gz 1003705 BLAKE2B b7a555bb3ce92d01a14f3bc43a689452ed7f1cdef7e8f165ed4ee9b5625ab8c064c4ba541c67f301d938d6a3886301f1c563c0f77a72bae19c88ff60f35fdcfa SHA512 47172d50ce7203abb5e85e7e66da93e388a6f28a244fe0e654f619dee5388961d080ff04ff7126c09bc52af7c3f03cd4c334fc757bc63fbfb2572cab668b7b26 DIST boto3-1.40.41.gh.tar.gz 1004100 BLAKE2B 5962a2a77f20535580cdc8efb6cf6eb7004b0903879dd2ff554cc6f48541cf132e80a3e1c001ad364f9e38855cbadae52b6b39a8e33363ee0cc6b2c13485de2a SHA512 c80f6f83b63bd593113c99f2f1a8b86de734722306304ce4a4cc9a40610c2bcc274c17ee0246a550127d8a2503367bf961b2469bdd0e39c90db5c539dba04158 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 diff --git a/dev-python/boto3/boto3-1.40.43.ebuild b/dev-python/boto3/boto3-1.40.43.ebuild new file mode 100644 index 0000000000000..90fb2a42e6e59 --- /dev/null +++ b/dev-python/boto3/boto3-1.40.43.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} +}