summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2020-12-22 10:36:40 +0100
committerPatrice Clement <monsieurp@gentoo.org>2020-12-22 11:01:48 +0100
commita3f8956824ae8fbdd265d0eb6effd51f363e2596 (patch)
treea8b8b16161fef2be94467b88299b37163241bd67 /app-admin
parentapp-admin/ansible-cmdb: version bump. (diff)
downloadgentoo-a3f8956824ae8fbdd265d0eb6effd51f363e2596.tar.gz
gentoo-a3f8956824ae8fbdd265d0eb6effd51f363e2596.tar.bz2
gentoo-a3f8956824ae8fbdd265d0eb6effd51f363e2596.zip
app-admin/pydf: EAPI 7 bump.
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/pydf/pydf-12-r2.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/app-admin/pydf/pydf-12-r2.ebuild b/app-admin/pydf/pydf-12-r2.ebuild
new file mode 100644
index 000000000000..c8a37dd8e90b
--- /dev/null
+++ b/app-admin/pydf/pydf-12-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit python-r1
+
+DESCRIPTION="Enhanced df with colors"
+HOMEPAGE="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/"
+SRC_URI="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/${PN}_${PV}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${DEPEND}"
+
+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
+}