From: Craig Andrews Date: Mon, 18 Nov 2019 20:14:32 +0000 (-0500) Subject: media-tv/kodi: fix QA warnings X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e9bdd27e925d178e1ea854f3890213a42009ff53;p=gentoo.git media-tv/kodi: fix QA warnings ${ED%/} unnecessary slash strip on lines missing RESTRICT="!test? ( test )" with IUSE=test Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Craig Andrews --- diff --git a/media-tv/kodi/kodi-18.5.ebuild b/media-tv/kodi/kodi-18.5.ebuild index ab7d8a3c30fb..60f92f21a6fc 100644 --- a/media-tv/kodi/kodi-18.5.ebuild +++ b/media-tv/kodi/kodi-18.5.ebuild @@ -51,6 +51,7 @@ REQUIRED_USE=" udisks? ( dbus ) upower? ( dbus ) " +RESTRICT="!test? ( test )" COMMON_DEPEND="${PYTHON_DEPS} airplay? ( @@ -304,11 +305,11 @@ src_test() { src_install() { cmake-utils_src_install - pax-mark Em "${ED%/}"/usr/$(get_libdir)/${PN}/${PN}.bin + pax-mark Em "${ED}"/usr/$(get_libdir)/${PN}/${PN}.bin newicon media/icon48x48.png kodi.png - rm "${ED%/}"/usr/share/kodi/addons/skin.estuary/fonts/Roboto-Thin.ttf || die + rm "${ED}"/usr/share/kodi/addons/skin.estuary/fonts/Roboto-Thin.ttf || die dosym ../../../../fonts/roboto/Roboto-Thin.ttf \ usr/share/kodi/addons/skin.estuary/fonts/Roboto-Thin.ttf diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild index a5e56b7f2175..a69d71d371d2 100644 --- a/media-tv/kodi/kodi-9999.ebuild +++ b/media-tv/kodi/kodi-9999.ebuild @@ -50,6 +50,7 @@ REQUIRED_USE=" udisks? ( dbus ) upower? ( dbus ) " +RESTRICT="!test? ( test )" COMMON_DEPEND="${PYTHON_DEPS} airplay? ( @@ -293,11 +294,11 @@ src_test() { src_install() { cmake-utils_src_install - pax-mark Em "${ED%/}"/usr/$(get_libdir)/${PN}/${PN}.bin + pax-mark Em "${ED}"/usr/$(get_libdir)/${PN}/${PN}.bin newicon media/icon48x48.png kodi.png - rm "${ED%/}"/usr/share/kodi/addons/skin.estuary/fonts/Roboto-Thin.ttf || die + rm "${ED}"/usr/share/kodi/addons/skin.estuary/fonts/Roboto-Thin.ttf || die dosym ../../../../fonts/roboto/Roboto-Thin.ttf \ usr/share/kodi/addons/skin.estuary/fonts/Roboto-Thin.ttf