Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/leafpad/
Date: Fri, 15 Feb 2019 23:07:56
Message-Id: 1550272052.4e1ea675b2a75d06c0fdf8f24bc8c6847eb60f83.asturm@gentoo
1 commit: 4e1ea675b2a75d06c0fdf8f24bc8c6847eb60f83
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 15 21:16:57 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 15 23:07:32 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e1ea675
7
8 app-editors/leafpad: Switch from gnome2-utils to xdg, EAPI-7 bump
9
10 Package-Manager: Portage-2.3.60, Repoman-2.3.12
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild | 30 ++++++++++----------------
14 1 file changed, 11 insertions(+), 19 deletions(-)
15
16 diff --git a/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild b/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild
17 index e1af082f793..aacccf082f7 100644
18 --- a/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild
19 +++ b/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild
20 @@ -1,10 +1,11 @@
21 -# Copyright 1999-2018 Gentoo Authors
22 +# Copyright 1999-2019 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=6
26 -inherit gnome2-utils xdg-utils
27 +EAPI=7
28
29 -DESCRIPTION="A simple GTK2 text editor"
30 +inherit xdg
31 +
32 +DESCRIPTION="Simple GTK2 text editor"
33 HOMEPAGE="http://tarot.freeshell.org/leafpad/"
34 SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
35
36 @@ -13,15 +14,16 @@ SLOT="0"
37 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
38 IUSE="emacs"
39
40 -RDEPEND="
41 - virtual/libintl
42 - x11-libs/gtk+:2
43 -"
44 -DEPEND="${RDEPEND}
45 +BDEPEND="
46 dev-util/intltool
47 sys-devel/gettext
48 virtual/pkgconfig
49 "
50 +DEPEND="
51 + virtual/libintl
52 + x11-libs/gtk+:2
53 +"
54 +RDEPEND="${DEPEND}"
55
56 PATCHES=(
57 "${FILESDIR}"/${P}-fdo.patch
58 @@ -37,13 +39,3 @@ src_configure() {
59 --enable-print \
60 $(use_enable emacs)
61 }
62 -
63 -pkg_postinst() {
64 - xdg_desktop_database_update
65 - gnome2_icon_cache_update
66 -}
67 -
68 -pkg_postrm() {
69 - xdg_desktop_database_update
70 - gnome2_icon_cache_update
71 -}