commit:     2c0bbfc6aea89ee0e5076f189b6f4d4ce409c522
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 15 17:55:09 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul 15 17:55:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c0bbfc6

dev-python/fsspec: Bump to 2021.07.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/fsspec/Manifest                |  1 +
 dev-python/fsspec/fsspec-2021.07.0.ebuild | 47 +++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/dev-python/fsspec/Manifest b/dev-python/fsspec/Manifest
index 418da215814..bf45961f3c5 100644
--- a/dev-python/fsspec/Manifest
+++ b/dev-python/fsspec/Manifest
@@ -1,2 +1,3 @@
 DIST filesystem_spec-2021.05.0.tar.gz 292796 BLAKE2B 
5d56d860ced1a72c27d2031b7d257a4bcbd52f6b2fed5275fbcbf7088375fde26652f0a003e919ebd3948d5e9833d802304234282ca858a7a2a19bfa11f66aa8
 SHA512 
7c27a1ad4e21efdcc0f31f91a9929e4c09db7b9421e7bf8d2f485e961f6887a4a5c083f38f8d7b09005a4cf11f55c93cce4617e3dc6c2b241ed20f7847ad711e
 DIST filesystem_spec-2021.06.1.tar.gz 297254 BLAKE2B 
e360c0780df2ace31a2a7e15f7269f23140ddbc6bd6a1f657cfddbab2b1f285d79a0c88f8d63e406d4a53fd3737f77012eb9837479707a778ab043503ade9d18
 SHA512 
1d59c2c53b1a4a604ff3762eca8484d7ed60fba98548cc77d7ed014ddf1513cef046ceeec41911cdecd414bdbb4e3c669a3a3f65da08dabf5a70cc2985d06b73
+DIST filesystem_spec-2021.07.0.tar.gz 301517 BLAKE2B 
84b189e636eaeb4d3724e1afc44795e83b3ac576ab8640b4fee916bb7cf341c5cd6b1b475616225927693d13f204a1750f913f2e6d35b541fb8ff26ee1019400
 SHA512 
bea483734e6c9773d93ee93b526c8074a28f0671fbee17b39858dc7a75fd71553ca6d8d5c4e2204446bca3e7c23f6d4c8e94b62ff920e546a2b71786d0dcb388

diff --git a/dev-python/fsspec/fsspec-2021.07.0.ebuild 
b/dev-python/fsspec/fsspec-2021.07.0.ebuild
new file mode 100644
index 00000000000..01506d4cf04
--- /dev/null
+++ b/dev-python/fsspec/fsspec-2021.07.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..9} )
+inherit distutils-r1
+
+MY_P=filesystem_spec-${PV}
+
+DESCRIPTION="A specification that python filesystems should adhere to"
+HOMEPAGE="https://github.com/intake/filesystem_spec/
+       https://pypi.org/project/fsspec/";
+SRC_URI="
+       https://github.com/intake/filesystem_spec/archive/${PV}.tar.gz
+               -> ${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+BDEPEND="
+       dev-python/versioneer[${PYTHON_USEDEP}]
+       test? (
+               dev-python/aiohttp[${PYTHON_USEDEP}]
+               dev-python/numpy[${PYTHON_USEDEP}]
+               dev-python/requests[${PYTHON_USEDEP}]
+               dev-vcs/git
+       )"
+
+distutils_enable_tests pytest
+
+src_test() {
+       git config --global user.email "y...@example.com" || die
+       git config --global user.name "Your Name" || die
+       distutils-r1_src_test
+}
+
+python_test() {
+       # sftp and smb require server started via docker
+       epytest \
+               --deselect fsspec/tests/test_spec.py::test_find \
+               --ignore fsspec/implementations/tests/test_dbfs.py \
+               --ignore fsspec/implementations/tests/test_sftp.py \
+               --ignore fsspec/implementations/tests/test_smb.py
+}

Reply via email to