commit:     24862884e2c47b4ac8b41eb265395f24dffe873d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  1 03:35:08 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar  1 04:23:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24862884

dev-python/botocore: Bump to 1.34.53

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

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

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 32415a39c0cc..f08a4c0fe277 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -4,3 +4,4 @@ DIST botocore-1.34.49.gh.tar.gz 12729109 BLAKE2B 
8029fd3530f8c29e7375eaf369944ad
 DIST botocore-1.34.50.gh.tar.gz 12731553 BLAKE2B 
9f014ae935ba3cf0cfb52c68ae674f08394012919dae15220c7faaf79e77478dca9f810d552da11b0374f2e5d9bb4026a241c6755aa54a5b4ba4b5b9f26adc65
 SHA512 
53115fa3b7473dd46f2c31d203e048c00404b171a3a658cc06cb63db61f9be77a44c62a026980e71e108e6bb98a7c74288501b877dfcf7293fdc31c54e1c2613
 DIST botocore-1.34.51.gh.tar.gz 12732148 BLAKE2B 
57df6b5825cc07b1179ca67b935c5bea270810377e1f62d9094dd318301140e3cde68551e9501331c825b46e17d267fa0aa30e92251d03039e72f53005f8ddb4
 SHA512 
8c09e99363f27ec840d392e3cfd2bf7cce42d79ad5e66d3eb77a5ddc5fd3d00070a3faaf602130d9fab0e86aee475cb8a33154de19e9c1458011cd0d6aeecebe
 DIST botocore-1.34.52.gh.tar.gz 12741641 BLAKE2B 
2a0106c3fc3414531f4edbe8105f589ebb8a5cc56d6d4b7a91e172889b9c5c287d5eadb2dff93d3ed5270d75d205600677079ea266dbcfbb74cfe85cfe4069ed
 SHA512 
e511dc67e793400c94942752758fad320f424fcf13e2598d4b7ab39c326fbf0b0721bd92bb348878334254806b5bcd4108d7274463cbdae6fff0581a7f75a556
+DIST botocore-1.34.53.gh.tar.gz 12747256 BLAKE2B 
a79257a473bfcaa25a8464a52d80d41ca51c597f66aadb242d1945de4137923fab19feaa827df54ac04897b66df9e25fdeddf79809dadcf96e72827da42c46e6
 SHA512 
fcdbcf41b369aca15a9991ac45f4ad133d251c4863cac49498978f5f433551a1347e5f58d4613fa3a344a6a675abf2bd4ddf51b1a5309ccaf0ea37b57d19957b

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