mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 09:07:26 -08:00
Bug: https://bugs.gentoo.org/473598 Bug: https://bugs.gentoo.org/720224 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
35 lines
787 B
Bash
35 lines
787 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{10..14} )
|
|
|
|
inherit python-r1
|
|
|
|
DESCRIPTION="Enhanced df with colors"
|
|
HOMEPAGE="https://github.com/garabik/pydf
|
|
http://kassiopeia.juls.savba.sk/~garabik/software/pydf/"
|
|
SRC_URI="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/${PN}_${PV}.orig.tar.gz"
|
|
|
|
LICENSE="public-domain"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
|
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
RDEPEND="${PYTHON_DEPS}"
|
|
BDEPEND="${RDEPEND}"
|
|
|
|
src_prepare() {
|
|
default
|
|
sed -i -e "s#/etc/pydfrc#${EPREFIX}/etc/pydfrc#" "${PN}" || die
|
|
}
|
|
|
|
src_install() {
|
|
python_foreach_impl python_doscript "${PN}"
|
|
insinto /etc
|
|
doins "${PN}rc"
|
|
doman "${PN}.1"
|
|
einstalldocs
|
|
}
|