commit:     3e17f8b5b798f756f723c61eb437c6bf11d7b6d5
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Sun Mar  6 17:42:04 2022 +0000
Commit:     Nicolas Bock <nicolasbock <AT> gentoo <DOT> org>
CommitDate: Mon Mar  7 18:18:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e17f8b5

sys-cluster/charliecloud: Fix Python shebang.

Previously, /usr/bin/env python3 was used (upstream default),
which is generic and hence should not be used on Gentoo.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Closes: https://github.com/gentoo/gentoo/pull/24425
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
Signed-off-by: Nicolas Bock <nicolasbock <AT> gentoo.org>

 .../{charliecloud-0.26.ebuild => charliecloud-0.26-r1.ebuild}         | 2 ++
 sys-cluster/charliecloud/charliecloud-9999.ebuild                     | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/charliecloud/charliecloud-0.26.ebuild 
b/sys-cluster/charliecloud/charliecloud-0.26-r1.ebuild
similarity index 97%
rename from sys-cluster/charliecloud/charliecloud-0.26.ebuild
rename to sys-cluster/charliecloud/charliecloud-0.26-r1.ebuild
index 8ce74691fe62..14f8aa4a1aa5 100644
--- a/sys-cluster/charliecloud/charliecloud-0.26.ebuild
+++ b/sys-cluster/charliecloud/charliecloud-0.26-r1.ebuild
@@ -66,6 +66,8 @@ src_configure() {
                --enable-buggy-build
                # Do not use bundled version of dev-python/lark-parser.
                --disable-bundled-lark
+               # Use correct shebang.
+               --with-python=${PYTHON}
        )
        econf "${econf_args[@]}"
 }

diff --git a/sys-cluster/charliecloud/charliecloud-9999.ebuild 
b/sys-cluster/charliecloud/charliecloud-9999.ebuild
index 8a596e2fb8a1..14f8aa4a1aa5 100644
--- a/sys-cluster/charliecloud/charliecloud-9999.ebuild
+++ b/sys-cluster/charliecloud/charliecloud-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -66,6 +66,8 @@ src_configure() {
                --enable-buggy-build
                # Do not use bundled version of dev-python/lark-parser.
                --disable-bundled-lark
+               # Use correct shebang.
+               --with-python=${PYTHON}
        )
        econf "${econf_args[@]}"
 }

Reply via email to