diff options
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/s3transfer/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/s3transfer/s3transfer-0.13.0.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/s3transfer/Manifest b/dev-python/s3transfer/Manifest index 2b96dc936323..373f609a4acb 100644 --- a/dev-python/s3transfer/Manifest +++ b/dev-python/s3transfer/Manifest @@ -1 +1,2 @@ DIST s3transfer-0.12.0.tar.gz 149178 BLAKE2B ab9f293e04864190b7128bf1cb46f1fd13b240c5b4f419fbd937529e36c954c5595d2575b039e041a0555e6b0d609d7d4922a638b25f7487fdb4bf62b610c134 SHA512 06bd5bcab95c8b0f06e69e5cc78fc5f9e1dd1dba30a88b4fb2206e4e64ba4addd0679cf5e2384cd7ba674577c6a075dc0cc6dc5880e584a7fe5e4dc6df758ea0 +DIST s3transfer-0.13.0.tar.gz 150232 BLAKE2B b2acba8ceb4e6e218b9e43c21ed148a1bd7b63c4bb28d4b68c69e28c6af33cba72fc7fc492496fba2c9e4760d450264555142e6f47a3467eabfb2268a60b6032 SHA512 cb017501738f8aaf708cfc693514e084c49712bf72d1bd4f761470a93cadd8e12e7c19e5f168c180a695d7bb2423145a6836afc58728371e793d9f6cf926b090 diff --git a/dev-python/s3transfer/s3transfer-0.13.0.ebuild b/dev-python/s3transfer/s3transfer-0.13.0.ebuild new file mode 100644 index 000000000000..2eca455be7cc --- /dev/null +++ b/dev-python/s3transfer/s3transfer-0.13.0.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_{11..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} +} |
