commit:     edc7f4762205589a99fb0df287bcc7903aafbcda
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 29 04:06:51 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 29 04:36:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edc7f476

dev-python/botocore: Bump to 1.34.73

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

 dev-python/botocore/Manifest                |  1 +
 dev-python/botocore/botocore-1.34.73.ebuild | 67 +++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index c5e5ead81f24..0790d5253c42 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -4,3 +4,4 @@ DIST botocore-1.34.69.gh.tar.gz 12790282 BLAKE2B 
3d12eb5eb8e85777b43b3774e783c90
 DIST botocore-1.34.70.gh.tar.gz 12794510 BLAKE2B 
066c560474c32cf8f7fb0b3b1199ee34b57a97684643fdfe2d2c828dd4680dfe4d279fc480bc1b6fcd0694b51335ec167b380a0f9e30fb47f04a3cd045f27323
 SHA512 
1d3e61891a178ff3b2585e366c1741d8412e8fc2060e2b56fe35ab2c0872933a176bb8efdd18c428c59cbf017db809f9d74eb36c4a8cb9edf4d0bd2edc1ae026
 DIST botocore-1.34.71.gh.tar.gz 12795892 BLAKE2B 
6047152353feb3321d4a5f7fa52baa0635ec1e25fb24c6b92f74615826c7955fd2f02a1b4ce274e6a0fca07233a3611da398364ef896547504b9dadadca6fa08
 SHA512 
13d8730b4018c63f42cf8ab4d885cee71b8d9126346aa6bfda9007380edf5bebe983b2e55c4c75c9e59d09a5c0dd9a22ffbabd94a11ccfc6ad920f962b729575
 DIST botocore-1.34.72.gh.tar.gz 12804351 BLAKE2B 
8231146535b4213d1724f1895db243e1c4ba838dec51cb2a1348d0f712c2d45288bd83503b818ff23f6721aa3f8f7c9f86a3c8115eaf04c28ddec36271eb06d1
 SHA512 
b99f1954a0e397066687d66e9d0eec64e3ed27c2d6ebc1c504cc7871f5c4a3b19fbe9843f51fd96ee853a304335463d3b01034dd6f4241b454757a8e2f7719d8
+DIST botocore-1.34.73.gh.tar.gz 12806316 BLAKE2B 
26efd260c5d93d01c5a3106a121f08c32f5a697f77983b2ad9419bd1ac4076e7121c2c1d44041cbd3ab959d36c8f4c173f8eb355e16bce1c650e812ab305dff0
 SHA512 
868d7cf19edcb6b6ec5b9b8c30a11e86d59bcb81b539d69cf5312887399f2536f2b197efc34e4cf4c59a324809cfb5a150ec47ac44b27696ba78fc82d672b3d5

diff --git a/dev-python/botocore/botocore-1.34.73.ebuild 
b/dev-python/botocore/botocore-1.34.73.ebuild
new file mode 100644
index 000000000000..ba6cd2a5d2a2
--- /dev/null
+++ b/dev-python/botocore/botocore-1.34.73.ebuild
@@ -0,0 +1,67 @@
+# 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..12} )
+
+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
+       )
+
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest tests/{functional,unit}
+}

Reply via email to