summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-14 14:02:59 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-14 14:04:10 +0200
commitc71283b1f716de182d7d91175dfd4b854bb94afb (patch)
tree6d81a27f357606dc9defdef16c99bd9d70b8ba62
parentdev-python/fsspec: New package, test-dep of s3fs (diff)
downloadgentoo-c71283b1f716de182d7d91175dfd4b854bb94afb.tar.gz
gentoo-c71283b1f716de182d7d91175dfd4b854bb94afb.tar.bz2
gentoo-c71283b1f716de182d7d91175dfd4b854bb94afb.zip
dev-python/s3fs: Bump to 0.4.2, py3.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/s3fs/Manifest1
-rw-r--r--dev-python/s3fs/s3fs-0.4.2.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/s3fs/Manifest b/dev-python/s3fs/Manifest
index 54e944a44efa..0f6c84ac79d5 100644
--- a/dev-python/s3fs/Manifest
+++ b/dev-python/s3fs/Manifest
@@ -1 +1,2 @@
DIST s3fs-0.1.5.tar.gz 27215 BLAKE2B 84f059eafe14a4faf8945c355763d31a49f38c3ae6cb05170dbff0e7ad435f9ea79617fc538d237b565d20a0b11603ea44d9e71339fd40c1ad16ad0af903bbd5 SHA512 5285da6d82de1e68c4cb0fad5a93eeb59fdffba663691d79cafd1b428b60e17fa21e0ff3a50df701cad7f351017cdc538954b0516782e5ddcf6c3d5910f71144
+DIST s3fs-0.4.2.tar.gz 57527 BLAKE2B 74836547c270e00daeed55321a4d685a638a30a27ab65ea34ceaf55e0c44f1fac66a0802e602c052a5abc8e4a7bca778df7167751a6cf7a177f6a382012741de SHA512 7571a2d3ad998aab7dceb334bfcdb27035f21bfca04fd0828e75c1d860c2662f0a1c8c49317dabdbf2d7c21371c5dd6983a5aea760d2f71bff5ab0dfa9c9a14a
diff --git a/dev-python/s3fs/s3fs-0.4.2.ebuild b/dev-python/s3fs/s3fs-0.4.2.ebuild
new file mode 100644
index 000000000000..55ab54b3b1e9
--- /dev/null
+++ b/dev-python/s3fs/s3fs-0.4.2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Pythonic file interface to S3"
+HOMEPAGE="https://s3fs.readthedocs.io/en/latest/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-python/botocore[${PYTHON_USEDEP}]
+ dev-python/fsspec[${PYTHON_USEDEP}]"
+
+BDEPEND="
+ dev-python/versioneer[${PYTHON_USEDEP}]
+ test? (
+ dev-python/moto[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ # requires internet access
+ sed -e 's:test_anonymous_access:_&:' \
+ -i s3fs/tests/test_s3fs.py || die
+
+ distutils-r1_src_prepare
+}