tahoe-lafs-1.10.2.ebuild 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. PYTHON_COMPAT=( python2_7 )
  5. PYTHON_REQ_USE="sqlite"
  6. inherit distutils-r1
  7. MY_PN="allmydata-tahoe"
  8. MY_P="${MY_PN}-${PV}"
  9. DESCRIPTION="Secure, decentralized, data store"
  10. HOMEPAGE="http://tahoe-lafs.org/trac/tahoe-lafs"
  11. SRC_URI="http://tahoe-lafs.org/source/tahoe-lafs/releases/${MY_P}.tar.bz2"
  12. LICENSE="GPL-2"
  13. SLOT="0"
  14. KEYWORDS="~amd64 ~x86"
  15. IUSE="doc"
  16. RDEPEND="
  17. >=dev-python/characteristic-14.0.0[${PYTHON_USEDEP}]
  18. >=dev-python/foolscap-0.8.0[${PYTHON_USEDEP}]
  19. dev-python/nevow[${PYTHON_USEDEP}]
  20. >=dev-python/pyasn1-0.1.8[${PYTHON_USEDEP}]
  21. dev-python/pyasn1-modules[${PYTHON_USEDEP}]
  22. dev-python/pycrypto[${PYTHON_USEDEP}]
  23. dev-python/pycryptopp[${PYTHON_USEDEP}]
  24. >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
  25. dev-python/pyutil[${PYTHON_USEDEP}]
  26. dev-python/service_identity[${PYTHON_USEDEP}]
  27. dev-python/simplejson[${PYTHON_USEDEP}]
  28. >=dev-python/twisted-core-13.0.0[${PYTHON_USEDEP}]
  29. dev-python/zbase32[${PYTHON_USEDEP}]
  30. dev-python/zfec[${PYTHON_USEDEP}]
  31. dev-python/zope-interface[${PYTHON_USEDEP}]"
  32. DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
  33. S=${WORKDIR}/${MY_P}
  34. src_prepare() {
  35. rm -r setuptools* setup.cfg || die
  36. distutils-r1_src_prepare
  37. }
  38. src_install() {
  39. distutils-r1_src_install
  40. use doc && dodoc -r docs/*
  41. }
  42. pkg_postinst() {
  43. elog
  44. elog "optional dependencies:"
  45. elog " dev-python/twisted-conch (for sftp access)"
  46. elog
  47. }