1 |
commit: 912649024ca6a6b72671fe23088e4cc3d4a56cca |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 9 20:40:17 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 9 22:16:28 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91264902 |
7 |
|
8 |
dev-python/fsspec: Bump to 0.8.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/fsspec/Manifest | 1 + |
13 |
dev-python/fsspec/fsspec-0.8.1.ebuild | 44 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest |
17 |
index f348eb42332..69df498f479 100644 |
18 |
--- a/dev-python/fsspec/Manifest |
19 |
+++ b/dev-python/fsspec/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST filesystem_spec-0.7.4.tar.gz 222128 BLAKE2B b111b8194e2c31065a26dcd952aaadf0bc39bf75e94b10f79a387dc1b66838de820bcdcd90af60533dbbd33cfcc275470ccd82b98d0c82154f0633efab355187 SHA512 086e7e7905ff4a55b7027d2b005fd875200bf40469ea4b36effb9805a3416145ba4c709c4a6c8a3ac24a033cbd2104e7ebe401e2610db6c2d8548a63587b343a |
22 |
DIST filesystem_spec-0.8.0.tar.gz 235922 BLAKE2B 5ca1ce8fe3932ace39f3623217b0918cc7f24c07e86357fd4d3d56630010c37c33e94f0419f5fd6bb86292751ccc93efae305ad3c86c4f94a54b0ae360c9a07d SHA512 55513650f1795657ce274478d4360f2cfc3d2bbd8114df7a458fb3a20277b1594e48b5be38e26154a3af525a169f1e4b3d3c0e387bf3889b78350bacf12cc02b |
23 |
+DIST filesystem_spec-0.8.1.tar.gz 238298 BLAKE2B a4a5fd16b10de1420a33cdc3ee5a37b3f9c93a9a5ccf179f0b022897bb41c8f22cd517bad7ca8ac3c43190e9fcc92b51142a58349a6b1f51274d27e5da1152f3 SHA512 1447f2fb2fc27b5d3ed18cdf43df3c1da9f0bbc03d2dbd0cd69631cfa629c74d2e35358f8bb560b7d2a7d9bb9b7512e2fcf0f7ad6a2f364334748c0026e4b6a6 |
24 |
|
25 |
diff --git a/dev-python/fsspec/fsspec-0.8.1.ebuild b/dev-python/fsspec/fsspec-0.8.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..041adfc0de5 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/fsspec/fsspec-0.8.1.ebuild |
30 |
@@ -0,0 +1,44 @@ |
31 |
+# Copyright 2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{6..9} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+MY_P=filesystem_spec-${PV} |
40 |
+ |
41 |
+DESCRIPTION="A specification that python filesystems should adhere to" |
42 |
+HOMEPAGE="https://github.com/intake/filesystem_spec/ |
43 |
+ https://pypi.org/project/fsspec/" |
44 |
+SRC_URI=" |
45 |
+ https://github.com/intake/filesystem_spec/archive/${PV}.tar.gz |
46 |
+ -> ${MY_P}.tar.gz" |
47 |
+S=${WORKDIR}/${MY_P} |
48 |
+ |
49 |
+LICENSE="BSD" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
52 |
+ |
53 |
+BDEPEND=" |
54 |
+ dev-python/versioneer[${PYTHON_USEDEP}] |
55 |
+ test? ( |
56 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
57 |
+ dev-vcs/git |
58 |
+ )" |
59 |
+ |
60 |
+distutils_enable_tests pytest |
61 |
+ |
62 |
+src_test() { |
63 |
+ git config --global user.email "you@×××××××.com" || die |
64 |
+ git config --global user.name "Your Name" || die |
65 |
+ distutils-r1_src_test |
66 |
+} |
67 |
+ |
68 |
+python_test() { |
69 |
+ # sftp and smb require server started via docker |
70 |
+ pytest -vv \ |
71 |
+ --ignore fsspec/implementations/tests/test_sftp.py \ |
72 |
+ --ignore fsspec/implementations/tests/test_smb.py || |
73 |
+ die "Tests failed with ${EPYTHON}" |
74 |
+} |