Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/pydf/
Date: Tue, 22 Dec 2020 10:02:07
Message-Id: 1608631308.a3f8956824ae8fbdd265d0eb6effd51f363e2596.monsieurp@gentoo
1 commit: a3f8956824ae8fbdd265d0eb6effd51f363e2596
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 22 09:36:40 2020 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 22 10:01:48 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3f89568
7
8 app-admin/pydf: EAPI 7 bump.
9
10 Package-Manager: Portage-3.0.9, Repoman-3.0.2
11 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
12
13 app-admin/pydf/pydf-12-r2.ebuild | 34 ++++++++++++++++++++++++++++++++++
14 1 file changed, 34 insertions(+)
15
16 diff --git a/app-admin/pydf/pydf-12-r2.ebuild b/app-admin/pydf/pydf-12-r2.ebuild
17 new file mode 100644
18 index 00000000000..c8a37dd8e90
19 --- /dev/null
20 +++ b/app-admin/pydf/pydf-12-r2.ebuild
21 @@ -0,0 +1,34 @@
22 +# Copyright 1999-2020 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +PYTHON_COMPAT=( python3_{7..9} )
28 +
29 +inherit python-r1
30 +
31 +DESCRIPTION="Enhanced df with colors"
32 +HOMEPAGE="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/"
33 +SRC_URI="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/${PN}_${PV}.tar.gz"
34 +
35 +LICENSE="public-domain"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
38 +
39 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
40 +
41 +DEPEND="${PYTHON_DEPS}"
42 +RDEPEND="${DEPEND}"
43 +
44 +src_prepare() {
45 + default
46 + sed -i -e "s#/etc/pydfrc#${EPREFIX}/etc/pydfrc#" "${PN}" || die
47 +}
48 +
49 +src_install() {
50 + python_foreach_impl python_doscript "${PN}"
51 + insinto /etc
52 + doins "${PN}rc"
53 + doman "${PN}.1"
54 + einstalldocs
55 +}