diff options
Diffstat (limited to 'net-fs/tahoe-lafs/tahoe-lafs-1.10.2.ebuild')
-rw-r--r-- | net-fs/tahoe-lafs/tahoe-lafs-1.10.2.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/net-fs/tahoe-lafs/tahoe-lafs-1.10.2.ebuild b/net-fs/tahoe-lafs/tahoe-lafs-1.10.2.ebuild new file mode 100644 index 000000000000..85b865bf5516 --- /dev/null +++ b/net-fs/tahoe-lafs/tahoe-lafs-1.10.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +MY_PN="allmydata-tahoe" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Secure, decentralized, data store" +HOMEPAGE="http://tahoe-lafs.org/trac/tahoe-lafs" +SRC_URI="http://tahoe-lafs.org/source/tahoe-lafs/releases/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=" + >=dev-python/characteristic-14.0.0[${PYTHON_USEDEP}] + >=dev-python/foolscap-0.8.0[${PYTHON_USEDEP}] + dev-python/nevow[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.1.8[${PYTHON_USEDEP}] + dev-python/pyasn1-modules[${PYTHON_USEDEP}] + dev-python/pycrypto[${PYTHON_USEDEP}] + dev-python/pycryptopp[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}] + dev-python/pyutil[${PYTHON_USEDEP}] + dev-python/service_identity[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + >=dev-python/twisted-core-13.0.0[${PYTHON_USEDEP}] + dev-python/zbase32[${PYTHON_USEDEP}] + dev-python/zfec[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + rm -r setuptools* setup.cfg || die + distutils-r1_src_prepare +} + +src_install() { + distutils-r1_src_install + use doc && dodoc -r docs/* +} + +pkg_postinst() { + elog + elog "optional dependencies:" + elog " dev-python/twisted-conch (for sftp access)" + elog +} |