From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 94DF315806E for ; Wed, 7 Jun 2023 04:40:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D0DD5E07EC; Wed, 7 Jun 2023 04:40:49 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B7342E07EC for ; Wed, 7 Jun 2023 04:40:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A0E5A340C76 for ; Wed, 7 Jun 2023 04:40:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E7474A5A for ; Wed, 7 Jun 2023 04:40:46 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1686112836.bc4be9d58fb376d19b4b9bb9790350e6fce3ff58.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/botocore/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/botocore/Manifest dev-python/botocore/botocore-1.29.148.ebuild X-VCS-Directories: dev-python/botocore/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: bc4be9d58fb376d19b4b9bb9790350e6fce3ff58 X-VCS-Branch: master Date: Wed, 7 Jun 2023 04:40:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6f4e7c52-0e81-466b-84dd-4ef54955f659 X-Archives-Hash: ecd98c7225da2b49702ea117b9927bb2 commit: bc4be9d58fb376d19b4b9bb9790350e6fce3ff58 Author: Michał Górny gentoo org> AuthorDate: Wed Jun 7 03:38:44 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jun 7 04:40:36 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc4be9d5 dev-python/botocore: Bump to 1.29.148 Signed-off-by: Michał Górny gentoo.org> dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.29.148.ebuild | 79 ++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 4ad59acbbef7..2b6f36968400 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,3 +2,4 @@ DIST botocore-1.29.137.gh.tar.gz 11508178 BLAKE2B 2f74fd2f3923672a4fcd501f1c5ba4 DIST botocore-1.29.142.gh.tar.gz 11528069 BLAKE2B 860a5ab68d26424702006b221e62e29cfe21ba93593be61e4ef7e89ab50c6afb4b305f2ef3b2d80fd428cf7791933e43b20e1d4934d330653290a7b2aa16f6c4 SHA512 f408175054095bdd3094dd789de333e4e669cee72fdbc5b03551fc006cbcda5cf69eaa6daa2eb3bf09b30524f50d4b7b334d7b18051e55eca12caa16529b41bf DIST botocore-1.29.146.gh.tar.gz 11553866 BLAKE2B 7b5b060480de459af9045be8724272fb876c8663b39b1a1ea3575cee83d233dc4e04735682f7eac9299ae0219a5995ddd3379d75c6d2e1bece565e2294b3cc23 SHA512 e786137deaac49fa9db7c8c4df1ff8be195dd400432fbb2e6a23608181161234fa5c3a81a293b4ae1133d1a40e0341b3a081f0d845672e8d0c604fdffc2bc1b5 DIST botocore-1.29.147.gh.tar.gz 11567478 BLAKE2B e5b8b83057cdb1aa8fd654aeedba326a3641adefd8ace5ce7724b5e780f81a773a4ea20a53a3d5bd2db25e687730b5949608a554f4b550204123aee46b7d2feb SHA512 a72a91dd440e1ef4a4a85044284a5201a277c0b3c2d0a30358c920ccb10b5caf0914b0ed3bf8207834e6acc604528d1512356cb4bd0bfdce9b38e39aa98c2296 +DIST botocore-1.29.148.gh.tar.gz 11587262 BLAKE2B ea2bcb115976e98b3f60ab8f7d49c7876bd1b3f188f51fd83f3cd5d86f57888f1a3cd127afea041424c2f6eaa16c0128848ee1805f5d789e0768886ac0e9e1c4 SHA512 8b02f5203be6e44f9002079532989ae6daecf0e1b6417f1f746d5846c37ec6e98d1fd01d7ecf58735fd27abed3cd74709a9dd9f624921ca58cea0a47c5915b85 diff --git a/dev-python/botocore/botocore-1.29.148.ebuild b/dev-python/botocore/botocore-1.29.148.ebuild new file mode 100644 index 000000000000..3ced99abe4ff --- /dev/null +++ b/dev-python/botocore/botocore-1.29.148.ebuild @@ -0,0 +1,79 @@ +# 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/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +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 + # urllib3-2 compatibility, mock relies on implementation details + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_no_response_from_server + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_returned + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_continue_sends_307 + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_expect_100_sends_connection_header + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_handles_expect_100_with_different_reason_phrase + tests/unit/test_awsrequest.py::TestAWSHTTPConnection::test_state_reset_on_connection_close + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +}