diff options
Diffstat (limited to 'dev-python/fs')
| -rw-r--r-- | dev-python/fs/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/fs/fs-2.4.9-r1.ebuild | 53 | ||||
| -rw-r--r-- | dev-python/fs/fs-2.4.9.ebuild | 53 | ||||
| -rw-r--r-- | dev-python/fs/metadata.xml | 17 |
4 files changed, 124 insertions, 0 deletions
diff --git a/dev-python/fs/Manifest b/dev-python/fs/Manifest new file mode 100644 index 000000000000..c720930a7d8d --- /dev/null +++ b/dev-python/fs/Manifest @@ -0,0 +1 @@ +DIST fs-2.4.9.tar.gz 126022 BLAKE2B bd7406ee0c22171af349bed6096f58bc749af30f3fae6b8532d7a2b07dd7f0a55165f4b4ab413d6ff7c8861fbe7784ae383a984d26c1cdb1bdc9100c4ae0b0df SHA512 594536eccc043547df4ec4fd1fc507d3fad2838ebb46768a11f142c68d42a776f9fa3cda8651421c6255314835a0283407ea49ebdce04af84a1646efaf5391e5 diff --git a/dev-python/fs/fs-2.4.9-r1.ebuild b/dev-python/fs/fs-2.4.9-r1.ebuild new file mode 100644 index 000000000000..b3ef70757a86 --- /dev/null +++ b/dev-python/fs/fs-2.4.9-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 eutils + +DESCRIPTION="Filesystem abstraction layer" +HOMEPAGE=" + https://pypi.org/project/fs/ + https://docs.pyfilesystem.org + https://www.willmcgugan.com/tag/fs/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/appdirs-1.4.3[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/six-1.10[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" +BDEPEND="test? ( + $(python_gen_cond_dep ' + dev-python/nose[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pyftpdlib[${PYTHON_USEDEP}] + dev-python/pysendfile[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/unittest2[${PYTHON_USEDEP}] + ' -3) +)" + +python_test() { + # python2_7 tests require dev-python/typing which is + # now in stdlib so ignore tests. py2.7 is going away. + if python_is_python3; then + esetup.py test || die "tests failed" + fi +} + +pkg_postinst() { + optfeature "S3 support" dev-python/boto + optfeature "SFTP support" dev-python/paramiko + optfeature "Browser support" dev-python/wxpython +} diff --git a/dev-python/fs/fs-2.4.9.ebuild b/dev-python/fs/fs-2.4.9.ebuild new file mode 100644 index 000000000000..a68ebf6c8e9f --- /dev/null +++ b/dev-python/fs/fs-2.4.9.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 eutils + +DESCRIPTION="Filesystem abstraction layer" +HOMEPAGE=" + https://pypi.org/project/fs/ + https://docs.pyfilesystem.org + https://www.willmcgugan.com/tag/fs/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/appdirs-1.4.3[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + >=dev-python/six-1.10[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" +BDEPEND="test? ( + $(python_gen_cond_dep ' + dev-python/nose[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pyftpdlib[${PYTHON_USEDEP}] + dev-python/pysendfile[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/unittest2[${PYTHON_USEDEP}] + ' -3) +)" + +python_test() { + # python2_7 tests require dev-python/typing which is + # now in stdlib so ignore tests. py2.7 is going away. + if python_is_python3; then + esetup.py test || die "tests failed" + fi +} + +pkg_postinst() { + optfeature "S3 support" dev-python/boto + optfeature "SFTP support" dev-python/paramiko + optfeature "Browser support" dev-python/wxpython +} diff --git a/dev-python/fs/metadata.xml b/dev-python/fs/metadata.xml new file mode 100644 index 000000000000..87b5c87ce5b6 --- /dev/null +++ b/dev-python/fs/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">fs</remote-id> + <doc>http://docs.pyfilesystem.org/</doc> + <maintainer status="unknown"> + <email>will@willmcgugan.com</email> + <name>Will McGugan</name> + </maintainer> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> |
