commit:     d795bf2203c29d0586091713f8e0ae5b681f7987
Author:     Yuan Liao <liaoyuan <AT> gmail <DOT> com>
AuthorDate: Fri Apr 12 15:08:14 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu Apr 18 11:33:02 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d795bf22

media-sound/lollypop: Fix Python shebang in /usr/libexec/lollypop-sp

This is a Python script that Lollypop installs.  It uses a
'#!/usr/bin/env python3' shebang, which must be fixed on Gentoo to
ensure that the correct Python implementation selected via
PYTHON_SINGLE_TARGET is used.

Signed-off-by: Yuan Liao <liaoyuan <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 media-sound/lollypop/lollypop-1.4.39.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-sound/lollypop/lollypop-1.4.39.ebuild 
b/media-sound/lollypop/lollypop-1.4.39.ebuild
index 8fb4830813fd..05a8e39d38ae 100644
--- a/media-sound/lollypop/lollypop-1.4.39.ebuild
+++ b/media-sound/lollypop/lollypop-1.4.39.ebuild
@@ -58,6 +58,7 @@ src_install() {
        meson_src_install
        python_optimize
        python_fix_shebang "${ED}/usr/bin"
+       python_fix_shebang "${ED}/usr/libexec/lollypop-sp"
 }
 
 pkg_postinst() {

Reply via email to