From 06f4b48a4c8c26edf0c7d16d216f157876be0342 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 14 Mar 2026 06:18:17 +0100 Subject: [PATCH] dev-python/botocore: Bump to 1.42.68 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.42.68.ebuild | 67 +++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 dev-python/botocore/botocore-1.42.68.ebuild diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 3aee4625097aa..4f5e6fa85f163 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -12,3 +12,4 @@ DIST botocore-1.42.64.gh.tar.gz 15863756 BLAKE2B b6d3f2aa75d2ca4f8754c655088c0e0 DIST botocore-1.42.65.gh.tar.gz 15865779 BLAKE2B 5e4c7eca2ea3e676099e3e1e454f85456363ebe7d4e0b6b7321d5576fe65d50321ba91e38a4a12dff90ab5241c51b5afe134471778ce541ccb54e79301fcf458 SHA512 f92cbb35c3fa58719968a607f0b28835529b86a6405c8c7af0d143a3c6e19d9eb5e77e3eef9bb74d013f16bb42479f24050af03f3c4e2a4f48e1b299d608189a DIST botocore-1.42.66.gh.tar.gz 15874309 BLAKE2B f6ea16293607c78ef0db6ef1817a626dedb2f6da84a8c9f59ddd958022786ab26feed175928edd2fee1121f96f9aa0eb1e608d6bf9a48624c402891ac37881f3 SHA512 a4b0585e56fbf374be6e7ac34a1e8a1767f676614016e6af0e46a0502f5a20a5032e3b2b48c960028905ddfb58d5459a61c7dc6b7223d16e1b0d1d4769135fee DIST botocore-1.42.67.gh.tar.gz 15876655 BLAKE2B 52a79deb98a30a320c2273d89ae9d335bcce3e42c77f5a69ed49ecdcf2aa56a1d287af2e65ba9f99753171d87711438430d3c923d65810355370e55cc791f19b SHA512 c2ee32a8b8e7b489c95ed29730f1dd375e331672919af22a28e630b06e4a0b1d000fffa91cab3422bfcf0b6b8d036bea398083d4d899b4ccb4042bd91fc3aa0f +DIST botocore-1.42.68.gh.tar.gz 15892102 BLAKE2B aabd9e28196516919779fbfedfd1b05bb515096dc810a0449dfa3c8668d975ed88eadbdd06dac1054b2b4ba403a960f10753531fed68e50031c13f00e03e0a7f SHA512 263ae479e54e63a7b15fa1611c8551de9e08df3c0d10dacf4a306c08a064dcb68a24185d767ce061781cf83b6ccc7e9d1743258d2fddb74421299a4d4f96a999 diff --git a/dev-python/botocore/botocore-1.42.68.ebuild b/dev-python/botocore/botocore-1.42.68.ebuild new file mode 100644 index 0000000000000..d43f8b5c5f238 --- /dev/null +++ b/dev-python/botocore/botocore-1.42.68.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} +}