commit: af81fbfe93ebe2389e78a73b77795cbc68b3b0e7 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri May 30 00:51:29 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri May 30 00:51:29 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af81fbfe
dev-python/botocore: Bump to 1.38.26 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.38.26.ebuild | 75 +++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 08cd17f9ccec..501812c1f655 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,3 +3,4 @@ DIST botocore-1.38.18.gh.tar.gz 14648125 BLAKE2B b77da532e815f8cc270b78c5bfab8a9 DIST botocore-1.38.23.gh.tar.gz 14649388 BLAKE2B d60b5e5d7fb445f332eed57f3317d3add82dd2123ab4199dc934a9a4d68c2b91947a9e50e3847da4bed06aac402542f2bbe4ea92bd47d72de86be3f8f5571b2f SHA512 d602d19c9160d10aeb06aae911052da50dd66ef0f43e459d5911bed24acba5ac948781f1e8f6f43b377847670f2d074e044f454b043ba33859fc0ca0ba67976a DIST botocore-1.38.24.gh.tar.gz 14651552 BLAKE2B e4011257f1f1409446ad89d7ec332927c41d0d427d60ca7f9317ad57ba8cbd54448a3e4ee028533af7c2551dbcfe188f3c50e9a6fd33c18388671e5e969674f4 SHA512 5284444300ec18450ca2100b60f49877757ee0ca5fa3f4eeb865c02cf08a328113e5fa8491119afc65b86342f32e59215b75cf052c008650d8003b90ea6e3ca1 DIST botocore-1.38.25.gh.tar.gz 14659871 BLAKE2B 1450fac6d5dd5757f3ecfc2d4c564202b5da262d6001afdd412f48583b03a42a7acd70903fd8fc7543b7cd0caba382049964fb566628ea67022cbe7b03aa1599 SHA512 c32a9b2a9c693e8ff365ed3070952ffbcbe038b159942d879924fc22f8c81a9e268cde5e60c77f4188e4aaf4439a7fcd486c7b645c2c1a882827052689594781 +DIST botocore-1.38.26.gh.tar.gz 14664354 BLAKE2B c65c32f19cae3002130199e55ace2d5780c9f3fbea352ce361380595f7d9241bf5e9977b91431e33c27326b95d1bee51d8b1c902f10351170926a294c8fceb81 SHA512 c5fe100e0d59f16d389be081829e9c01d6a674d447d2fe3803e1a68f52bfe5683454a7f466703599f03bd805875332db22df4733b3cac3871ff9e15bf22b3701 diff --git a/dev-python/botocore/botocore-1.38.26.ebuild b/dev-python/botocore/botocore-1.38.26.ebuild new file mode 100644 index 000000000000..535354aa3035 --- /dev/null +++ b/dev-python/botocore/botocore-1.38.26.ebuild @@ -0,0 +1,75 @@ +# 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_{11..14} ) + +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 + ) + + case ${EPYTHON} in + python3.14) + EPYTEST_DESELECT+=( + tests/unit/test_utils.py::test_lru_cache_weakref + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +}