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/fs/
Date: Mon, 07 Feb 2022 20:30:13
Message-Id: 1644265804.af3508cff7a9eb86764d75b9c698ece7c9792ce5.mgorny@gentoo
1 commit: af3508cff7a9eb86764d75b9c698ece7c9792ce5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 7 19:45:57 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 7 20:30:04 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af3508cf
7
8 dev-python/fs: Bump to 2.4.15
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/fs/Manifest | 1 +
13 dev-python/fs/fs-2.4.15.ebuild | 60 ++++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/dev-python/fs/Manifest b/dev-python/fs/Manifest
17 index 4b77af288471..38c0239dda81 100644
18 --- a/dev-python/fs/Manifest
19 +++ b/dev-python/fs/Manifest
20 @@ -1 +1,2 @@
21 DIST pyfilesystem2-2.4.14.tar.gz 181196 BLAKE2B 23442e551684fab1493762182944769789ac45e363556705a911b2b3df456da7edfebb58a0d49317f9e9d46316494577be0ec449c86365a510d493d57e1636b0 SHA512 7bc69e23e6477a68fdf87d18403ba0bff2ff4eb2d0cf3cd9c7b0078885ed9d718e3f4f5f22bd77c6bcca6ebfa990045104a2d5abcf473a9d77a28aa94884650b
22 +DIST pyfilesystem2-2.4.15.tar.gz 181799 BLAKE2B 522d118dcee6aafe754d8eb571aa88f26cbbbafd7fedabbf7f4470e098dde01db42cb26b20ed28305daf8f32a22250da81c8a932d420ef4bdf825deb363a26a1 SHA512 7bb153dad5ea03eec7cb1af8d1b5a851845984e194f288687b0e737e1f32c74bf4c1a8d62a9105c8637cd5a29ab82810df9fc11055b894ab0df899cb20a4e1c1
23
24 diff --git a/dev-python/fs/fs-2.4.15.ebuild b/dev-python/fs/fs-2.4.15.ebuild
25 new file mode 100644
26 index 000000000000..25c6dbf504e8
27 --- /dev/null
28 +++ b/dev-python/fs/fs-2.4.15.ebuild
29 @@ -0,0 +1,60 @@
30 +# Copyright 1999-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..10} )
37 +
38 +inherit distutils-r1 optfeature
39 +
40 +MY_P=pyfilesystem2-${PV}
41 +DESCRIPTION="Filesystem abstraction layer"
42 +HOMEPAGE="
43 + https://pypi.org/project/fs/
44 + https://docs.pyfilesystem.org
45 + https://www.willmcgugan.com/tag/fs/
46 +"
47 +# Tests from the PyPI tarball are broken
48 +# https://github.com/PyFilesystem/pyfilesystem2/issues/364
49 +SRC_URI="
50 + https://github.com/PyFilesystem/pyfilesystem2/archive/v${PV}.tar.gz
51 + -> ${MY_P}.tar.gz"
52 +S="${WORKDIR}/${MY_P}"
53 +
54 +LICENSE="MIT"
55 +SLOT="0"
56 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
57 +
58 +RDEPEND="
59 + >=dev-python/appdirs-1.4.3[${PYTHON_USEDEP}]
60 + dev-python/pytz[${PYTHON_USEDEP}]
61 + dev-python/setuptools[${PYTHON_USEDEP}]
62 + >=dev-python/six-1.10[${PYTHON_USEDEP}]
63 +"
64 +# NB: we skip tests requiring pyftpdlib
65 +BDEPEND="
66 + test? (
67 + dev-python/parameterized[${PYTHON_USEDEP}]
68 + dev-python/psutil[${PYTHON_USEDEP}]
69 + )
70 +"
71 +
72 +distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
73 +distutils_enable_tests pytest
74 +
75 +python_test() {
76 + local EPYTEST_IGNORE=(
77 + # TODO: fails at teardown due to unfreed resources
78 + tests/test_ftpfs.py
79 + )
80 +
81 + # pytest-xvfb causes test failures due to a zombie Xvfb process
82 + epytest -p no:xvfb
83 +}
84 +
85 +pkg_postinst() {
86 + optfeature "S3 support" dev-python/boto
87 + optfeature "SFTP support" dev-python/paramiko
88 + optfeature "Browser support" dev-python/wxpython
89 +}