commit: 2804e5a18796943ecee5b3e5b3c50297ce283a1b
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 15 06:17:25 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb 15 07:01:01 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2804e5a1
dev-python/boto3: Bump to 1.36.21
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.36.21.ebuild | 53 +++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 58d13565f7e1..abc931a66da9 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -4,4 +4,5 @@ DIST boto3-1.36.17.gh.tar.gz 899108 BLAKE2B
3c1694499e7bc48abf3d8bd8e6c783258798
DIST boto3-1.36.18.gh.tar.gz 899576 BLAKE2B
03fb22fa6e34fdb09000ce93078b7d465ede8bca7933b0254544a55dfe036616091b293af71669b0f43a99a5322cf08c0bdc18050fa26ddc148b2d8b885198b1
SHA512
138d7d5c70920a890519aabc50504b9a8210c2a3140daa1b8ebbe9cfebf6699c43a9215b0915625974c66a44d63398f0190072392d98ada25178cfad56627b0f
DIST boto3-1.36.19.gh.tar.gz 900374 BLAKE2B
4c53174c011f32f197ca0594df51968242edecbbe8411a02299816a07c9eb59b04d44da1c1ae18c255bb1959f10b2b382d1d25dfbb17b0f66470c390fa03ef9c
SHA512
d604978b7444aa9fccaf939d45cb53dddd13472458ff5a2ec0d666bd593844623c4568dce223c688ebd302bdcf2ef68f8f6f508f119621ee663ef45d6b578285
DIST boto3-1.36.20.gh.tar.gz 901031 BLAKE2B
36c33c7d4058f2cb42e8a11a7e82a5b64a29778d644027514a3795b3fcfee489806eac44c17ab1e958d8febb4eda6def5d64222a410234b444b57ef36323e9e6
SHA512
a3b378456730630b723e5df9ca3dd614878257298cbb8dee83ee68d817f86cd411a2018a5fa340cbc30d93c0cd288b0916e96f4964a43349f2e3b53c9e7cf09b
+DIST boto3-1.36.21.gh.tar.gz 901823 BLAKE2B
9659b8f05c90deeeeedc19f8c1bbd777415b778cf33f0ff2945063e64d413da9365f1a7e0dfc6ee159c00785299eece92596ae38d8a5d2bba02fe344ed2a052c
SHA512
f13d44519aa9d62ca26cd7731b7b83cb67bc85d649a3fd61756048a5fe9254d4a1af8fae55b546fce692ca35becf5bfea2c25bde2a63c8c8783b064a61814da7
DIST boto3-1.36.6.gh.tar.gz 925646 BLAKE2B
71db3ff552033c187e19b699d193e4834649b80d2c0dd2ed35496bfef798371f7794e58d445aeeafcc3e4aef50d4dc6e17347b04ae82b4f3b7778a1a5e419daf
SHA512
c638903cb3afff4867dbee7295e387f5ce91d9d3d9f37b28c103ead87883377a69fbccfce34850da5c77186ced0bb56f5dc5f4549e84871d10a9134c731d4c36
diff --git a/dev-python/boto3/boto3-1.36.21.ebuild
b/dev-python/boto3/boto3-1.36.21.ebuild
new file mode 100644
index 000000000000..b087a88814e8
--- /dev/null
+++ b/dev-python/boto3/boto3-1.36.21.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.11.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}
+}