summaryrefslogtreecommitdiff
path: root/dev-python/s3transfer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-26 00:12:24 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-26 00:12:24 +0100
commit9f6a82a85d400d6ae7de04c43cee88dbc6bc4da0 (patch)
tree2d53ee03e360a9c66a5d8dd8986eee286514336b /dev-python/s3transfer
parent996a2bda06cb164877d5d952774a6db1b271c2f3 (diff)
gentoo auto-resync : 26:06:2024 - 00:12:24
Diffstat (limited to 'dev-python/s3transfer')
-rw-r--r--dev-python/s3transfer/Manifest2
-rw-r--r--dev-python/s3transfer/s3transfer-0.10.2.ebuild43
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/s3transfer/Manifest b/dev-python/s3transfer/Manifest
index e753e9576f7b..114f917774d6 100644
--- a/dev-python/s3transfer/Manifest
+++ b/dev-python/s3transfer/Manifest
@@ -1,3 +1,5 @@
DIST s3transfer-0.10.1.tar.gz 143308 BLAKE2B cab8c94ed4ea4277583a902a6a943157cdaf5f742842e1c1a24f7f90ccb6e07dce0c50aa66b500097ad17f06ff398c90c73dadb3959f8317dbf31573c5ff2a1f SHA512 f18a5f655b354cba1c745bba699b8abdeae406669b0dded249925e4189c1d849bc0966ddc415ca25562a7214fbf7979553a67b4d993d054bc5237e301414f0a1
+DIST s3transfer-0.10.2.tar.gz 144095 BLAKE2B 6fc9af9bc33a115d03253441881710aa72e9b4df3e6fac1fa49b069ec6f5e19198b464f0d7fd2bae63229fd6b54cb0c8673a6e9c5a9642010f3b725d355b5992 SHA512 6d11a3a79042070b764042d502878854c18b641723a8e1fb0b8d90f06bd6100ac295350ab3a91b23acd742bb69da18bfc98e9b834f71f57d58548296de0c8d75
EBUILD s3transfer-0.10.1.ebuild 893 BLAKE2B 8de637d3e7eac0955b05f55975bcd9c70d1cd03d1d3b70c0d8d2a4d9174915ce5298c74d5ad67a5b3728706c1fe2c526a6e9d14c99a1ce3a530b1998407d37d2 SHA512 7e0bbe57a0b75206e2ec7dc9fe3f35c9a2b9b91da438268adb8aedc85fadbb9d8ac91c75603dea098f26c5af6ea161e6ed22a6fbfd2c9428bedc7b5d999e1a8b
+EBUILD s3transfer-0.10.2.ebuild 900 BLAKE2B c5d40dc089b0969b5849e0e348f6efc7509774cd19eadd9c2d889783493e3f1812b4de15e9d9745654f96c28caf446f2186417143f6b750421850d680f71f946 SHA512 4bedee9fbca47fb9857a6e900c5d89a3aa84c9e4b1135509c5026033e4a7a5d0bdb4e446e67520b357b6599bde01181464ca972da35b38c3bba8a176ac67fc84
MISC metadata.xml 503 BLAKE2B 7b8bc8c7e251064ab7becbccff47ab889e54362d3350cf2b78529b60a95a2f52f39b42451c2a26af30ea8cd3fddd9c950c3b40d07d1c72bc6b0730817d7f4680 SHA512 25529c55cc73bca86f770a069f995e2f6f6494d436b52ae24e5b7e1523bf8f62bcfe5ad8e3f727456897a5f9c0ff9b8752ccaba4d3b65b62b5d70b9a3c4b0b43
diff --git a/dev-python/s3transfer/s3transfer-0.10.2.ebuild b/dev-python/s3transfer/s3transfer-0.10.2.ebuild
new file mode 100644
index 000000000000..e31fb9539e6e
--- /dev/null
+++ b/dev-python/s3transfer/s3transfer-0.10.2.ebuild
@@ -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}
+}