commit:     1066650d9e4cee3467f3da78555b9280c3b0f015
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 13 03:28:57 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul 13 03:28:57 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1066650d

dev-python/botocore: Bump to 1.34.144

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 1242caea4734..11c180004e77 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -4,3 +4,4 @@ DIST botocore-1.34.140.gh.tar.gz 13156596 BLAKE2B 
4a264fe767c35dcc65ddbe1eb29529
 DIST botocore-1.34.141.gh.tar.gz 13177346 BLAKE2B 
f62ffb736687cb016d0aa3c00b74c8ffbddadc0f7e47bfed9087872f930fcb85a03da9c3f9c494f21a405afc7c0d5f8e9d50d7c3cefa9c1ea17a97d5f184feff
 SHA512 
91b0f6007e7f030f9ab0c83276884ea993cdaa1f395c51ff4ff3a43e4a8b6f80eed4a93f4f5248984f00b51a44cfe37d51cce70147ed5a578cc0e006c2d0b4dd
 DIST botocore-1.34.142.gh.tar.gz 13181218 BLAKE2B 
a8bb49e11e0b6a308462501fa578939089792ba1a838e601ff76b6271eec16f32bbb6d489dee474008108198e0ac48fb25438f79428fc4cba9d575f56bee8d52
 SHA512 
66ebf68e478a4c2b5be44f5784ef5b117d729ca53eb5754eb0eb2540555aad6f3e95e4007bdbe76173d43c35cb79f30c800fa152ce69977399d5821761fcca28
 DIST botocore-1.34.143.gh.tar.gz 13217274 BLAKE2B 
1dcc463aaff1733f7ba4fa3af27a91258da9862fec8ba8da00442ddc92003b27d0f4e655d04645dd778d62f1bffe1da8ad0e5da7ca6791d4109695bf52e51e11
 SHA512 
a63cdef39f7c91f0dc1bae19b6c063aa64e817e13c7c73fa95dcbbc0c5a3094974fec334d886a9ebb040128cab0f428b381e7e90f034f1321765818bf6329b17
+DIST botocore-1.34.144.gh.tar.gz 13221134 BLAKE2B 
9b688a781ad80f294c147ce4aacc31b59ad90369722a256b934610790682fbe54fcc18bded66d3151c24335dafdcc2eecaa293a30f6715aa69ded57efacd6540
 SHA512 
92d96253eb62b0425d3763cd9df7f5e944e780c5694b6bad03aa1671b65a5a786b54cad037479f2e227b86b2dd33da1a10db1da1ede857378a9f9783405bb288

diff --git a/dev-python/botocore/botocore-1.34.144.ebuild 
b/dev-python/botocore/botocore-1.34.144.ebuild
new file mode 100644
index 000000000000..4f1ad852bdc1
--- /dev/null
+++ b/dev-python/botocore/botocore-1.34.144.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