dev-python/s3transfer: Bump to 0.10.2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2024-06-25 06:26:16 +02:00
parent 71839a92a9
commit c8ecb32f93
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 44 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST s3transfer-0.10.1.tar.gz 143308 BLAKE2B cab8c94ed4ea4277583a902a6a943157cdaf5f742842e1c1a24f7f90ccb6e07dce0c50aa66b500097ad17f06ff398c90c73dadb3959f8317dbf31573c5ff2a1f SHA512 f18a5f655b354cba1c745bba699b8abdeae406669b0dded249925e4189c1d849bc0966ddc415ca25562a7214fbf7979553a67b4d993d054bc5237e301414f0a1
DIST s3transfer-0.10.2.tar.gz 144095 BLAKE2B 6fc9af9bc33a115d03253441881710aa72e9b4df3e6fac1fa49b069ec6f5e19198b464f0d7fd2bae63229fd6b54cb0c8673a6e9c5a9642010f3b725d355b5992 SHA512 6d11a3a79042070b764042d502878854c18b641723a8e1fb0b8d90f06bd6100ac295350ab3a91b23acd742bb69da18bfc98e9b834f71f57d58548296de0c8d75

View File

@ -0,0 +1,43 @@
# 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 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-1.33.2[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/mock[${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}
}