From ce5691cc52167384a88d2add9f7e0cb9198c4060 Mon Sep 17 00:00:00 2001 From: Andrew Ammerlaan Date: Sun, 21 Mar 2021 21:27:56 +0100 Subject: [PATCH] net-misc/lyricwikia: avoid file conflict Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan --- ...icwikia-0.1.11.ebuild => lyricwikia-0.1.11-r1.ebuild} | 9 +++++++++ 1 file changed, 9 insertions(+) rename net-misc/lyricwikia/{lyricwikia-0.1.11.ebuild => lyricwikia-0.1.11-r1.ebuild} (74%) diff --git a/net-misc/lyricwikia/lyricwikia-0.1.11.ebuild b/net-misc/lyricwikia/lyricwikia-0.1.11-r1.ebuild similarity index 74% rename from net-misc/lyricwikia/lyricwikia-0.1.11.ebuild rename to net-misc/lyricwikia/lyricwikia-0.1.11-r1.ebuild index 05e31bb8ee..145a75b593 100644 --- a/net-misc/lyricwikia/lyricwikia-0.1.11.ebuild +++ b/net-misc/lyricwikia/lyricwikia-0.1.11-r1.ebuild @@ -33,6 +33,15 @@ python_prepare_all() { distutils-r1_python_prepare_all } +python_install_all() { + distutils-r1_python_install_all + + # rename the executable to avoid file conflict with net-im/lyrics-in-terminal + find "${D}" -name 'lyrics' -execdir mv {} lyricwikia \; || die +} + pkg_postinst() { elog "Note that access to LyricWikia through this API (and products that use this API) should comply to the LyricWikia terms of use" + elog "" + elog "LyricWikia is now offline, this package is provided solely for the purpose of satisfying media-video/vidify's dependencies" }