commit:     90e669478bcd248bf97eb6cd27c831708caf2766
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 30 04:34:09 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 30 05:48:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90e66947

dev-python/botocore: Bump to 1.33.4

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 8e85050224d1..f9c0188ef1bf 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -4,3 +4,4 @@ DIST botocore-1.32.6.gh.tar.gz 12201067 BLAKE2B 
434581b5047aca3909b586c49b01085e
 DIST botocore-1.33.0.gh.tar.gz 12348895 BLAKE2B 
14925bfa7839fb8982e53ba001ef36825c34a0178f9087c8760aa8055f6376baf54e1cea8963fc1c62993cf80ae99c22240cb7bf15bd9b79ca0593100fa9069b
 SHA512 
0422c5c4a89b5788d136d9e77ad701f86e874fcd21073535e691733dd527b67035a8045c4ac49f43548563d18b9ffa7cb4eb3f3ecfe43c7fbb32510f87f65fb2
 DIST botocore-1.33.1.gh.tar.gz 12352240 BLAKE2B 
e87e0204e3b4c2274a9bb7a9b31128cbba1d37e1ebc52509d1409afc83413db844e20cef708318657cc4a890afdc8ae5c8825b6ff95eb7634d6072a5180cd457
 SHA512 
ff98f47ff34d5ba2da00e06c82550f9edcd3552bec881c80882452f8d1eccbc1b57376f6026718b25fb70b1039caffd9cf0f368a06aaa26ed6607562ed345386
 DIST botocore-1.33.2.gh.tar.gz 12455360 BLAKE2B 
8cc7c4cea1d2cb342c63e2d335801ae2fe27e3473ffd05205b01ce33c7d7610b24960e5cb3899d7145a1dcd4a4d7b3d279e96210a8e86bcf5b192090a75204ea
 SHA512 
f25893ebd7e172ca354b203121a7516e242ecc7c320b7f9e7b8313936710dc2fecfebe987be401de73f0c6cc8301163689ec4bff9354ebe63ae862d32d892378
+DIST botocore-1.33.4.gh.tar.gz 12506808 BLAKE2B 
d8bba2722e13e37ef867e1565d52de439b6e143301f9ea3bcb0eeb896903f69d226041234e6ed570b9483d6cd2e3ad687a57d24a5bae66560f70939f75d1122f
 SHA512 
a0a980d261618aba5b55bef588fc8b5c5c852d134921977d2714ba6698246955187864ab3b6219900735e8d294a58b7953bc8f226c56b06065bf1fd2e6f8f1b6

diff --git a/dev-python/botocore/botocore-1.33.4.ebuild 
b/dev-python/botocore/botocore-1.33.4.ebuild
new file mode 100644
index 000000000000..05766e84276c
--- /dev/null
+++ b/dev-python/botocore/botocore-1.33.4.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 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