commit:     1d50b3d6fbe359519673f5475bd83e6366f8d2fa
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  1 03:01:19 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun  1 03:57:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d50b3d6

dev-python/boto3: Bump to 1.34.117

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

 dev-python/boto3/Manifest              |  1 +
 dev-python/boto3/boto3-1.34.117.ebuild | 53 ++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 6642de6afe95..f63bf6e60db2 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -4,3 +4,4 @@ DIST boto3-1.34.113.gh.tar.gz 812031 BLAKE2B 
ffb4cc54a83d9d783eb69694393a6cc8c4d
 DIST boto3-1.34.114.gh.tar.gz 812014 BLAKE2B 
fd11639c03d8b5a106af0781d71bc10f185aadeeb27aa5cd62fb6c005e4fa57eb1cbfa544c4940817e4ac28a085ff6c6aaa77d4a9ef19928f605e21b93ff7984
 SHA512 
3f4ace4460d467a490e885bd1e523799495e83dcc51815ddd7ca77a7ba054057763fa9f13f5c6c89e2603be880d7d85b5ac0ae523c05a016285bf8dd9b3e1f29
 DIST boto3-1.34.115.gh.tar.gz 812507 BLAKE2B 
d53ec48e920333c02d637d9f2fa9276ec52dc5384c3b2b85a1e6395b331528f3b71232ba45cf9b2b66512fb7e8caedbddd1d6bfcb4a420994477fb992f9d4872
 SHA512 
63859d9f7a0d07a479286c12fb5873cf1d0de6e27e5e6cf6d1450d0d238b5520606bda3dc5dbd559432a2c68350e6f12cf85dd094c505d27d4ddbe4e7ebe6fce
 DIST boto3-1.34.116.gh.tar.gz 813371 BLAKE2B 
e49855120e6d7e5b9888429d135299975c69769f139ba33f522427af06a2370026cfda3f60c61860b86828230081fbef057609d1d2d33d66b7371105f44dfa1f
 SHA512 
d5e59325d95ce1fdb5492fc14ac949fbd98ba33eafc078bd990420afff80cec6dffeef15239558b2a8bfdac385a35393101fb1f796cfd5aaa14fc936eec8dfa7
+DIST boto3-1.34.117.gh.tar.gz 813596 BLAKE2B 
1b68c6410a9e4859c05ec6e8baa7b4d0a8eda39ac9cfe7173d581e5712409bb5df83d35f30deb4f5e4e1dd70c0dc411cd8a1725b00f1e8a3026dbaef9862cde0
 SHA512 
40c6c1d62d94e0ac8d0237abbbacb9b7473dbce0ee7be5f2e8106f0c0be99b6bf048f3068e2978c578a8df5948f854bd4f3b9d99d935094a646a33f3bada7136

diff --git a/dev-python/boto3/boto3-1.34.117.ebuild 
b/dev-python/boto3/boto3-1.34.117.ebuild
new file mode 100644
index 000000000000..2c733040b7a3
--- /dev/null
+++ b/dev-python/boto3/boto3-1.34.117.ebuild
@@ -0,0 +1,53 @@
+# 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="The AWS SDK for Python"
+HOMEPAGE="
+       https://github.com/boto/boto3/
+       https://pypi.org/project/boto3/
+"
+SRC_URI="
+       https://github.com/boto/boto3/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/botocore-${PV}[${PYTHON_USEDEP}]
+       >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
+       >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}]
+"
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_prepare_all() {
+       # don't lock versions to narrow ranges
+       sed -e '/botocore/ d' \
+               -e '/jmespath/ d' \
+               -e '/s3transfer/ d' \
+               -i setup.py || die
+
+       # do not rely on bundled deps in botocore (sic!)
+       find -name '*.py' -exec sed -i \
+               -e 's:from botocore[.]vendored import:import:' \
+               -e 's:from botocore[.]vendored[.]:from :' \
+               {} + || die
+
+       distutils-r1_python_prepare_all
+}
+
+python_test() {
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest tests/{functional,unit}
+}

Reply via email to