diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index db251337ba479..3bee8c7f5da66 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -10,3 +10,4 @@ DIST botocore-1.43.63.gh.tar.gz 16828484 BLAKE2B 30b3a8ab2bbe38fd21386302b02bd64 DIST botocore-1.43.64.gh.tar.gz 16850545 BLAKE2B f68420ac2186f84eff4cf061d42e245cabee5a71c52d4db2db8508b538c91ec9132853eda5902591629792835bc916bab0de681b18bb60f2b8a845976b6d6db2 SHA512 9d6fe4406e550e17eeb996b7d98c3682aab7bc1ee5ad35185f89ee877aa3a472cfdebd05b0e827efcf2a30ead49f3dba7a3d5216a100121512b514f46ddd5b27 DIST botocore-1.43.65.gh.tar.gz 16853127 BLAKE2B a5d77b68d00009e62e2b2d6bc94e1da27cebcd37e3e568d8038b6580b69de507356fc19191ec7e664fa9e5a5ca83cc3747b7caba8ec20379bc732546d8ad9d26 SHA512 d0fea090db943f189e0306e49766b6c634a5d2717e7e3ecd35b68b2055a0fa4d92e2dc64285fd8e5c8c032b41c98712063a5868f1e9892371dece596aef2575c DIST botocore-1.43.66.gh.tar.gz 16888907 BLAKE2B d20584048aa1d95001f2340d0fa905aad213579defaeaeaafcb454b8f26654d1642678cef08352c6cf6199c78faafc29ba25e7fd6b1f0c9ba9b6cdd94bb94e7b SHA512 ee402c873f5fe38207c3f929ac49ca7f7eb083a200ccc8f1ef47984c2d51c5cc922cb15580df31ac92132c21b81f7ae4d6ae1515d6944b0541a311114f2ad6ba +DIST botocore-1.43.67.gh.tar.gz 16899850 BLAKE2B 43e61cd178f6bb6d3d8337b1220a13e529c23625d20afb14746b7e4594081dfc756b7eb0b9a01c051d29eda33ab260efe4eab92d71a9fe520453bd9f3184ff30 SHA512 ae3568397cb9845a9002dfe40dd6d9b205f2a204edabdb78814b77aed2c7b79758009745ae181b0b3982e90ee3ad329fa85f32438ead4ea6936aa6c9082b5e49 diff --git a/dev-python/botocore/botocore-1.43.67.ebuild b/dev-python/botocore/botocore-1.43.67.ebuild new file mode 100644 index 0000000000000..1714d2dfdc7fa --- /dev/null +++ b/dev-python/botocore/botocore-1.43.67.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{12..15} ) + +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" + +RDEPEND=" + =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_PLUGINS=() +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 + ) + + epytest tests/{functional,unit} +}