diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-12-22 07:57:38 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-12-22 09:30:02 +0100 |
commit | f08f79315cde764ddd0b61d85e94616e5bcdc39b (patch) | |
tree | aabc9e3dd33ad357436a4e5b17dfe5727800d94f /dev-python/s3transfer | |
parent | dev-python/botocore: Bump to 1.34.6 (diff) | |
download | gentoo-f08f79315cde764ddd0b61d85e94616e5bcdc39b.tar.gz gentoo-f08f79315cde764ddd0b61d85e94616e5bcdc39b.tar.bz2 gentoo-f08f79315cde764ddd0b61d85e94616e5bcdc39b.zip |
dev-python/s3transfer: Bump to 0.10.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/s3transfer')
-rw-r--r-- | dev-python/s3transfer/Manifest | 1 | ||||
-rw-r--r-- | dev-python/s3transfer/s3transfer-0.10.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/s3transfer/Manifest b/dev-python/s3transfer/Manifest index b7739e92f448..a2e11ccee800 100644 --- a/dev-python/s3transfer/Manifest +++ b/dev-python/s3transfer/Manifest @@ -1,2 +1,3 @@ +DIST s3transfer-0.10.0.tar.gz 143407 BLAKE2B 88ca5b6f2f1271492e4a9f0ad525c971953982364acc80da8df9cb7876b96f20739bff30404b3f8229c9fb581bfa8a7aca939d32d2b64b4252a6b5f8f7322a8d SHA512 83c5f794770e4f3cfd2e54297a4fe228bed76d321b694380e918f39cbb7ebe5881b29499d7230a2af13e4c1c9bf2d67285116fc16cb9b6fa5f526ff1d25b607c DIST s3transfer-0.8.2.tar.gz 139536 BLAKE2B e8897fb295c633dbceb43908f441b92adfe90265c18c3da1154e66074ca19e3a645ba166fbe9456c1a6b884bc6f81fa7b72f76004f2acb84fb92356146e7bae6 SHA512 cbba2ce0a8bf3f110a369137e2aa154012631c6fa2638885afcd2dd668a96715e50af8e720f6460447adc1e2ad241e95f7fa8554334b135777be768d892baaf9 DIST s3transfer-0.9.0.tar.gz 143015 BLAKE2B b65233f20e9486ab2d8228405e367d4eeac3260773e7b0082fd47d3017aa67e48c8f52d882dea9eb16f14040c550926e0fc8d702794537a5137077d5fc5aba0b SHA512 abc46ed9278b27883af9e20ca033e08c594e667ef72dcd39b140f625c9da80cc60247c491e693d41fd67855ed850d53c4b39daa371375989977d6ff6badc3b39 diff --git a/dev-python/s3transfer/s3transfer-0.10.0.ebuild b/dev-python/s3transfer/s3transfer-0.10.0.ebuild new file mode 100644 index 000000000000..103c98396afb --- /dev/null +++ b/dev-python/s3transfer/s3transfer-0.10.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 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} +} |