commit: 79761ac4b1d93d09e24fec61d22a4c1089ad55b3 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Apr 4 03:13:25 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Apr 4 03:57:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79761ac4
dev-python/botocore: Bump to 1.34.77 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.34.77.ebuild | 67 +++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index b6e5d5b32479..b1276fc42045 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,3 +3,4 @@ DIST botocore-1.34.69.gh.tar.gz 12790282 BLAKE2B 3d12eb5eb8e85777b43b3774e783c90 DIST botocore-1.34.74.gh.tar.gz 12820469 BLAKE2B e9d7a35e82aee30666952ea6f74d8d0f695efad2fd0da520b70fdd313cabf3aff6e67fa71543c630bcfb4b4f78f780321babaf118990d8136b79755beadd8a5a SHA512 f7d741bd86e249ae46a7f79828c8b63c66519f9ae203f1a14a17e126c22d9e3d94710f5f5992f057491d3f7e41c7ea180255e1f766dc3bdee96ddb2ac6e28312 DIST botocore-1.34.75.gh.tar.gz 12864283 BLAKE2B bc5a64b704e1ae4ceebfe65d748e2e904a151343fe4543ceea1955f8d06521b2f562ee75e0384d187c7fde9f7b5d79d5f02e323059ccd9ad332416deb27de066 SHA512 21847f64ce8f6cb6732f57de6f9d53b00b0ca0d669e6cac2b0edf1a3431c0d5081e6fd7c1c7cb6d664aec7fcb2d0d5b359a40a4abfda2767bbf27f43589eaed2 DIST botocore-1.34.76.gh.tar.gz 12868763 BLAKE2B f6a73414b8ae0dd6628dd55575809461919a2208b57633b34cf3de70712660053040a636d037fb65c4ff37a85ae48e048308935b9e3f8911397b5ba1cccd24bd SHA512 adccbd547f6ac73d1d55f51f9fb3ba8da6ad7ac5e34f3b5c8e50ebaf00893c87762ab44443a0420174816cf5c6ee9a5453cd84deac70b517e72eb5d58e595cb5 +DIST botocore-1.34.77.gh.tar.gz 12880716 BLAKE2B a4c1210921147003ca032a16eb2d67df23f7c0b8c5cdccb0eeee9e9adc93758e74560c3d5dc70bd16b69d281cceb62949f6c1c288cd2ee29e0d6b2ecbeb020bd SHA512 caf25f5958790e2b893a7378dfd55204d1dd332dfe346c1efec1d9158ef4aa53a3f214f4926380e424a921fa8561365236ff450ec3726bac054289d824c82c4d diff --git a/dev-python/botocore/botocore-1.34.77.ebuild b/dev-python/botocore/botocore-1.34.77.ebuild new file mode 100644 index 000000000000..ba6cd2a5d2a2 --- /dev/null +++ b/dev-python/botocore/botocore-1.34.77.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/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_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} +}