commit: c1eb21bd114af95e25c8117c900bb7ad8bd1d9eb Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Feb 19 05:51:30 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Feb 19 07:56:20 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1eb21bd
dev-python/botocore: Bump to 1.36.23 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.36.23.ebuild | 67 +++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index c32d6813b86f..efc23a5bb4e6 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,3 +2,4 @@ DIST botocore-1.36.11.gh.tar.gz 14197086 BLAKE2B 471c4d4d8433c5ce577b76e3dc70e9c DIST botocore-1.36.16.gh.tar.gz 14211411 BLAKE2B 88ea5860e628985d7643acc430b62ed1a57c0c6a05081e156630bf4090aaf00fa18efd39f3d7914d2eab97b3cb1ac5d355714ccc1a6af3f2e1bec2a6b067e608 SHA512 7c1f66b7835df3fb5fef726762d09eecfc7b1c3cad5df7f6e1d1ec90fd1d7f505243d92c6c4184b0dc15b541c9e3d14d07cc91ce317655d98ad9d74f289e72e6 DIST botocore-1.36.21.gh.tar.gz 14227102 BLAKE2B 66948337c21be8024c64ad5daf35dd5f04493c2f83b4873f6040faf1231d4b491ca6714f96756527b4b0b3ab8d2047cfc5a24188c78d5540b8a9ac8c22a009ee SHA512 3f370bcf80faefc54cfa4fb2e342c58a48bcc529247128571892b5c7c4c0ba74b5a184539a7fb2e85faf9e542698846f991120cc47f40e9aa61f2785b7aa7290 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 diff --git a/dev-python/botocore/botocore-1.36.23.ebuild b/dev-python/botocore/botocore-1.36.23.ebuild new file mode 100644 index 000000000000..9e1580d45581 --- /dev/null +++ b/dev-python/botocore/botocore-1.36.23.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} +}