commit: 3dd4e82633bb3dbc533e4bb45979667cb62a51a0
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 6 04:24:28 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul 6 05:29:16 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dd4e826
dev-python/boto3: Bump to 1.34.140
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.34.140.ebuild | 53 ++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index ae51df2b7c87..2396b2f04ad7 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -4,3 +4,4 @@ DIST boto3-1.34.136.gh.tar.gz 826543 BLAKE2B
307705ba777d155772a2dafad775e55d94e
DIST boto3-1.34.137.gh.tar.gz 827294 BLAKE2B
ba4f008114e02f40c5e4ac095241c7dac2b919e1dbe7ffaacc9ab40b3d2a97a12ace2b27359190b20cf2f2c1dcc66044188f15ed12177b002a54537a692b0203
SHA512
7303b32359080f360a95e0fb068ca1e7b83fe54a5f553f6681df3382bd110c70927138e435afc8eb8e93760c9bd685afa7355e661243e6b7f91cd8e8063d401c
DIST boto3-1.34.138.gh.tar.gz 827512 BLAKE2B
d8022cb470f2f68bf16dd179fb348b3419a4fc7dd2095816916619dc314809db6a2385e86b83ff552609a4cb6285369d806debac20887cefa69b113cd0385552
SHA512
9e12dd97ffd1f15cdb527219184bef8dff012bd9b11214f566fd98a82b37e6ee9699b05de62eb48393ff551089d683143373cbef167ca7e35e64851894fb3fe1
DIST boto3-1.34.139.gh.tar.gz 828069 BLAKE2B
71abb24a57f173a4136e8334fa2db9f2b5d92d2e154141da122575869e0b40bbe1f8ee893a8b8735ce8f6d2c7457334c5e08ead983a01516d591d594528c4cdb
SHA512
bc3ca92551ffa9d2400341982b670b70ccbd539539fd86d6ec88091606504ad74247103ef9677d45023f4e2f9d737878c55313c28f08299d24b06701eb221ced
+DIST boto3-1.34.140.gh.tar.gz 828290 BLAKE2B
129c0f791ddc07f90d2b9ae2972839a0bcaa393e3a8f843a9bca9ebf699f36290b95d17c3f906f49ae5c9ee8cd15c5de7f9de96572573f12d40c7ada778c7679
SHA512
b052ac336e68577140017b5a45f1787eec985e42d86e25cdafc15c6eadf8652b75bb006cf86ce0a3e0d9f3b657ae2afee41a75f624fb5e277a49f1653a83f64f
diff --git a/dev-python/boto3/boto3-1.34.140.ebuild
b/dev-python/boto3/boto3-1.34.140.ebuild
new file mode 100644
index 000000000000..2c733040b7a3
--- /dev/null
+++ b/dev-python/boto3/boto3-1.34.140.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+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 ~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.10.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}
+}