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: Wed, 31 Aug 2022 09:21:10
Message-Id: 1661937661.d0e94a2ff1c10c28c6aeaadfefa119801f3e6ad3.mgorny@gentoo
1 commit: d0e94a2ff1c10c28c6aeaadfefa119801f3e6ad3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 31 08:39:43 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 31 09:21:01 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0e94a2f
7
8 dev-python/fsspec: Bump to 2022.8.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/fsspec/Manifest | 1 +
13 dev-python/fsspec/fsspec-2022.8.0.ebuild | 58 ++++++++++++++++++++++++++++++++
14 2 files changed, 59 insertions(+)
15
16 diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest
17 index c841bd8670da..a4e0c9a88d31 100644
18 --- a/dev-python/fsspec/Manifest
19 +++ b/dev-python/fsspec/Manifest
20 @@ -1 +1,2 @@
21 DIST filesystem_spec-2022.7.1.gh.tar.gz 338526 BLAKE2B ef19c41a4e9fe3fb1a5146967bab505c26590aa4c074152523b705d8cac5eeb6e30834e1adbbb1669f5bbb58891cabd3960208cdfa9f619e0bbc5cbfe5f4ef55 SHA512 07178bf22e07091935256296b303e273c03e2ddc15a5aa1110f84c27cadaf9c650204e37c472cb10280e92f24b01fa8b16fe32db21a30d14d232c5a11e05a45c
22 +DIST filesystem_spec-2022.8.0.gh.tar.gz 338839 BLAKE2B 6d70e20a435caab098db2437137fcd80efdcb08ff3018daf5c72ceb958fcca354eb6a12a525ea023fd042cf54099fe991a444c3627989bc3f0e38bddd8d57aca SHA512 843ee51d7dec362623ebe584def6bb7c8b5521434befd89bba178969bb9fbe53b9b488f0f8d301d600fe2f97e876a6b74f92c9d0e9b8941aaa70f5514e6516ee
23
24 diff --git a/dev-python/fsspec/fsspec-2022.8.0.ebuild b/dev-python/fsspec/fsspec-2022.8.0.ebuild
25 new file mode 100644
26 index 000000000000..dba46d7fc2e2
27 --- /dev/null
28 +++ b/dev-python/fsspec/fsspec-2022.8.0.ebuild
29 @@ -0,0 +1,58 @@
30 +# Copyright 2020-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..11} )
37 +
38 +inherit distutils-r1
39 +
40 +MY_P=filesystem_spec-${PV}
41 +DESCRIPTION="A specification that python filesystems should adhere to"
42 +HOMEPAGE="
43 + https://github.com/fsspec/filesystem_spec/
44 + https://pypi.org/project/fsspec/
45 +"
46 +SRC_URI="
47 + https://github.com/fsspec/filesystem_spec/archive/${PV}.tar.gz
48 + -> ${MY_P}.gh.tar.gz
49 +"
50 +S=${WORKDIR}/${MY_P}
51 +
52 +LICENSE="BSD"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
55 +
56 +BDEPEND="
57 + test? (
58 + dev-python/aiohttp[${PYTHON_USEDEP}]
59 + dev-python/numpy[${PYTHON_USEDEP}]
60 + dev-python/pytest-asyncio[${PYTHON_USEDEP}]
61 + dev-python/pytest-mock[${PYTHON_USEDEP}]
62 + dev-python/requests[${PYTHON_USEDEP}]
63 + dev-python/tqdm[${PYTHON_USEDEP}]
64 + dev-vcs/git
65 + )
66 +"
67 +
68 +distutils_enable_tests pytest
69 +
70 +src_test() {
71 + git config --global user.email "you@×××××××.com" || die
72 + git config --global user.name "Your Name" || die
73 + distutils-r1_src_test
74 +}
75 +
76 +EPYTEST_DESELECT=(
77 + fsspec/tests/test_spec.py::test_find
78 +)
79 +
80 +EPYTEST_IGNORE=(
81 + # sftp and smb require server started via docker
82 + fsspec/implementations/tests/test_dbfs.py
83 + fsspec/implementations/tests/test_sftp.py
84 + fsspec/implementations/tests/test_smb.py
85 + # unhappy about dev-python/fuse-python (?)
86 + fsspec/tests/test_fuse.py
87 +)