commit: c1b8c091d0bdf9c239b121b94f5fe423897761c9 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Feb 11 06:06:18 2023 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Feb 11 06:06:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1b8c091
dev-python/botocore: Bump to 1.29.69 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.29.69.ebuild | 74 +++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 6d8a1205eac1..73f2281bc9b1 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -6,3 +6,4 @@ DIST botocore-1.29.65.gh.tar.gz 11138878 BLAKE2B 6757ec86d6c3428a345217cf4903c8a DIST botocore-1.29.66.gh.tar.gz 11139268 BLAKE2B c95ac52a4b0cf4cb407b0ed7452d1454f78ec48a9a4903b18f77fec223fde18dfa0507bfdd89a45428efdfd1cda19f48e881cb0fcae0e1afa9d05f33a2e43434 SHA512 27b0253ea7bd094adb7978207c82cc11460fecd301642ab831c9c7f7d960642bebedec8ac7f88af911b804ec3d085dffff01cccfedc0165f19be8e2154e7b7e4 DIST botocore-1.29.67.gh.tar.gz 11137715 BLAKE2B 584e7db3adc61dd96b05384e1572c68857e2c5e8c473ade147722ccf7691dc5bd59833e7a8ea4a46149b5acda0f159aca1ce9e67212f0f5c3378b65962752680 SHA512 44059a8cf95b47e11e51e7bff9ae9e9c014ff8cac414fa885b21d1e9b55b599038d3ea72930ae1f1799963297cf9ed545eceb7ed5cfec51a585468481e9e9919 DIST botocore-1.29.68.gh.tar.gz 11140752 BLAKE2B c95a8830dcf308e9228aedbd6e168ba86fc4690c355525d9417cf15bb87f387deba6a2b32d848e3ce5052654b3709063f94eff9694d1d9b7f564cf83c13f4e94 SHA512 fc311c555881b752b646d6e376b766c1a480ba20d675e999e7da198fcd1fcd44cd0744369ca5314a26b9f6bac0e274a050509ba6982f34bcf37df7fc6b0dbba6 +DIST botocore-1.29.69.gh.tar.gz 11140109 BLAKE2B 5a91e6d425f4a5f424f95fd9bcd893c06fd42eb2a34ae870a76f0a28ee59771a8e1759a8afa959592a0ae7537229d791805539125890d17d3f4a33bb0618e76d SHA512 30d538591b25aae82e93352f4eda2d76eda6d02604cdbe822cd5f7559cfa268e2245b5cfb8ba6875e5e3a35cad2bef7210bbe03276236871441515cdf6ff2ece diff --git a/dev-python/botocore/botocore-1.29.69.ebuild b/dev-python/botocore/botocore-1.29.69.ebuild new file mode 100644 index 000000000000..0f4daaa48e81 --- /dev/null +++ b/dev-python/botocore/botocore-1.29.69.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)" +}