commit:     208744218c77564109b7e9ad5cbccc411a6be2e7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 18 02:20:05 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Apr 18 03:11:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20874421

dev-python/s3transfer: Bump to 0.11.5

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

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

diff --git a/dev-python/s3transfer/Manifest b/dev-python/s3transfer/Manifest
index a3c5c7b0a70d..4dad7589b1b8 100644
--- a/dev-python/s3transfer/Manifest
+++ b/dev-python/s3transfer/Manifest
@@ -1 +1,2 @@
 DIST s3transfer-0.11.4.tar.gz 148419 BLAKE2B 
140cdc5810cde2d758726ff0605d2fcf45ed0f1001e5f66f37ff1c5502129cc3e329fe2c67298eb541fba75ccb977c8fabd1fca2d059c7d46c16ba3a9ecbdabf
 SHA512 
824e03bccd8d724ebe8146f8c2b115c0d43ffe3a89d005f7cfa53431140130c77997b66fc605ea1a61d3291f4d808e6869150466b2f30a216c2290e902554c5b
+DIST s3transfer-0.11.5.tar.gz 149107 BLAKE2B 
a5eed06767663a87b63649e62f3d98301551defda08e64b623a5beb38e4573ccdbbd68f426b580f93e17f8d09e679766b28cc248658c8ed515ada7064d7f53a6
 SHA512 
b8c0aa483429d4beabf58127678ebbfb28b407a95f1dde8bbcbb9d0adcf2143d3e1449cd71fa5c6eb3cf0ba25f08aa4f22f1671a34da26f67f36aab38837796b

diff --git a/dev-python/s3transfer/s3transfer-0.11.5.ebuild 
b/dev-python/s3transfer/s3transfer-0.11.5.ebuild
new file mode 100644
index 000000000000..b4c9396d7738
--- /dev/null
+++ b/dev-python/s3transfer/s3transfer-0.11.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2025 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 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+
+RDEPEND="
+       <dev-python/botocore-2[${PYTHON_USEDEP}]
+       >=dev-python/botocore-1.37.4[${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