commit:     c5d383af77347ad58565812bd973ac777dc3a186
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 10 02:59:27 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 10 04:40:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5d383af

dev-python/botocore: Bump to 1.29.151

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/botocore/Manifest                 |  1 +
 dev-python/botocore/botocore-1.29.151.ebuild | 79 ++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 8eefce659894..03989fbc8106 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -5,3 +5,4 @@ DIST botocore-1.29.147.gh.tar.gz 11567478 BLAKE2B 
e5b8b83057cdb1aa8fd654aeedba32
 DIST botocore-1.29.148.gh.tar.gz 11587262 BLAKE2B 
ea2bcb115976e98b3f60ab8f7d49c7876bd1b3f188f51fd83f3cd5d86f57888f1a3cd127afea041424c2f6eaa16c0128848ee1805f5d789e0768886ac0e9e1c4
 SHA512 
8b02f5203be6e44f9002079532989ae6daecf0e1b6417f1f746d5846c37ec6e98d1fd01d7ecf58735fd27abed3cd74709a9dd9f624921ca58cea0a47c5915b85
 DIST botocore-1.29.149.gh.tar.gz 11591822 BLAKE2B 
28a5e96640dbef7a71b238edd629f72657001d1db2df5863babf3fe3eb883b5692dd86ea4c56749e65447f54b533976ad92901bf34554ccbd249c5d68dce1594
 SHA512 
fe497eb87738bbf24d436e8814e52878de8fd8622472e1d002e47b85c5577e3a5912d9ffe9deb52831a9b4f143f602ef9c522e9ff7a9b5819277654886f93b8d
 DIST botocore-1.29.150.gh.tar.gz 11616689 BLAKE2B 
2055ece2bce288a01c9e00ab0ad848078036d8d18311ca5382c32d4d30f550229c21fb88ab14dc9408ca5008df307852affbd8d73c498f5ffc15d23477c05ac2
 SHA512 
388e61e4248f027b1278f7a18734368f56930bb392484d086e7b03b9261d734a7b6fb6dd698a3c9fcb2f4bad31e687f227fd6112864416541eefd9b40f77b591
+DIST botocore-1.29.151.gh.tar.gz 11618833 BLAKE2B 
cac8007e6177c029b97e288c244668657da6b20d3ea1b4e5b1b93e65bf7dec1206c5bccdc70094e14b02a3937a10f12868a3ea9b85cf6fbcb6e7a6c71155170a
 SHA512 
960a5a62e467a3057e89f1f7d2700b67a1aff442b85a7b89b7da6a403deb2d706e9d6297392ef74a5569d90cd3123fa0474d40f378f0756012d88665c0214aa4

diff --git a/dev-python/botocore/botocore-1.29.151.ebuild 
b/dev-python/botocore/botocore-1.29.151.ebuild
new file mode 100644
index 000000000000..3ced99abe4ff
--- /dev/null
+++ b/dev-python/botocore/botocore-1.29.151.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/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_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)"
+}

Reply via email to