Gentoo Archives: gentoo-commits

From: Louis Sautier <sbraz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/fs/
Date: Thu, 10 Sep 2020 12:24:24
Message-Id: 1599740655.7600029976af32deb852fa587ced37c99f13ca05.sbraz@gentoo
1 commit: 7600029976af32deb852fa587ced37c99f13ca05
2 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 10 12:00:03 2020 +0000
4 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 10 12:24:15 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76000299
7
8 dev-python/fs: bump to 2.4.11, add doc
9
10 Also use pytest for tests and fix dependencies while removing obsolete
11 ones.
12
13 Package-Manager: Portage-3.0.6, Repoman-3.0.1
14 Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
15
16 dev-python/fs/Manifest | 1 +
17 dev-python/fs/fs-2.4.11.ebuild | 53 ++++++++++++++++++++++++++++++++++++++++++
18 2 files changed, 54 insertions(+)
19
20 diff --git a/dev-python/fs/Manifest b/dev-python/fs/Manifest
21 index c720930a7d8..6cc97a643d2 100644
22 --- a/dev-python/fs/Manifest
23 +++ b/dev-python/fs/Manifest
24 @@ -1 +1,2 @@
25 +DIST fs-2.4.11.tar.gz 163986 BLAKE2B 953e50da7002512029c0a1a8e7fe8be3a7c31fc48e2c66f0fe7d71dc908aab734f724e09c16074c3e4cdd86c9c2e1a847aa21176af07311012090375a3a6808e SHA512 fe4596bf213f9b1721cd3c665e6af180d6617eea07afbaa9d83847dc3f7dfe64bca16c8ccb337d48bbb49bf0d2fef90903e3c4aecc63f61faac6a2b6f6c59cf6
26 DIST fs-2.4.9.tar.gz 126022 BLAKE2B bd7406ee0c22171af349bed6096f58bc749af30f3fae6b8532d7a2b07dd7f0a55165f4b4ab413d6ff7c8861fbe7784ae383a984d26c1cdb1bdc9100c4ae0b0df SHA512 594536eccc043547df4ec4fd1fc507d3fad2838ebb46768a11f142c68d42a776f9fa3cda8651421c6255314835a0283407ea49ebdce04af84a1646efaf5391e5
27
28 diff --git a/dev-python/fs/fs-2.4.11.ebuild b/dev-python/fs/fs-2.4.11.ebuild
29 new file mode 100644
30 index 00000000000..a71c92e9647
31 --- /dev/null
32 +++ b/dev-python/fs/fs-2.4.11.ebuild
33 @@ -0,0 +1,53 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +# Not yet ready for 3.9
40 +# https://github.com/PyFilesystem/pyfilesystem2/issues/421
41 +PYTHON_COMPAT=( python3_{6,7,8} )
42 +# pkg_resources is used
43 +DISTUTILS_USE_SETUPTOOLS=manual
44 +
45 +inherit distutils-r1 optfeature
46 +
47 +MY_PN="pyfilesystem2"
48 +
49 +DESCRIPTION="Filesystem abstraction layer"
50 +HOMEPAGE="
51 + https://pypi.org/project/fs/
52 + https://docs.pyfilesystem.org
53 + https://www.willmcgugan.com/tag/fs/
54 +"
55 +# Tests from the PyPI tarball are broken
56 +# https://github.com/PyFilesystem/pyfilesystem2/issues/364
57 +SRC_URI="https://github.com/PyFilesystem/pyfilesystem2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
58 +S="${WORKDIR}/${MY_PN}-${PV}"
59 +
60 +LICENSE="MIT"
61 +SLOT="0"
62 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
63 +
64 +RDEPEND="
65 + >=dev-python/appdirs-1.4.3[${PYTHON_USEDEP}]
66 + dev-python/pytz[${PYTHON_USEDEP}]
67 + >=dev-python/six-1.10[${PYTHON_USEDEP}]
68 + dev-python/setuptools[${PYTHON_USEDEP}]
69 +"
70 +BDEPEND="
71 + dev-python/setuptools[${PYTHON_USEDEP}]
72 + test? (
73 + ${RDEPEND}
74 + dev-python/pyftpdlib[${PYTHON_USEDEP}]
75 + dev-python/psutil[${PYTHON_USEDEP}]
76 + )
77 +"
78 +
79 +distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
80 +distutils_enable_tests pytest
81 +
82 +pkg_postinst() {
83 + optfeature "S3 support" dev-python/boto
84 + optfeature "SFTP support" dev-python/paramiko
85 + optfeature "Browser support" dev-python/wxpython
86 +}