commit:     4fe4c27bbb9d3d3d1a55c932c57da483839f918e
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Jan 20 12:30:57 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Jan 20 12:30:57 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=4fe4c27b

sci-visualization/fsleyes: fix postinst/postrm phases

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-visualization/fsleyes/fsleyes-0.34.2.ebuild | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/sci-visualization/fsleyes/fsleyes-0.34.2.ebuild 
b/sci-visualization/fsleyes/fsleyes-0.34.2.ebuild
index 8c69cbc50..b9b221a1e 100644
--- a/sci-visualization/fsleyes/fsleyes-0.34.2.ebuild
+++ b/sci-visualization/fsleyes/fsleyes-0.34.2.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{7,8} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
-inherit distutils-r1 desktop virtualx
+inherit xdg distutils-r1 desktop virtualx
 
 DESCRIPTION="The new FSL image viewer, released with FSL 5.0.10"
 HOMEPAGE="https://git.fmrib.ox.ac.uk/fsl/fsleyes/fsleyes/tree/master";
@@ -82,13 +82,6 @@ python_install_all() {
        make_desktop_entry fsleyes FSLeyes "${PN}"
 }
 
-pkg_postinst() {
-       gnome2_icon_cache_update
-}
-pkg_postrm() {
-       gnome2_icon_cache_update
-}
-
 python_test() {
        virtx pytest -vv || die
 }

Reply via email to