commit:     98e0e62ac0f0d5c29beec19e3b0c8559549e5989
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 12 04:04:19 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 12 04:04:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e0e62a

dev-python/botocore: Bump to 1.34.17

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 6c6a37c60233..dfe1429fa178 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -2,4 +2,5 @@ DIST botocore-1.34.11.gh.tar.gz 12612317 BLAKE2B 
8a8648dfb27fad0d0a52df37ce9d988
 DIST botocore-1.34.14.gh.tar.gz 12617340 BLAKE2B 
c4aac6682ccb8951f4652477857d58221c4f0d8f1d154b7ecfa4e536f6bdb199e4be43ef63f0fce0843e95c01cfc0a479af8c7773a9717461afc04cd4bb27912
 SHA512 
44b7b0e96c815b033dc603892c3940869a37c76d0826812d5778b644ca785ff27f870f3ec54c7d87696bd57d2a38cc31c4b3e70f295fe9d588afc12e8f7a914e
 DIST botocore-1.34.15.gh.tar.gz 12619235 BLAKE2B 
00e264f689946985207fa9dfc65ea1a1e90a7d41008a87bfe32c3c49542d4d26fa1a41f2a263fd395a32ef7eb7ae03846c1681325a61e8409a75c05a5eeccc67
 SHA512 
c2a137d45f05c355f912dcedcc690ec61cb1e3ff53e8fd5ccc055c49fd4b7acdafa0e88099bdad6eb8112fdcd1ab26b259efe409df340f885f9b7ca7d305d572
 DIST botocore-1.34.16.gh.tar.gz 12620688 BLAKE2B 
5b08650867649d6aafbd2219e3e5f9af8f2dbcbfbed2eb293c725d50242edd7584021c9f8cbed3232916bac46e7b323903e2f3767c3488d156a31e68dd678138
 SHA512 
b48b63b35d127732ccf6b37b029dc5d84c27e5104a9898b1a918db76afb4f2bddf428be97f6cda3d1107af30e4c3579f283add1ffbb51f075c5a445af42b83ca
+DIST botocore-1.34.17.gh.tar.gz 12627762 BLAKE2B 
127afe95d4bf1bd09912b7725d601656a8fc6098d97cdbecedd9c5117d6b2bfd640a90f9f8d457af49308e59b369b31a3123785999c11dee17d8ae9b9ba03ec9
 SHA512 
d01061b2b4b887ba409e60ad84c5fae6d91f5773839d18ad29db1567921383b89be4b0a2c56c9b7ada59d7a73236fc305fb7b3a8abeff359daecf939b26b13ad
 DIST botocore-1.34.7.gh.tar.gz 12606475 BLAKE2B 
387ee7dfab43c44c39c7b0566b6ddcb2b666024b5b7bee2c996194988781c169e1e9462b36d09861d1c3ca899d263392f3d79129e7a2f2fc4bbfed402f5c7dd6
 SHA512 
3f162d4d028dd81da552e0117671971aa891bf8fab513730f40083660fa83c1f82bf1b52875cf9f7f11089ecdd79f084f3c8e76227aa826c1aac7e5735032450

diff --git a/dev-python/botocore/botocore-1.34.17.ebuild 
b/dev-python/botocore/botocore-1.34.17.ebuild
new file mode 100644
index 000000000000..dcd34e4e67de
--- /dev/null
+++ b/dev-python/botocore/botocore-1.34.17.ebuild
@@ -0,0 +1,68 @@
+# 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/
+"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+if [[ "${PV}" == "9999" ]]; then
+       EGIT_REPO_URI="https://github.com/boto/botocore";
+       inherit git-r3
+else
+       SRC_URI="
+               https://github.com/boto/botocore/archive/${PV}.tar.gz
+                       -> ${P}.gh.tar.gz
+       "
+       KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+fi
+
+RDEPEND="
+       dev-python/six[${PYTHON_USEDEP}]
+       <dev-python/jmespath-2[${PYTHON_USEDEP}]
+       dev-python/python-dateutil[${PYTHON_USEDEP}]
+       >=dev-python/urllib3-1.25.4[${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 EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest tests/{functional,unit}
+}

Reply via email to