dev-python/fs: New package, ebuild written by me

Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2016-02-05 19:24:36 +01:00
parent b6e9e0ffc6
commit ba9836121c
3 changed files with 62 additions and 0 deletions

1
dev-python/fs/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST fs-0.5.4.tar.gz 231333 SHA256 ba2cca8773435a7c86059d57cb4b8ea30fda40f8610941f7822d1ce3ffd36197 SHA512 d67c85f2816cf1a84c25664a6cf71dac551c3eec4eb34154bc92d52eb0efa9739adca6d0ec86b9978ff6af408cfa17b913ee8fd4c143cd2adf862ca0a1dd4c5d WHIRLPOOL 13ca379c6b563ec29985ff6dafa68f601c43459e75d7de99afaac55c21c7c5c581784f3f8dcb2b14b97adf00034e4890a8674f8a5263718c11b4c39051b1b902

View File

@@ -0,0 +1,45 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python{2_7,3_{3,4,5}} pypy )
inherit distutils-r1 eutils
DESCRIPTION="Filesystem abstraction layer"
HOMEPAGE="
http://pypi.python.org/pypi/fs
http://docs.pyfilesystem.org
http://www.willmcgugan.com/tag/fs/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND="
dev-python/dexml[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/mako[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
)"
# Tries to access FUSE
RESTRICT=test
python_test() {
nosetests --verbose || die
}
pkg_postinst() {
optfeature "S3 support" dev-python/boto
optfeature "SFTP support" dev-python/paramiko
optfeature "Browser support" dev-python/wxpython
}

View File

@@ -0,0 +1,16 @@
<?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>
</pkgmetadata>