commit: 01587cf56d434972978810979d635539a46ec071 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Feb 23 05:13:10 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Feb 23 06:12:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01587cf5
dev-python/botocore: Bump to 1.29.77 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.29.77.ebuild | 74 +++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 9bb9e19d37fe..019354aefb20 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,3 +2,4 @@ DIST botocore-1.29.69.gh.tar.gz 11140109 BLAKE2B 5a91e6d425f4a5f424f95fd9bcd893c DIST botocore-1.29.74.gh.tar.gz 11153254 BLAKE2B b3d3b75643cd5e3fac54a09e971daa23a043ba9f7ab773c2fd57dc15417c1b30c6f503515bad8734332bc40c4210e4ac09566c0742649c6ac3592e81ae9f8d79 SHA512 944ebbf1268fa9e8bb68ce5960da347613bcab585bf54c2fd6dbecb499088c1dc426357cde0a0f0d1780ecbc06acc33d8587f37c7f3d13577283b4549a353406 DIST botocore-1.29.75.gh.tar.gz 11152953 BLAKE2B 69c9c520f1caa97d931bc535261e14fb07ca1cd8ae5ba8edcb25eceb97c2dc367bf93de7aa19f87c042c69ece36a87efddb5b7495790ab5d6c6ca48bc99f7d2d SHA512 9778771373b675f6d6f0df04311b3b9bc53268a4628e0cb88737e70346a3a18efdca3a6d3325e2b99bcf0054d5486000fb28d3ed64cad181f8df80d2a692f24b DIST botocore-1.29.76.gh.tar.gz 11172494 BLAKE2B 7ed171f64b17920fe6492faa1422a5d82852697e4480c4e1c5536450c2671e57ee763f9b507e9ff5edff85a02553ccd94687095bbf7a4635553a3770f9c26b06 SHA512 0a22fb2629f604ef4bb4c02e6ac5f87986724d484e6d13966dae2800f989f598d82f0904473f4ac6fa2bb9e9a9572c15fb309f9ababdbea334ae8d5d4bd73287 +DIST botocore-1.29.77.gh.tar.gz 11175009 BLAKE2B c67571941ee06c6dd25dfad203c86ae9de12ba8ff5948260c58ec1fa934714ce03c22833354acd116e32958d324fe2cbfbd53bb79dc378d0ec8a30a775036403 SHA512 86f377438d652380aea6028162ad2f64ccfc128a2239c99133a0a2818f0d7bb8bdb5e5772a5835e92e4b895a07cb67466124f713aea61f6ab2b4e4ac080a9c65 diff --git a/dev-python/botocore/botocore-1.29.77.ebuild b/dev-python/botocore/botocore-1.29.77.ebuild new file mode 100644 index 000000000000..0f4daaa48e81 --- /dev/null +++ b/dev-python/botocore/botocore-1.29.77.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 multiprocessing + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +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 + # fails on unrelated warnings + tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME + tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME + # TODO + tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +}