commit:     2cf4c46f450ad8dcd3e57c8ced05766934987ad9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 21 05:22:42 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 21 05:40:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cf4c46f

dev-python/s3transfer: Bump to 0.10.4

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

 dev-python/s3transfer/Manifest                 |  1 +
 dev-python/s3transfer/s3transfer-0.10.4.ebuild | 39 ++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-python/s3transfer/Manifest b/dev-python/s3transfer/Manifest
index 6b48e76bbd20..da5b305e778f 100644
--- a/dev-python/s3transfer/Manifest
+++ b/dev-python/s3transfer/Manifest
@@ -1 +1,2 @@
 DIST s3transfer-0.10.3.tar.gz 144591 BLAKE2B 
eb25a7efabd3fbedfb93fb85dc94c53a2ad1e2ad5d72b0fb82355b50e9211adf2f1ad49dfec01dbeab5c59095c315a0a06ed60bfbb86b507375e67c52ea6d4b7
 SHA512 
63ad855ad5918daf0f1a6d2240ff15d96a0ad399c7248a1886d3b36bc445dcc2b64dd38f177653037e1a1216ab30cc08aa19c2822e5d0d1df5cfa302a50c4e3e
+DIST s3transfer-0.10.4.tar.gz 145287 BLAKE2B 
0b15068862236237287243237639310d35de942b0d3d399edd5ee924195ee8f45b2badea4b02f8dceef64f034111a810910b8208cb6e0c5db070b39f5c39f615
 SHA512 
671d95e9f507bdca8cf53b88cd28285f9c2ae1456fcb24ba4a61a75d30e8c8fa8b2a4faa8c8364114dc3e5c57f630d5b61575847b167e37b3de44b42c45f6a63

diff --git a/dev-python/s3transfer/s3transfer-0.10.4.ebuild 
b/dev-python/s3transfer/s3transfer-0.10.4.ebuild
new file mode 100644
index 000000000000..7a6c4efa0f1c
--- /dev/null
+++ b/dev-python/s3transfer/s3transfer-0.10.4.ebuild
@@ -0,0 +1,39 @@
+# 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 pypi
+
+DESCRIPTION="An Amazon S3 Transfer Manager"
+HOMEPAGE="
+       https://github.com/boto/s3transfer/
+       https://pypi.org/project/s3transfer/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux 
~x86-linux"
+
+RDEPEND="
+       <dev-python/botocore-2[${PYTHON_USEDEP}]
+       >=dev-python/botocore-1.33.2[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       # 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_src_prepare
+}
+
+python_test() {
+       epytest tests/{unit,functional}
+}

Reply via email to