commit:     d309fa86543d1e0ab643e7bba336feb6191ba55e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 24 04:59:10 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug 24 04:59:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d309fa86

dev-python/botocore: Bump to 1.35.5

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

 dev-python/botocore/Manifest               |  1 +
 dev-python/botocore/botocore-1.35.5.ebuild | 76 ++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 350cc01f128d..705a47280533 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -5,3 +5,4 @@ DIST botocore-1.35.1.gh.tar.gz 13301129 BLAKE2B 
70c99036e54331a63107c5c031cd32c5
 DIST botocore-1.35.2.gh.tar.gz 13303549 BLAKE2B 
a93f708264e5d4332d4a63b11e57ea9575913e09cd5e2f0a23d050625e185f985c56bdc2652f2362bbdd037a74d2229c3998185cc96ba468bf2669f2dac4d773
 SHA512 
7f2309967c6c18445d122164d84951e7d602253388967dcf517e3b6bebe3a262eb0473181ce9145aefefefc2e9456aac05b321ec1b59fa08c162fced85a7dfe2
 DIST botocore-1.35.3.gh.tar.gz 13297160 BLAKE2B 
930687ad4c327ab4aa964abf5b39729f766db5585e233d26635f02891c1e57f2c49ef3ee4029f4144757256f80038e196e02a5b98ebe4f344b78b8ecd38a52a1
 SHA512 
f65c211698d904db43605be3b979ab2c5a84219ae96cdd20ed0e044b9a6040cbb79a656c64c0396ba75cc5d7625255786596e629f4465088da0f5c143337199c
 DIST botocore-1.35.4.gh.tar.gz 13300517 BLAKE2B 
e965ae2b82f85f47b89cff92efe40970696f70ff0ddd5dc12722f933da71218a97e9a38cbf9d6c0f54fbbcb7f9068aeca6d1a2436f4e1b84c01ea28bd2cbd6c5
 SHA512 
d617a2ddc45a7e651f2983edf315ffa9ddbe37769e5c01953b5908f2c87f1167df966ece8fa7e649833dd3f3ea38a5f4ecf9a2b0a9f16103b311c73e4219b598
+DIST botocore-1.35.5.gh.tar.gz 13303437 BLAKE2B 
0a95351fbc93074bb0398871773120a194fe581a26f9a74c1101a5ea57bb3acb9a33937fc2d5a39a065988cdcc6dbe253bd2227cf93e670602ccc67ab82d8845
 SHA512 
5527420017a4a23d5593f5b3a0eb8caf15357642ed90cd73e0fe22774cc8f9f3637028286063e3e2810e5dafe52e882928269e5c82f6369be9af99bef18fb365

diff --git a/dev-python/botocore/botocore-1.35.5.ebuild 
b/dev-python/botocore/botocore-1.35.5.ebuild
new file mode 100644
index 000000000000..4f1ad852bdc1
--- /dev/null
+++ b/dev-python/botocore/botocore-1.35.5.ebuild
@@ -0,0 +1,76 @@
+# 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..13} )
+
+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
+       )
+
+       case ${EPYTHON} in
+               python3.13)
+                       EPYTEST_DESELECT+=(
+                               # memory use tests, probably fragile
+                               
tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory
+                       )
+                       ;;
+       esac
+
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest tests/{functional,unit}
+}

Reply via email to