summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-01-29 07:43:11 +0100
committerMichał Górny <mgorny@gentoo.org>2025-01-29 09:48:13 +0100
commit45f323da2ce9f0d3e40d9f8fa7176e03cc71ed02 (patch)
tree2ed296c690ceac52f41d2d8c9713fbf1e2d9ad47 /dev-python/boto3
parentdev-python/botocore: Bump to 1.36.8 (diff)
downloadgentoo-45f323da2ce9f0d3e40d9f8fa7176e03cc71ed02.tar.gz
gentoo-45f323da2ce9f0d3e40d9f8fa7176e03cc71ed02.tar.bz2
gentoo-45f323da2ce9f0d3e40d9f8fa7176e03cc71ed02.zip
dev-python/boto3: Bump to 1.36.8
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/boto3')
-rw-r--r--dev-python/boto3/Manifest1
-rw-r--r--dev-python/boto3/boto3-1.36.8.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 82940bfc82b1..03d7278cdb9a 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -2,3 +2,4 @@ DIST boto3-1.35.97.gh.tar.gz 920994 BLAKE2B e333a53118122ddd70e77e3f158171507e64
DIST boto3-1.36.2.gh.tar.gz 923432 BLAKE2B 91f19eb6e1451923adbf323688d89cfadd384009fbc3fdcae688b48dee54d9a3f14956cedaed07b15f2cdc3badaf0533a6ec1e1baf5cedc88e91580104834eb2 SHA512 e9e14f4aacd0814952198d5446050f0cf822baac0b3ce3604c40dbb6b122c431624b46b144ea4699be7328f6236e099981905a4be6a9de3400750800d8d40e60
DIST boto3-1.36.6.gh.tar.gz 925646 BLAKE2B 71db3ff552033c187e19b699d193e4834649b80d2c0dd2ed35496bfef798371f7794e58d445aeeafcc3e4aef50d4dc6e17347b04ae82b4f3b7778a1a5e419daf SHA512 c638903cb3afff4867dbee7295e387f5ce91d9d3d9f37b28c103ead87883377a69fbccfce34850da5c77186ced0bb56f5dc5f4549e84871d10a9134c731d4c36
DIST boto3-1.36.7.gh.tar.gz 894133 BLAKE2B b4e8e52e02528d0268b40d430ff32068a74764bfb3028e7c533a28e51ed7c5f1bad6742b5bbb07caf20d3a3daaf58647ca6ee4557f8d55b562604ee47c9aa9f0 SHA512 2b525e9b73b9b7b4934383ebeb4aef629eeef546637b0bf69b5c4a0c8ed0c70241e0df799105952e51fe28880ee9a035f57dcd0b6445775bdc36283f076bfa9b
+DIST boto3-1.36.8.gh.tar.gz 894929 BLAKE2B 7c848e09f550c7268303f48537079d8b557c5b685c1fd4097605ef039686f1191dcc253eb442d6f9dc77b623bfe402e7dc81906b9f46004dadea99ba9f326afe SHA512 e3d2fc7e3003ba7107b5430ae61962d61d8c0c7957f2654212683af39970b489cf57121392d1ffac4d44672818884e9fe01a077296586d64cafe2d18b2b96ae4
diff --git a/dev-python/boto3/boto3-1.36.8.ebuild b/dev-python/boto3/boto3-1.36.8.ebuild
new file mode 100644
index 000000000000..b087a88814e8
--- /dev/null
+++ b/dev-python/boto3/boto3-1.36.8.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}
+}