commit: 4c49b4deadb4497a3c41c06a2d74ce90adc8b598
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 17 03:56:12 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 17 04:31:52 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c49b4de
dev-python/botocore: Bump to 1.37.35
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/botocore/Manifest | 1 +
dev-python/botocore/botocore-1.37.35.ebuild | 67 +++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 032fa9f293a0..ba8cc8f32a78 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -2,3 +2,4 @@ DIST botocore-1.37.23.gh.tar.gz 14408721 BLAKE2B
6309e847210a3f7f916679078fba54a
DIST botocore-1.37.28.gh.tar.gz 14529730 BLAKE2B
aa04a445d45d24ff7dad8553ce19676fc73e6cd852b5ee41c3cc29039aa6b353399ce9e17b8081e21652fd2bb06b1f58822cf1143a0305256c78515f21d64fa9
SHA512
ea757146393a94faee45487d3b0b4ba0927f0d3a5a37349788a2e2a4d1b4950d027d47bc92c3eb021d2253ce80fc4399a5dbfca447382d6b68e49786951fa02f
DIST botocore-1.37.33.gh.tar.gz 14547041 BLAKE2B
65fc9cd205b582dd5b046670dec5708d16e638789edfa3c3c6126f404b83a150210d92bb108156540523b0ed30ad06b5ecaa832ed8c751b99ba49b8cc975e4cd
SHA512
e07480e100aa3b58831fb76f58d69e1ccea85c629ce9048909d51072d1b2a66ce10b65f97bfc0b82ba5235257035e85442b31b09a3fe4bbb2dfed7bcbeebfc37
DIST botocore-1.37.34.gh.tar.gz 14549837 BLAKE2B
bfa7b68de3bfd1d71396f55f8a7f75bbdf199a034662338e5f7bdb082de120da3a694d906402fce1ba38ac89d9a9857715028409a5d2ca082667f066170a606a
SHA512
6a5432b35430edd78a67279d3bb7864c1ee5cb9397a4c5f8a76b251ffa5a2f03c9b4710378f248e4a6fb99567d682dae7d011a9271b67c7d127240c90d1afcfd
+DIST botocore-1.37.35.gh.tar.gz 14551567 BLAKE2B
c12d36c1213a05eb1fc616a9b8823409a31df9c33f0f6c0eef4ffeb5c1086cb3e13dd5f1909159ba210dd85e9fd0dff5542aaf006aeefb7fa8b54e3593011252
SHA512
ec3536f9bdc48b9a6f9b21abeefa726bcec4b324591ecafd03dc676ccb3343d4d0e95c3b0b8b3659cf4e3ee73e01c8f680890317da1c756f167fa601e0a83c39
diff --git a/dev-python/botocore/botocore-1.37.35.ebuild
b/dev-python/botocore/botocore-1.37.35.ebuild
new file mode 100644
index 000000000000..9e1580d45581
--- /dev/null
+++ b/dev-python/botocore/botocore-1.37.35.ebuild
@@ -0,0 +1,67 @@
+# 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="Low-level, data-driven core of boto 3"
+HOMEPAGE="
+ https://github.com/boto/botocore/
+ https://pypi.org/project/botocore/
+"
+SRC_URI="
+ https://github.com/boto/botocore/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/jmespath-2[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
+"
+# unbundled packages
+RDEPEND+="
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+src_prepare() {
+ # unpin deps
+ sed -i -e "s:>=.*':':" setup.py || die
+
+ # unbundle deps
+ rm -r botocore/vendored || die
+ find -name '*.py' -exec sed -i \
+ -e 's:from botocore[.]vendored import:import:' \
+ -e 's:from botocore[.]vendored[.]:from :' \
+ {} + || die
+
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # rely on bundled six
+ tests/functional/test_six_imports.py::test_no_bare_six_imports
+ tests/functional/test_six_threading.py::test_six_thread_safety
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest tests/{functional,unit}
+}