summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarty E. Plummer <hanetzer@startmail.com>2018-04-03 21:09:03 -0500
committerAndreas Sturmlechner <asturm@gentoo.org>2018-04-05 01:02:58 +0200
commit348899220381844d9863a30c7de077f2ef580727 (patch)
tree8930b37231cedd78adb7cd91c28a18eb4606adbc
parentapp-editors/leafpad: Drop unnecessary gnome2_icon_savelist, DOCS (diff)
downloadgentoo-348899220381844d9863a30c7de077f2ef580727.tar.gz
gentoo-348899220381844d9863a30c7de077f2ef580727.tar.bz2
gentoo-348899220381844d9863a30c7de077f2ef580727.zip
x11-misc/sunflower: fdo-mime -> xdg-utils
Also bumped EAPI to 6 and removed eutils as unneeded. Package-Manager: Portage-2.3.27, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/7799
-rw-r--r--x11-misc/sunflower/sunflower-0.2_alpha59.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/x11-misc/sunflower/sunflower-0.2_alpha59.ebuild b/x11-misc/sunflower/sunflower-0.2_alpha59.ebuild
index 9d84a9408426..256083e0dc81 100644
--- a/x11-misc/sunflower/sunflower-0.2_alpha59.ebuild
+++ b/x11-misc/sunflower/sunflower-0.2_alpha59.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
PYTHON_COMPAT=( python2_7 )
-inherit eutils fdo-mime gnome2-utils python-r1
+inherit gnome2-utils python-r1 xdg-utils
MY_PN="Sunflower"
DESCRIPTION="Small and highly customizable twin-panel file manager with plugin-support"
@@ -27,6 +27,7 @@ RDEPEND="${DEPEND}
S=${WORKDIR}/${MY_PN}
src_prepare() {
+ default
find "${S}" -name "*.py[co]" -delete || die
find "${S}"/translations -name "*.po" -delete || die
rm "${S}"/translations/${PN}.pot || die
@@ -76,7 +77,7 @@ pkg_preinst() {
}
pkg_postinst() {
- fdo-mime_desktop_database_update
+ xdg_desktop_database_update
gnome2_icon_cache_update
# TODO: better description
@@ -87,6 +88,6 @@ pkg_postinst() {
}
pkg_postrm() {
- fdo-mime_desktop_database_update
+ xdg_desktop_database_update
gnome2_icon_cache_update
}