summaryrefslogtreecommitdiff
path: root/dev-python/s3transfer
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/s3transfer')
-rw-r--r--dev-python/s3transfer/Manifest1
-rw-r--r--dev-python/s3transfer/s3transfer-0.6.0-r1.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/s3transfer/Manifest b/dev-python/s3transfer/Manifest
index 09867f19ed5c..fc76e1308361 100644
--- a/dev-python/s3transfer/Manifest
+++ b/dev-python/s3transfer/Manifest
@@ -1,3 +1,4 @@
DIST s3transfer-0.6.0.tar.gz 134871 BLAKE2B 7ab84f22dc20751dd461857f93d7f1aad1490432ed25e7506c5abe61f79d1f3cafd8ddb190a0942a2c5a9947c5068fcf397dce34f255a246381f4cf1f0d09e7a SHA512 0c1c3306015cab4a4436b1d2fec6708e17f4c5111f8a265fbfe134defebda33a43bd985e559be993b6175af9eee142e9f27da123f8d14f77cfc59e48ca1b905f
+EBUILD s3transfer-0.6.0-r1.ebuild 947 BLAKE2B 1016351ffbec8e01df5735dce30d6bf3e6adf148c56bf229bc7afd8796776a7ec1fc7da2c48b66f7b9360f378940133d6eaf9032520f21fb7ef1c619365d6efb SHA512 237d98b1b3fa2ffa4665b992321dd348320235b81d4104dc84fd894d72c1efde9e632963946d90aba162aad0c5c46ad6a95e3849f5e67424a0571ef1a5912e85
EBUILD s3transfer-0.6.0.ebuild 939 BLAKE2B 6c9fe86ba2e2ed245148ab052aa2bd966db5936beabca4663c0b23bb3806a6a97fc02f25f37c857159bb412c10accfd3d4e02678e0b5cd57d305e141eeba04a8 SHA512 4390dac09ca6654e2a5f45f40ca9e37c38b11f718b8496817aaba9816e59fe286e956382bf618d4fd02731dfcee227b34ed82b6488c0ed0c5f1c282253b0b1f5
MISC metadata.xml 503 BLAKE2B 7b8bc8c7e251064ab7becbccff47ab889e54362d3350cf2b78529b60a95a2f52f39b42451c2a26af30ea8cd3fddd9c950c3b40d07d1c72bc6b0730817d7f4680 SHA512 25529c55cc73bca86f770a069f995e2f6f6494d436b52ae24e5b7e1523bf8f62bcfe5ad8e3f727456897a5f9c0ff9b8752ccaba4d3b65b62b5d70b9a3c4b0b43
diff --git a/dev-python/s3transfer/s3transfer-0.6.0-r1.ebuild b/dev-python/s3transfer/s3transfer-0.6.0-r1.ebuild
new file mode 100644
index 000000000000..fb661e81e32a
--- /dev/null
+++ b/dev-python/s3transfer/s3transfer-0.6.0-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="An Amazon S3 Transfer Manager"
+HOMEPAGE="
+ https://github.com/boto/s3transfer/
+ https://pypi.org/project/s3transfer/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ >=dev-python/botocore-1.24.7[${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}
+}