commit:     e57a201336e03b4954ca66aed7f36ee13dc20fe8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 11 03:12:55 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 11 04:19:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e57a2013

dev-python/botocore: Bump to 1.34.82

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index e9f347d50f0a..22ebb7344525 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -3,3 +3,4 @@ DIST botocore-1.34.74.gh.tar.gz 12820469 BLAKE2B 
e9d7a35e82aee30666952ea6f74d8d0
 DIST botocore-1.34.79.gh.tar.gz 12882231 BLAKE2B 
56d7d2a1046a164f4f64f375f608b8646e0f7c266b1c7ab37ff7141fd8d8d843ce2890b0a947f051956f61fb2cfc75c2eb3b3cf70305de4ba9ce2e18d8569ded
 SHA512 
00717ad582e23e1c4f4d803eea2069224fc69c6e701d6b4a55d0d99806cebfb1e2c45c7eb65464b84e0cc63399a7b6235b90ba9245e27fe435eca6079b5c29aa
 DIST botocore-1.34.80.gh.tar.gz 12886772 BLAKE2B 
a77200c5fa28ec9f1a8d65aae08130906719bd530065407446084354e49962f1db22a0c5370d9634d916c563899f3886613a35c24fa2f02967bbf1d191d27b0e
 SHA512 
b2b767f54426bd7cef6d49cdaa4e3d81a11a557e3364646b1cb738bc3f050172f08127c95bca00b170cf2758a71e1ef0f4273bfa7dda6f6dc05b252f73ac903f
 DIST botocore-1.34.81.gh.tar.gz 12888862 BLAKE2B 
75394b63e4617da9e41801de96b4fa2e590add49e7697771e018ab0ca161dbc3eab95b4af98a1886e8d41419b9e3508727912082708e0197f676437cd19091ef
 SHA512 
dba689f4fe6b32eeb4ef32b49217849a5b6624f8ce3bfeb0857f88b98f84c38d4f04b3ef4c5d3e613ed96117f433cb16562984f6d826149dbbed80230d54386b
+DIST botocore-1.34.82.gh.tar.gz 12892302 BLAKE2B 
d536197d6cd93e85d6e67bdf854a337c4fbf3702b699caf9b3d11553fd41b8de9f4cd10e410a1bcf27f20d2b83e19891afad1eebb064ba71d8779b1db7ee1de3
 SHA512 
5de261d295ad482ec13878fefc5775764345624eaf43fd0dc38d4419aa05a9d3a5f81ab1d1f09eeefaa70b5c87795dd8168105360005f2592ba7b6919bccfdb4

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