Gentoo Archives: gentoo-commits

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