commit:     a61dddaba30706c3fd582d31ff76565ec706cebf
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 26 04:49:05 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Apr 26 07:02:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a61dddab

dev-python/boto3: Bump to 1.38.3

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index d57f4a246c81..513e8af8b1c5 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -5,3 +5,4 @@ DIST boto3-1.37.38.gh.tar.gz 930949 BLAKE2B 
387213d4d7bf3eeec902f0720d8a5be87004
 DIST boto3-1.38.0.gh.tar.gz 932603 BLAKE2B 
40fe6f942b15d86a248edf65ffc5dbad72069f929015363470d4df9ba6ee0970915ec536a285b29cb92fe46e323dfbc755195b5901d0c841eb1def32019fde9b
 SHA512 
9c4b9b478b0c4832a5b43f0efe5204988e7a8d644280a1e78cb7cfe12034453cf022d052271bfb133691a7a9def72bdb5cdadadd27b4bcf29beaf05f1654e351
 DIST boto3-1.38.1.gh.tar.gz 932855 BLAKE2B 
d7625eec98e3637e633df3f63d6a7c57b92975525ac9cc02d7da5c88eaa2f92dd82c487ab2dcc76ea089658b0a7d87cedaa0b78119e8f0dae92404bafcee879e
 SHA512 
5965c775ae92236ebe20a72ba9a234435d73b16da832a366aa3ce506d165361aa68a5136083521f96ceb160b156b00a989f1ef4a756cb294182b9d6a1d626d63
 DIST boto3-1.38.2.gh.tar.gz 933689 BLAKE2B 
00152f5567e207c4739253296cbeb192d62011a27f43eace014bd26b38fad397b83b6a3c45806e7fdd4d84ad1f33e623101bedb6e600f0dd1552552c85d1d3d5
 SHA512 
57d02a92693769022af4b73772b28332233163427aabe0b98c2b65da61a377cc8c1d686320c11becbe65d0ac2b7b10e8048ecf48f258200351b87f4e18714317
+DIST boto3-1.38.3.gh.tar.gz 934010 BLAKE2B 
f5008a63aec620385e06c15e97ea37335bba190e5a29920c14389ae0dfc0e09a70ce70f8b50c0d25feda3defd9e855739305d19df7759688c156f53fc698b533
 SHA512 
8f300e38c7912f5df00431c1b70494521ac49500512b4aba7dc18f6bf0e570508d6a00fe8a98eb3c8607af39744a67e3b47d69507dbaf25d44dd02085f24bf95

diff --git a/dev-python/boto3/boto3-1.38.3.ebuild 
b/dev-python/boto3/boto3-1.38.3.ebuild
new file mode 100644
index 000000000000..bc7a61d4d13f
--- /dev/null
+++ b/dev-python/boto3/boto3-1.38.3.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_{10..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.12.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