khal-0.8.3.ebuild 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI="6"
  4. PYTHON_COMPAT=( python3_4 )
  5. PYTHON_REQ_USE="sqlite"
  6. inherit distutils-r1
  7. DESCRIPTION="A CalDAV based calendar"
  8. HOMEPAGE="http://lostpackets.de/khal/"
  9. SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
  10. LICENSE="MIT"
  11. KEYWORDS="~amd64 ~x86"
  12. SLOT="0"
  13. IUSE="zsh-completion"
  14. RDEPEND=">=dev-python/click-3.2[${PYTHON_USEDEP}]
  15. dev-python/icalendar[${PYTHON_USEDEP}]
  16. dev-python/urwid[${PYTHON_USEDEP}]
  17. dev-python/pyxdg[${PYTHON_USEDEP}]
  18. dev-python/pytz[${PYTHON_USEDEP}]
  19. dev-python/vdirsyncer[${PYTHON_USEDEP}]
  20. dev-python/pkginfo[${PYTHON_USEDEP}]
  21. dev-python/python-dateutil[${PYTHON_USEDEP}]
  22. dev-python/configobj[${PYTHON_USEDEP}]
  23. >=dev-python/tzlocal-1.0[${PYTHON_USEDEP}]
  24. dev-python/setproctitle[${PYTHON_USEDEP}]
  25. zsh-completion? ( app-shells/zsh )"
  26. DEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"
  27. DOCS=( AUTHORS.txt CHANGELOG.rst CONTRIBUTING.txt README.rst khal.conf.sample )
  28. src_install() {
  29. distutils-r1_src_install
  30. if use zsh-completion; then
  31. insinto /usr/share/zsh/site-functions
  32. doins misc/__khal
  33. fi
  34. }