summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-04-05 08:43:41 +0200
committerMichał Górny <mgorny@gentoo.org>2025-04-05 09:11:23 +0200
commita094e3c4d4ed59358d8aa561b3c87a9606217875 (patch)
treebc60c0bb0bc61bdcc6b7bf56701fd80c45f581a9 /dev-python
parent501827b56898fd47532754c9beee151c5f03c351 (diff)
downloadgentoo-a094e3c4d4ed59358d8aa561b3c87a9606217875.tar.gz
gentoo-a094e3c4d4ed59358d8aa561b3c87a9606217875.tar.bz2
gentoo-a094e3c4d4ed59358d8aa561b3c87a9606217875.zip
dev-python/boto3: Bump to 1.37.28
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.37.28.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 5fafd33d69e0..33353fc44f60 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -8,4 +8,5 @@ DIST boto3-1.37.23.gh.tar.gz 920294 BLAKE2B c1bfcb5dd8c883c122b530ac2756c77884d7
DIST boto3-1.37.24.gh.tar.gz 920927 BLAKE2B 420db6c337247d54992f094aecf0c1a08fd0c49c565d5b30d53d3111dc321828a09006734018f4487c633919bcf3d6ff1d073d1147c1498ba11ef7fba9f25dee SHA512 f4c6d8e8014f05b0fcc78d8d70940387f034de026674cc640ada7f2eaf001f072f96ce4231b65a123efcf8a4051bcdc3c1ab67b2e14551d3c225279a341b9ad4
DIST boto3-1.37.25.gh.tar.gz 920853 BLAKE2B f1ef1df964b0fc8d1b3072d7c26c8737f52556745152b055940355f62ca578a2fa99110d9aaacaef6ca7173466953a4f9e9d4d1ea248cc896ac17cdde92b9fef SHA512 eda2476087dd106549ef51e83785def18bcee070c3cd03a7fca54b63d404c363aa9bf26b85760b9ac7dffc3ff51bbaf947d8e6f8e33ea5fc617a74059109e597
DIST boto3-1.37.26.gh.tar.gz 921345 BLAKE2B 50b79e4a2df074174e5559d0fe4add434af4aa15784ad9b439145f32dfd86371dc80c9ec5dd57d31b200fba6d8c8f7159259601f40149f02cf2f75065f70eeb8 SHA512 d184e919826c07d04502ce6de4ec0e670a086ed92b8d386965c2bb37ea27433fb9656db52b98b7e08e1f2d7cfc49bde589f0ad8a6c37ddf97e08999a9d86ecf6
+DIST boto3-1.37.28.gh.tar.gz 922848 BLAKE2B 134a4054d1142de5f63198f6fd97eef3dc5fe38523e688ccda56960200f2b1cd2ee862d95a275a13744844006e78584d1510850b2873da74d3ebdf53ceecd0a1 SHA512 f794769b083f52dd7e546758fec9a42dbf6fa8e09eef82a631b8d3b9dcb3b449aa85b7e72cb9a1f33c6bcaf89ef2bede4f771110e723efd98b47c9ab5c31c51f
DIST boto3-1.37.9.gh.tar.gz 911836 BLAKE2B d190525b9c5e39b445042aba6d8e57da5e49165775901ceebe44b76fd2780ec85a2f5a8a08d3a9a5e451d42bbae19b679e565a7a9acc663258ea0b7909a9a798 SHA512 12cba48d5f2c158b372eaf4e44903e22ca963e5712c3c463fbfd20626a771efe30530852b6c9ab70132a26472ff1b4656095675a5de37524f6b489c25175f8fe
diff --git a/dev-python/boto3/boto3-1.37.28.ebuild b/dev-python/boto3/boto3-1.37.28.ebuild
new file mode 100644
index 000000000000..b087a88814e8
--- /dev/null
+++ b/dev-python/boto3/boto3-1.37.28.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}
+}