From dae597c5e40d90a76a050790e6f4fd0268ccda76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 17 Jul 2025 03:47:33 +0200 Subject: [PATCH] dev-python/boto3: Bump to 1.39.7 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.39.7.ebuild | 53 ++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 dev-python/boto3/boto3-1.39.7.ebuild diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 60f6a90fa1fd7..4e3fb0ee5e9c9 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -2,3 +2,4 @@ DIST boto3-1.38.46.gh.tar.gz 961156 BLAKE2B 36fe0a2d35176c3419f4a49148b77713e126 DIST boto3-1.39.3.gh.tar.gz 967377 BLAKE2B 239fcd2d4492d3848dc473c71cf3bf8cae80b844303c32cf0e405e810b18c892bf100705c39d81c196cd83288db2500331b9d706d481ebcfee8237d245af4bb1 SHA512 89a8e3bb96255c097ffa8a8d2dad6c18835d5404d502ba41fd500aac8dfb0d1229478b6d17e82e5668d00d6df604ade5a209a6c99f3d11fc956dee4c77c2452c DIST boto3-1.39.4.gh.tar.gz 967954 BLAKE2B 5e63cfb5c2381605475c928c4aec6cf303b99ca13eb67377e5a283e07d0de35eb6846352976a854632e72c34477f964b32ffc8f0fc178d10d7e95df8d4a145cc SHA512 dbe389b4eb1e8ac1f425f34bb96c5baecc42acdc608bef7ddc31e1fbaa3baa6850504cb9513494a6ca782755ce9264fd0d794960eeb495678ef1cb3d2c85fe90 DIST boto3-1.39.5.gh.tar.gz 969544 BLAKE2B 5be7e1aadcbc78a16b48301a7703d8cdbfabede67a07e5f4d7f835991f85a7436dd76fd3b7bd2cbd0aa3935fe80d1ae3446e559a7c7a9daec60464cbfd1b7c4c SHA512 85d725a10888b0ef95a65cb1a5c0470fb5ae22f8f629e5fdc1266dfaf025abe4e17b1ea811858c162a7cac00326d1212ce07004108dfc4af54305a780545b8de +DIST boto3-1.39.7.gh.tar.gz 970700 BLAKE2B 138d961a314d33d1d68e9ed01784cf355025ffe7dc23de04b13d245827570d93a11b2f35d0a72442717f9eca566e4e4a8882d6382fda2a7b5e49d6cf0328012e SHA512 b60ed1b00a2431a4b335ff43d7bb05c3b37685ff3610ad4432b24e7984374f36f3c20276c642b92fafc42c134590850e7abaab25d099a63d46e53c823d34901b diff --git a/dev-python/boto3/boto3-1.39.7.ebuild b/dev-python/boto3/boto3-1.39.7.ebuild new file mode 100644 index 0000000000000..bd6e26787db4f --- /dev/null +++ b/dev-python/boto3/boto3-1.39.7.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.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} +}