Gentoo Archives: gentoo-commits

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