commit:     fb0363364c41c619a25e666f8894f29dabda7e04
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 15 04:25:11 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jan 15 04:25:11 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb036336

dev-python/boto3: Bump to 1.35.99

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

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

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 5204ec0cfe25..b284ce224f12 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -2,3 +2,4 @@ DIST boto3-1.35.90.gh.tar.gz 918672 BLAKE2B 
a875ee6f59cac2a5f085719fed71090f8d71
 DIST boto3-1.35.92.gh.tar.gz 919812 BLAKE2B 
fd52fbcb99538e46fd05e117353a93f8496150c6c518d445c2c78d8c91390fe6a15cdad419f25b1ced5b1433f1e63ff8204a25ee452e995f715dd915ea676d17
 SHA512 
7e9bc15b43e3e4babce3465e96b58f177eea316751f0c9982bc33e17ae3673cef026871bfb4bfdd254debfd3c7a342e3afa6aa65d9c97aefea13a9922b010fd0
 DIST boto3-1.35.97.gh.tar.gz 920994 BLAKE2B 
e333a53118122ddd70e77e3f158171507e6430d9f85d58fc8d9300801c68703834965016004826628bb20f9908034939d3f11598156e2bc93ea3412fccdfb33e
 SHA512 
a22193cf6992cc6d30049d47d53048ba416ff21cb4b45bed9a8524ae2446800cb6843838f347484d0b4d5ff898dbdf5b15b598e7d079c1ee0273da25f71bea0e
 DIST boto3-1.35.98.gh.tar.gz 921601 BLAKE2B 
ec4b4e24a60174ce2799977f26fb1ce732ede9b6acdf8b1ef6fa0766e5fb49dbfcdacab6abc3f4e4df00d692b727dcfc2f944f3c9e7e0700d7588814d1791c68
 SHA512 
71eaf4dcd1ddaacc0080630022af1122395e93eb6eff5461b5d8f2d76a58da33d1da060818b42367a227ca5d4167b98097ff76e821107cb0f83f74a152a277a5
+DIST boto3-1.35.99.gh.tar.gz 921797 BLAKE2B 
f42ac47ce3e1c647555320f0434cfa3539053029efe0fbb06f12f7a165a7afc194acc0d9131fc3654dbcf4cc734c7fac634427fd19adadbcacc99d9693b88741
 SHA512 
0f04e7c45c022593da150e610cd8af5020b63fb1abeb0e0135936d949928147f6776676611509bf905f1ee6656292e0c4e0a36b87438f62e04769072186afed8

diff --git a/dev-python/boto3/boto3-1.35.99.ebuild 
b/dev-python/boto3/boto3-1.35.99.ebuild
new file mode 100644
index 000000000000..290d95fd73d4
--- /dev/null
+++ b/dev-python/boto3/boto3-1.35.99.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.10.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