commit:     bba00994637753a901efbe932a2d3affe636c802
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 16 06:14:23 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 16 06:14:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bba00994

dev-python/botocore: Bump to 1.35.63

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index d2929b40f718..45c4d76d6c90 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -5,3 +5,4 @@ DIST botocore-1.35.58.gh.tar.gz 13608279 BLAKE2B 
6f67c155f7b87c827b07f3bceb29836
 DIST botocore-1.35.59.gh.tar.gz 13619172 BLAKE2B 
593bae8b31935cabd5ca44e48bc85d1638d03a34d58ac209f9f0aa51ddc55c72f88b383fe422a10e0045a84e287da0c417ee388acdc72ebf982665532657aee0
 SHA512 
ced4d9c149924f09c6cb3fb62f348225f7df4a07be383b5f523d7284fefd2de0e60f4c302a71eaf81d56051a31e78d962e75eda28afb6624db0b0bac7fef9140
 DIST botocore-1.35.60.gh.tar.gz 13625896 BLAKE2B 
3e1337713f2a96430eaac399db7d6ad468e991ac1c777fff6761dfc377104833ddbe711b8384e08086862a60e5e558c2aae48bb87bd399b2dbd00cb032b696fc
 SHA512 
4e05899948f5ece08f51c4eda2e124f743ee5e5fa82e849585bb8065850e08e190d3b04b720af4ca651165e9b209d2dfab597ca7118cc2a18ce4badf72688dc9
 DIST botocore-1.35.62.gh.tar.gz 13676480 BLAKE2B 
66cb770fc797c4bc7c10b03834ea0caf98eef4fd20ce4651a924747687afac174324f9dfc3a9dc41fbe9323ae19a909d8eeb7698a4561171e44063a65bc24f25
 SHA512 
c691d14280e05b8d6083e7c399925e882558ed3f65161ae9f60a556839c8a103352b497a983dc8af7a8088bcdd0269d500118129f75fdf0b55773c741cc298be
+DIST botocore-1.35.63.gh.tar.gz 13692343 BLAKE2B 
41ded808c412e9af8f938cf64db1632478f77d082417afac1f34905e946c0459545afa46854a41458090eab26a32b2733fb164f374455d8bdefea35718182632
 SHA512 
7185f5a288f848e1f3810ab9fa4eb46467321af6bdd345a8de623722ee513ab89f43303955487b014a3c349ed69a62c7bdf54e5095c3f4ebfd254fab51443ca8

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

Reply via email to