summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-12-16 08:18:01 +0000
committerSam James <sam@gentoo.org>2020-12-16 08:18:01 +0000
commit2cf54f0e0d11e51893565513d4f8df80dce1d951 (patch)
treee166d18cd3a64fd75c41972fd4deab37a51cd170 /app-text/nfoview
parentapp-text/nfoview: update live to latest changes (diff)
downloadgentoo-2cf54f0e0d11e51893565513d4f8df80dce1d951.tar.gz
gentoo-2cf54f0e0d11e51893565513d4f8df80dce1d951.tar.bz2
gentoo-2cf54f0e0d11e51893565513d4f8df80dce1d951.zip
app-text/nfoview: simplify ebuild
* No need to declare blank IUSE (default) * Use xdg.eclass for its lovely auto-cache updater Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/nfoview')
-rw-r--r--app-text/nfoview/nfoview-1.28.ebuild13
-rw-r--r--app-text/nfoview/nfoview-9999.ebuild13
2 files changed, 2 insertions, 24 deletions
diff --git a/app-text/nfoview/nfoview-1.28.ebuild b/app-text/nfoview/nfoview-1.28.ebuild
index d8afed881837..7118320a0467 100644
--- a/app-text/nfoview/nfoview-1.28.ebuild
+++ b/app-text/nfoview/nfoview-1.28.ebuild
@@ -6,7 +6,7 @@ EAPI=7
DISTUTILS_USE_SETUPTOOLS=no
PYTHON_COMPAT=( python3_{6,7,8,9} )
-inherit distutils-r1 xdg-utils
+inherit distutils-r1 xdg
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/otsaloma/nfoview.git"
@@ -21,20 +21,9 @@ HOMEPAGE="https://otsaloma.io/nfoview/"
LICENSE="GPL-3+"
SLOT="0"
-IUSE=""
BDEPEND="${PYTHON_DEPS}
sys-devel/gettext"
DEPEND="dev-python/pygobject:3[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
media-fonts/cascadia-code"
-
-pkg_postinst() {
- xdg_icon_cache_update
- xdg_desktop_database_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
- xdg_desktop_database_update
-}
diff --git a/app-text/nfoview/nfoview-9999.ebuild b/app-text/nfoview/nfoview-9999.ebuild
index d8afed881837..7118320a0467 100644
--- a/app-text/nfoview/nfoview-9999.ebuild
+++ b/app-text/nfoview/nfoview-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=7
DISTUTILS_USE_SETUPTOOLS=no
PYTHON_COMPAT=( python3_{6,7,8,9} )
-inherit distutils-r1 xdg-utils
+inherit distutils-r1 xdg
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/otsaloma/nfoview.git"
@@ -21,20 +21,9 @@ HOMEPAGE="https://otsaloma.io/nfoview/"
LICENSE="GPL-3+"
SLOT="0"
-IUSE=""
BDEPEND="${PYTHON_DEPS}
sys-devel/gettext"
DEPEND="dev-python/pygobject:3[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
media-fonts/cascadia-code"
-
-pkg_postinst() {
- xdg_icon_cache_update
- xdg_desktop_database_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
- xdg_desktop_database_update
-}