diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-11-17 13:41:57 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-11-17 13:41:57 +0000 |
| commit | e4284378c61eeae49dc5ac22d0b682069a6d7bac (patch) | |
| tree | 8ec653edf94b67639804ec33eaa76f05f1ae6c36 /dev-python/fs | |
| parent | 3b3002085d4fce2a8aaf52e579e31a54ceffe82f (diff) | |
| download | baldeagleos-repo-e4284378c61eeae49dc5ac22d0b682069a6d7bac.tar.gz baldeagleos-repo-e4284378c61eeae49dc5ac22d0b682069a6d7bac.tar.xz baldeagleos-repo-e4284378c61eeae49dc5ac22d0b682069a6d7bac.zip | |
Adding metadata
Diffstat (limited to 'dev-python/fs')
| -rw-r--r-- | dev-python/fs/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/fs/fs-2.4.14.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/fs/Manifest b/dev-python/fs/Manifest index 33c0799877ce..629c29a9d9a1 100644 --- a/dev-python/fs/Manifest +++ b/dev-python/fs/Manifest @@ -1 +1,2 @@ DIST pyfilesystem2-2.4.13.tar.gz 176958 BLAKE2B 154761ddc4db087abdb294ec82ac5b18c46e05f04e783559f3b4d65cde21b9444100130c29d1051a3d2b177f5c9ef7299806fcce1ab3a4b0770b4f1c156abd71 SHA512 c07bf6a8d373a11019709ada392153dbf953399631fa388433f9b7b73d9ae1072ea70b8ed9896752161a4737a399520f030b7875dc23137f418268c5acc24f48 +DIST pyfilesystem2-2.4.14.tar.gz 181196 BLAKE2B 23442e551684fab1493762182944769789ac45e363556705a911b2b3df456da7edfebb58a0d49317f9e9d46316494577be0ec449c86365a510d493d57e1636b0 SHA512 7bc69e23e6477a68fdf87d18403ba0bff2ff4eb2d0cf3cd9c7b0078885ed9d718e3f4f5f22bd77c6bcca6ebfa990045104a2d5abcf473a9d77a28aa94884650b diff --git a/dev-python/fs/fs-2.4.14.ebuild b/dev-python/fs/fs-2.4.14.ebuild new file mode 100644 index 000000000000..a4714bf6bc55 --- /dev/null +++ b/dev-python/fs/fs-2.4.14.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{6,7,8,9,10} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 optfeature + +MY_P=pyfilesystem2-${PV} +DESCRIPTION="Filesystem abstraction layer" +HOMEPAGE=" + https://pypi.org/project/fs/ + https://docs.pyfilesystem.org + https://www.willmcgugan.com/tag/fs/ +" +# Tests from the PyPI tarball are broken +# https://github.com/PyFilesystem/pyfilesystem2/issues/364 +SRC_URI=" + https://github.com/PyFilesystem/pyfilesystem2/archive/v${PV}.tar.gz + -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/appdirs-1.4.3[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/six-1.10[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pyftpdlib[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # TODO: fails at teardown due to unfreed resources + tests/test_ftpfs.py + ) + + # pytest-xvfb causes test failures due to a zombie Xvfb process + epytest -p no:xvfb +} + +pkg_postinst() { + optfeature "S3 support" dev-python/boto + optfeature "SFTP support" dev-python/paramiko + optfeature "Browser support" dev-python/wxpython +} |
