diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-12-11 04:27:54 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-12-11 05:40:21 +0100 |
| commit | 806b7538887c03a089bd5ee82d62aa048e1bd179 (patch) | |
| tree | 93d82021b4b72463142823728435324592fa0b9d /dev-python/botocore | |
| parent | c46db9208a69558179000c8787189f53a4627d75 (diff) | |
| download | gentoo-806b7538887c03a089bd5ee82d62aa048e1bd179.tar.gz gentoo-806b7538887c03a089bd5ee82d62aa048e1bd179.tar.bz2 gentoo-806b7538887c03a089bd5ee82d62aa048e1bd179.zip | |
dev-python/botocore: Bump to 1.42.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/botocore')
| -rw-r--r-- | dev-python/botocore/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/botocore/botocore-1.42.7.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 2877a5e60cbc..2d2b17d20885 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -10,3 +10,4 @@ DIST botocore-1.42.3.gh.tar.gz 15700743 BLAKE2B d288896f8538dcb4e7589e641f8b2b0e DIST botocore-1.42.4.gh.tar.gz 15703399 BLAKE2B ffd1613284a8487fd2abf10f53fcdaa13746990f519e2bc511bd09daa2efdbbc03cd141f40d36c83dc8180229daddb3a064c6d5aae2bc14f46921f50edf0f528 SHA512 22bbda9f4bc36bd18802812c63d650b2267565c27e432f7105daaa2c85660d2e3786ee11837ce2affe6d130504f9a7bf5c9e7ea3be5699b5d32be3090fb71914 DIST botocore-1.42.5.gh.tar.gz 15709628 BLAKE2B 841886105cd9a47a473a8c75f54cbc539e999ab6d5850b5c3a5f0aec7de558e0e9566cb1041de98c8a73f6e176e2c0af53ff15f7d42508dfb77b928729b8193b SHA512 d280051a2130e5c62352aa1d43b81a9e7a0cdddc8df4739667f24a291302f1c06d21568792516488e3e654488475399cd3527351ee73d37a4a839a92819411c8 DIST botocore-1.42.6.gh.tar.gz 15711310 BLAKE2B ba3bdec59750cee81fc8fe83e692358f6f49d020bf3f2bc150ec7d5a531be02a8a088660c575d046016e3669528dd2f7d5ce27263a6814c46ca08c06fc8e4b9d SHA512 5d6ac44534fa107cda6bb69f64b1647b81ecd94de2314dbb53769a410939905e86899ccaf7b50be68948430044310c725ff16aa9df6f7e37bdde2314391a6370 +DIST botocore-1.42.7.gh.tar.gz 15712225 BLAKE2B f659dd137a5f1189c7b0ad686e22dcc193a9ab860315de992e4de8e6435fe2cb238404c9ebdc1b07b711220f18147eb0f7346d3739c9c010f367c9b67c5a093f SHA512 23da2f076caac1a52e5bad69f26c90963a0cd35d30913e27b14d6ed08dc236af098b733dec14a9de6e9995b2d333202418295d1c9b064246a0d8a33fb3dba497 diff --git a/dev-python/botocore/botocore-1.42.7.ebuild b/dev-python/botocore/botocore-1.42.7.ebuild new file mode 100644 index 000000000000..a931fcaefec4 --- /dev/null +++ b/dev-python/botocore/botocore-1.42.7.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/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_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} +} |
