diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 7c45bbcaa9d7..52e22d7a61c7 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -12,3 +12,4 @@ DIST botocore-1.40.36.gh.tar.gz 15147138 BLAKE2B 857c7632ff97bd7d75e56e4ac0347a3 DIST botocore-1.40.37.gh.tar.gz 15152557 BLAKE2B b0ed767f10514f099730e08ef6c858838c1f2f14c55a104b9210803a94761b20b0d5ca62e21a891382c77ebac1f654c25ae14389b97ec4d196894ddb6c81bfb1 SHA512 adbc792f180bb26c3aaf48c36d9e12978e7a74d23383b02b791128fc7d07c2114888020c39a8dc5c2918ad42ab658813f9836bee181dec20d85e9129c743834c DIST botocore-1.40.38.gh.tar.gz 15154440 BLAKE2B a43db5c4fc5998b4160f4f07a933a4157df833c65762bcf73fab6fdf9d44978d6c139bd0a3d6967640fb7114b3fa048f78aebd420f47c207b7af52cfd1bd4371 SHA512 681575e86ff0efc53008e160637c36c84197c4d043039b8cc42bb144b651bc1186c7183a96a02ac12ecf6cf184dd7cc30277af17e878b4b03be03df31d322a79 DIST botocore-1.40.39.gh.tar.gz 15154528 BLAKE2B d5f580048ede0cda636ca74a18fafe100e6c70ba690721e3c8c30d7abbd5a1641549e926a67780c082e192bb653e8d54cfa1c2189ad2a5fe2a835cfe88bb3d9a SHA512 5032f1e6903d62c89df28c15586595f478d679e54c47088dd715a2005cf91c7353620d7b572d073232a7f023d574f16ceb51cc4449038178ac6c5cc342c1df3b +DIST botocore-1.40.40.gh.tar.gz 15161555 BLAKE2B 099fc06007aedcb65b73de369b00d799ce7166f7ba4838a75abb2158f13dceade699b47eb5bff3cde48b7e5316eb12c2ba08ab22cf642bbaf26907454fe1e393 SHA512 4625752f7d2593a12451d257002dabc8ec3aa84267a1466a8e5e767878aae0bf875ae82d899fffc6b740ac957cd08fbd1baafdb4b82c2ebbaaf6f5d14db5eba6 diff --git a/dev-python/botocore/botocore-1.40.40.ebuild b/dev-python/botocore/botocore-1.40.40.ebuild new file mode 100644 index 000000000000..a931fcaefec4 --- /dev/null +++ b/dev-python/botocore/botocore-1.40.40.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} +}