commit:     4e1ea675b2a75d06c0fdf8f24bc8c6847eb60f83
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 15 21:16:57 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Feb 15 23:07:32 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e1ea675

app-editors/leafpad: Switch from gnome2-utils to xdg, EAPI-7 bump

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild | 30 ++++++++++----------------
 1 file changed, 11 insertions(+), 19 deletions(-)

diff --git a/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild 
b/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild
index e1af082f793..aacccf082f7 100644
--- a/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild
+++ b/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit gnome2-utils xdg-utils
+EAPI=7
 
-DESCRIPTION="A simple GTK2 text editor"
+inherit xdg
+
+DESCRIPTION="Simple GTK2 text editor"
 HOMEPAGE="http://tarot.freeshell.org/leafpad/";
 SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
 
@@ -13,15 +14,16 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="emacs"
 
-RDEPEND="
-       virtual/libintl
-       x11-libs/gtk+:2
-"
-DEPEND="${RDEPEND}
+BDEPEND="
        dev-util/intltool
        sys-devel/gettext
        virtual/pkgconfig
 "
+DEPEND="
+       virtual/libintl
+       x11-libs/gtk+:2
+"
+RDEPEND="${DEPEND}"
 
 PATCHES=(
        "${FILESDIR}"/${P}-fdo.patch
@@ -37,13 +39,3 @@ src_configure() {
                --enable-print \
                $(use_enable emacs)
 }
-
-pkg_postinst() {
-       xdg_desktop_database_update
-       gnome2_icon_cache_update
-}
-
-pkg_postrm() {
-       xdg_desktop_database_update
-       gnome2_icon_cache_update
-}

Reply via email to