summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-05-23 04:33:19 +0200
committerMichał Górny <mgorny@gentoo.org>2025-05-23 05:29:40 +0200
commit7ea39861fbfefdcc881349cb98be85bdbabbfe91 (patch)
treeea2d61b1f2a726bf936b7e17278df266e2ce3be8 /dev-python
parent426ac190ac517a3f070883f6b90c9fa9024ba2b4 (diff)
downloadgentoo-7ea39861fbfefdcc881349cb98be85bdbabbfe91.tar.gz
gentoo-7ea39861fbfefdcc881349cb98be85bdbabbfe91.tar.bz2
gentoo-7ea39861fbfefdcc881349cb98be85bdbabbfe91.zip
dev-python/boto3: Bump to 1.38.22
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.38.22.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 1c0efda90abf..5d7fe44e8d2c 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -3,4 +3,5 @@ DIST boto3-1.38.18.gh.tar.gz 943830 BLAKE2B 2605415f7c48efd5322f6a514fb2cf7ede87
DIST boto3-1.38.19.gh.tar.gz 944143 BLAKE2B c9b38196a9207d3fc09c7239490665d422507ab407f62ba0de5dfb570f1543ab5963a6bf60b3342c923969bb3519c29cc33d718bbb9bb3f216ea8a2b6625f60e SHA512 57beda6650f6cac1a3067edf750257f12d729c0232e2af7bee0221f944c66cbdf993670da0fa23de789265361a2aadb198c670c52b72c789ff222418b8ea6309
DIST boto3-1.38.20.gh.tar.gz 944770 BLAKE2B 778e408520e141c2ef2d24ebaaa5b953a2ad699fdceeb72d026db30222a912f53c6a2d16ea088f3e3e598a38dbd8cf37330de2ba5c722e61b963a8a69137eb1e SHA512 3265784e043c85ab7cf7e99796c7540ce8306f6d021a929298b1bcd7fd8075589511ddb797204ffda049e0f40a4d78aa3664866b4e1aca5619c950b45feb1165
DIST boto3-1.38.21.gh.tar.gz 945368 BLAKE2B 6315c80867363cd55427e6b0a70c87a59ddb492de0c5f1033d31f143738c76f24b55308fb559017a42e38d5c6e3110ad2a3928c8d5a5eeb410cb1dc79a94716e SHA512 060fce9ece5c25411e2b5c299ed5d0139db0c7896299a49a5a787d424843a35fdf8135a2ae08b2e9a156c0d6eb8ece4fe364dac4c80cb4484359ef96b6d00c37
+DIST boto3-1.38.22.gh.tar.gz 945969 BLAKE2B d7b58973a218fc5af01cd9a05d219588358ad58095340483f130f023bdcb7abac79fc9a62f5a6118f96f8dcab5f8160ab465d7a89898073137bf9434c5ed9b65 SHA512 a389a680f6aa4a0a8c52120337eb44e71801510a69ff424e28a34e361c1e147cf3a1cb6c75531da906e95f0b70f36d49993edb39e42b17eb505ea4c389f9f743
DIST boto3-1.38.8.gh.tar.gz 937130 BLAKE2B 4158573a032957c33f62c6406937a45956f4ccf972be4a223e16a327b0b476402a1e7bf7d9b6a5b83005fc324f6c0062ed73008972cabed9247790225c4d4e5a SHA512 3c3854ed132ad4c81cd868848a370cdc73101ac3c578f8ae70bc53c9a98b1d85dcd364258027adef976b3c6d220aa45f865928c055c9320d3a268e0e29d5af63
diff --git a/dev-python/boto3/boto3-1.38.22.ebuild b/dev-python/boto3/boto3-1.38.22.ebuild
new file mode 100644
index 000000000000..87d2b29361a1
--- /dev/null
+++ b/dev-python/boto3/boto3-1.38.22.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..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.13.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}
+}