pydf-12-r1.ebuild 762 B

123456789101112131415161718192021222324252627282930313233
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. PYTHON_COMPAT=( python{2_7,3_4,3_5} )
  5. inherit python-r1
  6. DESCRIPTION="Enhanced df with colors"
  7. HOMEPAGE="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/"
  8. SRC_URI="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/${PN}_${PV}.tar.gz"
  9. LICENSE="public-domain"
  10. SLOT="0"
  11. KEYWORDS="amd64 arm ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
  12. IUSE=""
  13. REQUIRED_USE="${PYTHON_REQUIRED_USE}"
  14. DEPEND="${PYTHON_DEPS}"
  15. RDEPEND="${DEPEND}"
  16. src_prepare() {
  17. default
  18. sed -i -e "s:/etc/pydfrc:${EPREFIX}/etc/pydfrc:" pydf || die
  19. }
  20. src_install() {
  21. python_foreach_impl python_doscript pydf
  22. insinto /etc
  23. doins pydfrc
  24. doman pydf.1
  25. dodoc README
  26. }