summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-12-12 04:24:43 +0100
committerMichał Górny <mgorny@gentoo.org>2025-12-12 05:37:16 +0100
commitc9868767a045c14cfdfb7a3bf1054b95a43f8456 (patch)
tree12bddd5e5f558dbebb8988fc62a07aaac8129353 /dev-python
parentb0dc699fc6463636c71409bac1b5691fc52b1db8 (diff)
downloadgentoo-c9868767a045c14cfdfb7a3bf1054b95a43f8456.tar.gz
gentoo-c9868767a045c14cfdfb7a3bf1054b95a43f8456.tar.bz2
gentoo-c9868767a045c14cfdfb7a3bf1054b95a43f8456.zip
dev-python/boto3: Bump to 1.42.8
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.42.8.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 723e98d8a011..207359969d42 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -11,3 +11,4 @@ DIST boto3-1.42.4.gh.tar.gz 1055570 BLAKE2B a9990bb04ce59111c6371536692c6e4d5440
DIST boto3-1.42.5.gh.tar.gz 1057615 BLAKE2B 1d2cb3efd01c9608830cf9e5f4fb7b426a9ece3b08050480852695b3b7e6c8dead02c62533cc223b88fe1c7ef4f6ee4e7d829eac7c33047255182fe95eec61e2 SHA512 321931a4f84bd2cc3a7ce467d946c4999c2857e812b60b9b89b389b821f68a522566ede94d31d11e9863e33fa4fb42711988b0bc6300bc6d06ed69aa364fb7e7
DIST boto3-1.42.6.gh.tar.gz 1058037 BLAKE2B 9ad44a815de09f8b557d976d1d17af6545ae4096556481f27ad00c420574ca81fe9f2ec92e0e09e9ee1d73716eb9e70e288adce3e52f874f9572c93e822c8e1a SHA512 881213ca70e26f342f5cda51cf02efae371b862bb639d25be6de45326f87c1fe5caebeb65ec2cb3ed86a50af3432a811d67a728ccc31b9f75ce9da9f93e76702
DIST boto3-1.42.7.gh.tar.gz 1058806 BLAKE2B 82db9d5dbf74d1780399470661439bfd48253c1e869169e4a1f8024ddb1a6623089491a5a2eba2932c69dcf67003c0f2df8873940cc5e517b72428a398ec7113 SHA512 4d89d946660f7262bf81a2743fe328dd13867eca356fbb1d260bdef6f30a1286ce40b126bfbc0e4600ad9db901688b7b4a2430a79459dfb8a60126aeea4ee7e1
+DIST boto3-1.42.8.gh.tar.gz 1059203 BLAKE2B 76a2823f16b1200c16a9090b7760b844a0a00ed32b970985ab9b691f8c69730240b22ec1ca94adf7378e039b7479dd19a13b88988982e8ffe735e7f8ef645012 SHA512 846cbc8eecd5561ac5b204fdd59656fd3860b50534c2a5ab7f0268e6bd0591b463dbd582aa86d402ac49e2bb5a09613e67d15fab25fe8a21406f92efee467d6f
diff --git a/dev-python/boto3/boto3-1.42.8.ebuild b/dev-python/boto3/boto3-1.42.8.ebuild
new file mode 100644
index 000000000000..56b1da52789f
--- /dev/null
+++ b/dev-python/boto3/boto3-1.42.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_{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.16.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}
+}