commit: a4c53686069965176b731f47116c404be261fc83 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Jan 30 03:27:38 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Jan 30 04:10:30 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4c53686
dev-python/botocore: Bump to 1.36.9 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.36.9.ebuild | 67 ++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index f868fd81d8c5..2fadb0d6c8bc 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,3 +3,4 @@ DIST botocore-1.36.2.gh.tar.gz 14197789 BLAKE2B 21441cd52052d117ce05e425c13f3494 DIST botocore-1.36.6.gh.tar.gz 14173329 BLAKE2B 1eea293adad312439f2c60e0f73f721fa207439af2918fb5db98304a565e44d33f953f517e5526e865cbf58751892be4a6cc275545f295638109ee4051d2a276 SHA512 bcd1077bfeb5709e8c6224560f7974d70a884310539b531f520b20446aeaf3aa5d9aba6cbd19d75526d34dd7ab68be578f5ece7bddf7986997f9f5bbd5cee905 DIST botocore-1.36.7.gh.tar.gz 14176309 BLAKE2B 5ec7df33c49242dd2b1069261db0090703689c7b8be613225fae4cee2e1046d8d6884842c53482d31915c00f59323414d3e09cc7cc1b9e0e0a898c9a8c1a52ff SHA512 7de8921b70e9b068f087c7bd3b31b6c246a044a0389d1ba727ab423a2406f756fd42209f4403a79d381a5fcbc90737f91bf936386136ddaea6fb6730ef08b993 DIST botocore-1.36.8.gh.tar.gz 14184344 BLAKE2B 6df84c80521d047d560b462a2d85b5111c20c07432f21080aebc46f4c836852825d199d442f61e497e4503f9527bde74850987b5c04102d13225f31521a206c7 SHA512 d206c1ff90b7a4dde2e23de7b4f2764991375b48c81344119d24f045cbfde6bcded3cd5c7853139b40584fafbb3a3936f79a2728efbfab79dc6b8783bfe07669 +DIST botocore-1.36.9.gh.tar.gz 14187911 BLAKE2B 2323aed97f901249dd381cc9f4bb7c4adfeb5876f25a3a5829e7b8ccb5aceb5fa4b1a5209cbbd232e6d5c7e6ae6c2e58870b0d0a023792efab751e64a62cc05f SHA512 a2bc29dbb2360ee949f33b5888c7ddec86d0f0180d656bac061087d4687876e4ef73abe17183703a3f0c856062bd6e4870c4102c4b94390233b170170b394181 diff --git a/dev-python/botocore/botocore-1.36.9.ebuild b/dev-python/botocore/botocore-1.36.9.ebuild new file mode 100644 index 000000000000..9e1580d45581 --- /dev/null +++ b/dev-python/botocore/botocore-1.36.9.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} +}