Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/viewglob/
Date: Sat, 27 Feb 2021 01:00:37
Message-Id: 1614387613.9d1770570b346555c12a8fa5ef5653927dfbebe5.sam@gentoo
1 commit: 9d1770570b346555c12a8fa5ef5653927dfbebe5
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 27 00:38:57 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 27 01:00:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d177057
7
8 x11-misc/viewglob: port to EAPI 7
9
10 Package-Manager: Portage-3.0.15, Repoman-3.0.2
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 x11-misc/viewglob/viewglob-2.0.4-r1.ebuild | 28 ++++++++++++++++++----------
14 1 file changed, 18 insertions(+), 10 deletions(-)
15
16 diff --git a/x11-misc/viewglob/viewglob-2.0.4-r1.ebuild b/x11-misc/viewglob/viewglob-2.0.4-r1.ebuild
17 index 002f4494df2..ebff9e4c194 100644
18 --- a/x11-misc/viewglob/viewglob-2.0.4-r1.ebuild
19 +++ b/x11-misc/viewglob/viewglob-2.0.4-r1.ebuild
20 @@ -1,11 +1,9 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 +# Copyright 1999-2021 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=5
26 +EAPI=7
27
28 -AUTOTOOLS_AUTORECONF=yes
29 -
30 -inherit autotools-utils readme.gentoo
31 +inherit autotools readme.gentoo-r1
32
33 DESCRIPTION="Graphical display of directories and globs referenced at the shell prompt"
34 HOMEPAGE="http://viewglob.sourceforge.net/"
35 @@ -14,21 +12,31 @@ SRC_URI="mirror://sourceforge/viewglob/${P}.tar.gz"
36 LICENSE="GPL-2"
37 SLOT="0"
38 KEYWORDS="amd64 ppc ~sparc x86"
39 -IUSE=""
40
41 +BDEPEND="virtual/pkgconfig"
42 RDEPEND="
43 dev-libs/glib:2
44 x11-libs/gtk+:2
45 || ( app-shells/bash:* app-shells/zsh )"
46 -DEPEND="${RDEPEND}
47 - virtual/pkgconfig"
48 +DEPEND="${RDEPEND}"
49
50 PATCHES=(
51 "${FILESDIR}"/${P}-underlinking.patch
52 "${FILESDIR}"/${P}-format-security.patch
53 )
54
55 +src_prepare() {
56 + default
57 +
58 + eautoreconf
59 +}
60 +
61 src_install() {
62 - autotools-utils_src_install
63 - readme.gentoo_src_install
64 + default
65 +
66 + readme.gentoo_create_doc
67 +}
68 +
69 +pkg_postinst() {
70 + readme.gentoo_print_elog
71 }