1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- # Copyright 1999-2015 Gentoo Foundation
- # Distributed under the terms of the GNU General Public License v2
- 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
- }
|