diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index ae632847ab778..a34573b7ca590 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -8,3 +8,4 @@ DIST botocore-1.40.75.gh.tar.gz 15307607 BLAKE2B 0529d1f62bb6ac6b730eceb4ed53961 DIST botocore-1.40.76.gh.tar.gz 15329738 BLAKE2B b52289d014878fe6f6ba8053ce84c77fd569819bc5f0b482a3aa1e9f543739e019ef35d530487e0bae33f80e45e302741ab4437e3f1841618fca59caf3d95b03 SHA512 4ce5c91ce346f5317ac0287913926743785388f31f746e05dc6751b3ee8e087382a4f140a46a4df83327e3c18f3f5c88d6e834abe24c35fcc810ba4ee23ec933 DIST botocore-1.41.0.gh.tar.gz 15418409 BLAKE2B 8f6e3de98b80ac158b9989d086ffd64cdc06a4c819864758ca9aa4ac5a97876dbd6fc3cef398602b02f0cbc1453ffd0cdd23f664e10fdb877cf318031f5908f9 SHA512 29da9fa5c4d2fc5c014010b6b186a1aff7c343de97ae905ae084c14046dea3135840ec579085f65072b57bb4a604127d660f97c67bbf89748982bdd856eab48f DIST botocore-1.41.1.gh.tar.gz 15457246 BLAKE2B 4729105ed3279d506664a5fc2eb89a4d01470ed6cb8dd685232c6d1bfb78b77a3bda7dff83f18d4750697789b5f094839ff95607efb23c52be33549db6f9b520 SHA512 f0c4ba8bd9db6e180d8a8248fd9090f82207e67194c0b7fd62cc1a28d3ba82ef61a5be98220a7138ebc8212a3ee5b72618f55b46f1a4ed2282d33576b1f12192 +DIST botocore-1.41.2.gh.tar.gz 15504253 BLAKE2B 3c3967e3876ec2529ed0fbd192594f963ebc75f27f196188456a3f4999187b92072224da7d0d91d3dba44c109a74eb35229062e61f161d30f5fad69fcd6097ae SHA512 47cbae2cd1c729fbe6ef55ef5ad6102f636dfb62dd4b4011ad8d163dfdd038d94201b49e48847fed4130e5523b0279b921eedcb94ee4611f42e6aa102bb3705f diff --git a/dev-python/botocore/botocore-1.41.2.ebuild b/dev-python/botocore/botocore-1.41.2.ebuild new file mode 100644 index 0000000000000..a931fcaefec4f --- /dev/null +++ b/dev-python/botocore/botocore-1.41.2.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_{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/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} +}