traydevice-1.6.2-r1.ebuild 887 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. DISTUTILS_SINGLE_IMPL=1
  5. PYTHON_COMPAT=( python2_7 )
  6. inherit distutils-r1
  7. DESCRIPTION="A little desktop application displaying systray icon for UDisks"
  8. HOMEPAGE="https://savannah.nongnu.org/projects/traydevice/"
  9. SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
  10. LICENSE="GPL-3"
  11. SLOT="0"
  12. KEYWORDS="amd64 x86"
  13. IUSE=""
  14. RDEPEND="dev-python/dbus-python[${PYTHON_USEDEP}]
  15. dev-python/lxml[${PYTHON_USEDEP}]
  16. dev-python/pyxdg[${PYTHON_USEDEP}]
  17. sys-fs/udisks:2"
  18. DEPEND="app-text/docbook2X"
  19. src_compile() { :; }
  20. python_install() {
  21. distutils-r1_python_install \
  22. --prefix=/usr \
  23. --install-data=/usr/share/${PN} \
  24. --install-man=/usr/share/man \
  25. --docbook2man=docbook2man.pl
  26. }
  27. python_install_all() {
  28. distutils-r1_python_install_all
  29. rm -f "${ED}"/usr/share/${PN}/doc/*.txt
  30. }