commit:     48324755c8b625a2c660d16fffcaaf1cccade0ac
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 31 04:00:26 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 31 04:52:20 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48324755

dev-python/boto3: Bump to 1.38.27

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/boto3/Manifest             |  1 +
 dev-python/boto3/boto3-1.38.27.ebuild | 53 +++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 354b47da2752..537e7d686616 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -4,3 +4,4 @@ DIST boto3-1.38.23.gh.tar.gz 946184 BLAKE2B 
cf405adb1f47bcaba2185f2c120b8642f8fe
 DIST boto3-1.38.24.gh.tar.gz 946456 BLAKE2B 
3e4a38b1cebd92d43b139c22762527656dd9451e80e6497262b19d0d9ef5dc5493c52fcb54c68a437db2730aa7ff175f9a0a6079e88bc88077ced0350e2aca4a
 SHA512 
780f92871b5b360f086af5bc09a5fa4b57c0b2d30fcd50140ee8c55b79ae83368c227cef85c67d42401d11aa4b9fc03125d0c004bcab2b33c5ee55ee62788bc7
 DIST boto3-1.38.25.gh.tar.gz 946829 BLAKE2B 
bfe66d022fe75fabc609f45cee7b1b235377be7ed2ec39431582ebf7d4955279592c965519ccdcbb444bdaadb08a600bb2332e64d79b88447d41f483b6d4b404
 SHA512 
b25a778f278a441be89ed652a45e4f521455cd34e02bd98f2d14bce8cca0ddd6e76d0ed06b12c4eb47446c38a1a2b23134059b36724b923d0f499322b3629b07
 DIST boto3-1.38.26.gh.tar.gz 948177 BLAKE2B 
6bcd686022d1dfb9c41a0ad3d24addf0bb74cb3f913f2cf6cb761cb73bec59d37be8d5ee9c6d9406653a1a2b631bc9b87e5bd3d94322ee84a70426e0f4dfb4ee
 SHA512 
87586403b7a31887a1f5a1f2cf69e6dcd2ecd522970106ed6a0ed0f4cab21ea609033d46cd4a3234db63f3e34e1f50c7dc7af30ad463d9a7ccdaa956fb9bc827
+DIST boto3-1.38.27.gh.tar.gz 948453 BLAKE2B 
4f775c14a439b4ca204d6728a7b077ed901e9b92f395871b05e9de29e5ce82ac2ab179f4c1914b3d52627b77a5fae136ad003bbeb2d1460597f9fb7b4a1ab93d
 SHA512 
27ab3c3453b16649d58d6ee11ef62abd6e302889b0dc46067e4370af1e9fb4d75292886471f7c7fb530707c226ae78c42d0268d8cd9730fd27ad72ef1fb69d45

diff --git a/dev-python/boto3/boto3-1.38.27.ebuild 
b/dev-python/boto3/boto3-1.38.27.ebuild
new file mode 100644
index 000000000000..87d2b29361a1
--- /dev/null
+++ b/dev-python/boto3/boto3-1.38.27.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..13} )
+
+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_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() {
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest tests/{functional,unit}
+}

Reply via email to