commit:     ce5691cc52167384a88d2add9f7e0cb9198c4060
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Mar 21 20:27:56 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Mar 21 20:29:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ce5691cc

net-misc/lyricwikia: avoid file conflict

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

 .../{lyricwikia-0.1.11.ebuild => lyricwikia-0.1.11-r1.ebuild}    | 9 +++++++++
 1 file changed, 9 insertions(+)

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 05e31bb8..145a75b5 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"
 }

Reply via email to