commit: 6e128cb84e6ae7b55ca2ce82b9b1a1c4b7281934 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Feb 21 04:23:37 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Feb 21 05:19:47 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e128cb8
dev-python/botocore: Bump to 1.36.25 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.36.25.ebuild | 67 +++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 6ca00875eaa4..737c701b9c2e 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,3 +4,4 @@ DIST botocore-1.36.21.gh.tar.gz 14227102 BLAKE2B 66948337c21be8024c64ad5daf35dd5 DIST botocore-1.36.22.gh.tar.gz 14276406 BLAKE2B 62385ded7bd21fd4d4d29446ddbb4eb977303a0aa07da1002d4c5a502929e325aac0b2a6ab0f45750ba47aaeb11c14eac7a816631968cad96aee15bb8ce2bb61 SHA512 a08dcbdcefe144f1f22dc58f906ca3600ceba13af697a7b3c1eab69ecf4da9b1b2b6458f70b144680026f0e7f1e0ffbd05f586acba97066ad82b2a735b4ac7a3 DIST botocore-1.36.23.gh.tar.gz 14276380 BLAKE2B dd3c8fc76e1b94c462c528965c53b6709c58ea20eee636794a88a78176f601150073de58eed668fc8a55a516fed7d903f1d629ca9266ecc50d76ca6c36543f2f SHA512 f4c56dfa09eafe2882b4d8d7356cc191e5268cd8661aeb57029f49cf046ad8a40375b7cf98f3390a7ba0ef1aca270444b5343d9320622a115bd6fc076d46f380 DIST botocore-1.36.24.gh.tar.gz 14280552 BLAKE2B 33e689485e3f8812856dc51087f92e270a51ef199399c9ea3fde8a10203c5b3952f9f6f63c354c46b7ba3dbe98d9e2abd879ab1194dd046eeec3fc18ab0e3fc7 SHA512 fe713d5a9cbb95c52984672d0ddf26915e7c08642aa5c8eb7ba745d540fb29bfff53e212596313b922716db129090802f0ab14a22529e0bdb4239ed6996ac5c7 +DIST botocore-1.36.25.gh.tar.gz 14280069 BLAKE2B 963dba9d04195fa5a7ad22b1ea6cda0b6bb062a684f5955520867be756b4ae5bc2d58e5c68f48d7702ddaa8389344783e1448374f442b4df995be64a5fe75c91 SHA512 e4a7339b7aed42beae687d780b8fac6bfe17615cf1c635ebd9575d8e1969ef2757eebeb666c71f89729067bb95a9d10bba22cb3d87e07dcf3abf71918f1294f1 diff --git a/dev-python/botocore/botocore-1.36.25.ebuild b/dev-python/botocore/botocore-1.36.25.ebuild new file mode 100644 index 000000000000..9e1580d45581 --- /dev/null +++ b/dev-python/botocore/botocore-1.36.25.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} +}