commit: 378ecb95d6d170cddef4721455c0636a7138f837
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 15 04:12:28 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov 15 04:59:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=378ecb95
dev-python/boto3: Bump to 1.35.62
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/boto3/Manifest | 1 +
dev-python/boto3/boto3-1.35.62.ebuild | 53 +++++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index cc7792e7d43e..588cc70e81d8 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -4,3 +4,4 @@ DIST boto3-1.35.57.gh.tar.gz 885077 BLAKE2B
4f3a29db5e76c706fbfd0afb3ec05d5518e6
DIST boto3-1.35.58.gh.tar.gz 885941 BLAKE2B
d561cf27dba3177789047cf8ac9cc3e5b7a669f26cae948c5d0c458464518eb16ea2525ef0b1c2118acaaeb348e7435947eca69f37d42affe3b3b8dfd199ddbc
SHA512
9988693c33dab2294f302e9e9434fd9c681fc43042ba6772a36d36df9ba60f5884eeecaa60a17e6087a07d35c9691ecb16ee3920c3859335817e49b5f97247ee
DIST boto3-1.35.59.gh.tar.gz 886122 BLAKE2B
2eb1378f810bada55c5c6c1a6c70c16c073ddc68d30850ff50b5f604dd15b386bcd0985b81b39fc79801f552eab7f289aaf4ca5377b958b2d28ad0b193e7886d
SHA512
ab771736bd88419d50bb11db36f7c308da4816222379d45dfa97557a3c3c43ffb9a9521bc92cf0a4dd2631d01c94f6f9c728517c02a9787e49d98dd860f7e128
DIST boto3-1.35.60.gh.tar.gz 888293 BLAKE2B
a6fac2065a5dfa70f99112f1ff0c98fcc429800a0a88fa011a78f7f8fbb609d27d879ce1a374d977c1bf5407cf2f7052c7560ce6531b4bdbf691ffd18c06d897
SHA512
bdec30b276c001f59d73180b536848466f585bbece2938632ebdbc9087bed59e6cedf4936192fe7a0c97cdbe132072a20d7cc92fc6a538fa4a1fc12baae16403
+DIST boto3-1.35.62.gh.tar.gz 890328 BLAKE2B
b0106a87e0cd1c25f9c5fccbc162343663f7251c3750c82207d78f4bf5ac597af0cd2b6636f638161a597f23e527c2f9c874398c1cecc9d0db8fed72bc03b72c
SHA512
e7e261e194e911d5ff7ab6d1dc3e517d66ab83a8671e0fb462f1ec8c191e28fe685146374a4549c3d7fc9426018c3518e7fd8dfaf91631003d405e569813d714
diff --git a/dev-python/boto3/boto3-1.35.62.ebuild
b/dev-python/boto3/boto3-1.35.62.ebuild
new file mode 100644
index 000000000000..8cba6d95740e
--- /dev/null
+++ b/dev-python/boto3/boto3-1.35.62.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..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 ~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}
+}