summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-08-01 03:40:13 +0200
committerMichał Górny <mgorny@gentoo.org>2025-08-01 03:40:13 +0200
commitf4c4a7bff82c8e8f92ad2e9eef67615ccf8a8f08 (patch)
treecc7bff5a2cfb9439a96eb9d189f52155b6ea3f4f /dev-python
parenta666159676a299ba2fa80d6a3d5e2a4bea839838 (diff)
downloadgentoo-f4c4a7bff82c8e8f92ad2e9eef67615ccf8a8f08.tar.gz
gentoo-f4c4a7bff82c8e8f92ad2e9eef67615ccf8a8f08.tar.bz2
gentoo-f4c4a7bff82c8e8f92ad2e9eef67615ccf8a8f08.zip
dev-python/boto3: Bump to 1.40.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/boto3/Manifest1
-rw-r--r--dev-python/boto3/boto3-1.40.0.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 72745d203007..ca32cd1639ab 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -4,3 +4,4 @@ DIST boto3-1.39.16.gh.tar.gz 975565 BLAKE2B 51900d220e88faa8176a537ceb719ad8acca
DIST boto3-1.39.17.gh.tar.gz 976076 BLAKE2B eb302d08b217d8bdd9e843ab1e9d007faf31f8cb48e0bd0b08912127357dd151fb27b1c0fab2992ba9258bb0024854a05e549e4051a4c6ae3a8e9ebb1bc81574 SHA512 6f4677a3c9c4fb290667a814b9c3be0e2a1726baecd48241c3e6a474c9d87d2c2260bbcdce70fd437bb8b94b49c6be8a1634a5a8bee0e2ad8617b2599c71e0f4
DIST boto3-1.39.4.gh.tar.gz 967954 BLAKE2B 5e63cfb5c2381605475c928c4aec6cf303b99ca13eb67377e5a283e07d0de35eb6846352976a854632e72c34477f964b32ffc8f0fc178d10d7e95df8d4a145cc SHA512 dbe389b4eb1e8ac1f425f34bb96c5baecc42acdc608bef7ddc31e1fbaa3baa6850504cb9513494a6ca782755ce9264fd0d794960eeb495678ef1cb3d2c85fe90
DIST boto3-1.39.9.gh.tar.gz 971951 BLAKE2B d77a87e3035a2797ff67d49c3df329836c51b305c72f8ce01445b668802aa1a529424e744ddd18e142cd35a0680be51383b56512dca115506a1a0f4860657b47 SHA512 c6df821d3558ca1d234a4a1dea231467c0935dff7c34e6eb01b067d4d2396024308f70218a621064b111359bc5197b191bc8f4a099bcfcc5f4d5bf174ba859b0
+DIST boto3-1.40.0.gh.tar.gz 977416 BLAKE2B d785097b8ea42f347cfebce306ed8728ccbec03622fe79f871c9075df97eae9df1abdd0cd475d20c28b20b26b65a0f78e9c248f689b6cce99e2178076be86327 SHA512 8cabeb99fc8679de98006a953390927ceacab402b4828b67dadaca3b605429b8e33cd718b4572e7a3a069cb9199b7bd65e5925a1b37ac810ec97300c5fbee4da
diff --git a/dev-python/boto3/boto3-1.40.0.ebuild b/dev-python/boto3/boto3-1.40.0.ebuild
new file mode 100644
index 000000000000..bd6e26787db4
--- /dev/null
+++ b/dev-python/boto3/boto3-1.40.0.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..14} )
+
+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_PLUGINS=()
+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() {
+ epytest tests/{functional,unit}
+}