From c44c291b4abe88c6a0c34c6d02bb122e828a6f30 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 12 Apr 2024 04:43:22 +0200 Subject: dev-python/botocore: Bump to 1.34.83 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.34.83.ebuild | 67 +++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 dev-python/botocore/botocore-1.34.83.ebuild (limited to 'dev-python/botocore') diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 22ebb7344525..3729b31cf4d9 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,3 +4,4 @@ DIST botocore-1.34.79.gh.tar.gz 12882231 BLAKE2B 56d7d2a1046a164f4f64f375f608b86 DIST botocore-1.34.80.gh.tar.gz 12886772 BLAKE2B a77200c5fa28ec9f1a8d65aae08130906719bd530065407446084354e49962f1db22a0c5370d9634d916c563899f3886613a35c24fa2f02967bbf1d191d27b0e SHA512 b2b767f54426bd7cef6d49cdaa4e3d81a11a557e3364646b1cb738bc3f050172f08127c95bca00b170cf2758a71e1ef0f4273bfa7dda6f6dc05b252f73ac903f DIST botocore-1.34.81.gh.tar.gz 12888862 BLAKE2B 75394b63e4617da9e41801de96b4fa2e590add49e7697771e018ab0ca161dbc3eab95b4af98a1886e8d41419b9e3508727912082708e0197f676437cd19091ef SHA512 dba689f4fe6b32eeb4ef32b49217849a5b6624f8ce3bfeb0857f88b98f84c38d4f04b3ef4c5d3e613ed96117f433cb16562984f6d826149dbbed80230d54386b DIST botocore-1.34.82.gh.tar.gz 12892302 BLAKE2B d536197d6cd93e85d6e67bdf854a337c4fbf3702b699caf9b3d11553fd41b8de9f4cd10e410a1bcf27f20d2b83e19891afad1eebb064ba71d8779b1db7ee1de3 SHA512 5de261d295ad482ec13878fefc5775764345624eaf43fd0dc38d4419aa05a9d3a5f81ab1d1f09eeefaa70b5c87795dd8168105360005f2592ba7b6919bccfdb4 +DIST botocore-1.34.83.gh.tar.gz 12904330 BLAKE2B f088d973612c94548b7c32d2254ff9e69dc6c1a700074757db286c9e185140bb4e9619bd548f84da71390028af4352c5431925b32036dd20ffbc7754ade9977f SHA512 0c2ca2fea142f7b44b58ae6b55c0393f7650b4a689a4d8f1dd62f1bd6b3b2a3fec87a4a837c2f748527e7e221ef4ff8c90353cd245677bbcf844eb59d9ddb966 diff --git a/dev-python/botocore/botocore-1.34.83.ebuild b/dev-python/botocore/botocore-1.34.83.ebuild new file mode 100644 index 000000000000..ba6cd2a5d2a2 --- /dev/null +++ b/dev-python/botocore/botocore-1.34.83.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +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 ~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_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 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} -- cgit v1.2.3-65-gdbad