diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-11-21 06:22:42 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-11-21 06:40:16 +0100 |
commit | 2cf4c46f450ad8dcd3e57c8ced05766934987ad9 (patch) | |
tree | 1ecf3fb9be9ece8344024a1868a0d0619d790611 | |
parent | dev-python/stripe: Bump to 11.3.0 (diff) | |
download | gentoo-2cf4c46f450ad8dcd3e57c8ced05766934987ad9.tar.gz gentoo-2cf4c46f450ad8dcd3e57c8ced05766934987ad9.tar.bz2 gentoo-2cf4c46f450ad8dcd3e57c8ced05766934987ad9.zip |
dev-python/s3transfer: Bump to 0.10.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/s3transfer/Manifest | 1 | ||||
-rw-r--r-- | dev-python/s3transfer/s3transfer-0.10.4.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
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} +} |