commit: f95bd3f1099088a3866fb9f2174c54dbd45a0e43
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 18 02:17:36 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Apr 18 03:11:01 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f95bd3f1
dev-python/botocore: Bump to 1.37.36
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/botocore/Manifest | 1 +
dev-python/botocore/botocore-1.37.36.ebuild | 67 +++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index ba8cc8f32a78..70ac839ebf3b 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -3,3 +3,4 @@ DIST botocore-1.37.28.gh.tar.gz 14529730 BLAKE2B
aa04a445d45d24ff7dad8553ce19676
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
+DIST botocore-1.37.36.gh.tar.gz 14561745 BLAKE2B
de5d3b1fd3e85f492ab6b33c46e099798cc989aa804ff28bef134a8ef0121161e45d7a3e85704a43d668d4a9480edad6b8afd702ddb878c42578a54b16c32680
SHA512
a5d943c74235b8b3fbd2751022508355535d92ada234d68ea18cf55dc47eed6a411ba685629e2d74880773a837de73fbd34fe25cdef273cacf2f31365da710a6
diff --git a/dev-python/botocore/botocore-1.37.36.ebuild
b/dev-python/botocore/botocore-1.37.36.ebuild
new file mode 100644
index 000000000000..9e1580d45581
--- /dev/null
+++ b/dev-python/botocore/botocore-1.37.36.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}
+}