diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 426e504fcf509..f058d53c86056 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -6,3 +6,4 @@ DIST botocore-1.42.88.gh.tar.gz 16115557 BLAKE2B cb2470ce6d16bb0e91d6976b84899ee DIST botocore-1.42.91.gh.tar.gz 16138871 BLAKE2B b5090d9707e20d83bdcc2757f13f6555a2fe50bc10361c8bbea9fba5fe09183ac588700864fec9677ba0bc84d85337c0b2a5f8d38ab0a832068dd1292000ee95 SHA512 5c96771c9170476817b3c4fc8e4201123389867015285c14a6db09856f2a5f9b9110523cf3a757fa2182fe726e99c549871b62a2ce3dc80d6b8abf703f0103cb DIST botocore-1.42.96.gh.tar.gz 16190988 BLAKE2B c63dbf335904dd9fd56d2881428fab2500ef36104fee2f979fb8394860eb30743022db17ffaabfe14bb896bed2b03728e32f0d0f8e7e6f1979abefb171f87a7c SHA512 d3f55cb1c05cb587b89f83eb3ca58fc002d67187e958deb25d8bd571bac89802e63231da4e6b9261616003e6cb3972291697141ad4208cec76ce39769aa81fc4 DIST botocore-1.42.97.gh.tar.gz 16197069 BLAKE2B c907476ae52d71e8dc63c7074a2b603a92823e94a31fc3a71739dcd0c6e73854bb1149eada875859ead93ca38873c3890e1c524799ac3173ea3e124cc436583b SHA512 7b9d576340fcc3d830015b2b1e895970e58afeb98796da53ce7353c78532f5661f6c4222d6f935cbd9363277c04a5be3fbac5554fa0f6c48742d1d52fafc868f +DIST botocore-1.43.0.gh.tar.gz 16218774 BLAKE2B e98285e4e8920fe91163113fe45414e858a3fd9f907f4a2fdba4c2e1583214400f40e34259517da9c6640acd2742108fb9a34b5f2f6dc93170cc799cadd61995 SHA512 fa9f9af62657dd2be034725018f221cc6ab120df21ee438564c3e12690a59290d31b24921e1fe429c2cc22ca662bbc69f4b493e09213afecb52be04a0581b05f diff --git a/dev-python/botocore/botocore-1.43.0.ebuild b/dev-python/botocore/botocore-1.43.0.ebuild new file mode 100644 index 0000000000000..d43f8b5c5f238 --- /dev/null +++ b/dev-python/botocore/botocore-1.43.0.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_{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" + +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} +}