commit: 0c64ab06a4ba2c73f3840be7aa49e34f42c13696
Author: Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Sat Jul 22 03:11:16 2023 +0000
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Sat Jul 22 04:36:02 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c64ab06
dev-python/virtualenvwrapper: get absolute path for python executable
* Using the absolute path avoid issues when going inside the venv
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
...8.4_p20230121.ebuild => virtualenvwrapper-4.8.4_p20230121-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/dev-python/virtualenvwrapper/virtualenvwrapper-4.8.4_p20230121.ebuild
b/dev-python/virtualenvwrapper/virtualenvwrapper-4.8.4_p20230121-r1.ebuild
similarity index 95%
rename from
dev-python/virtualenvwrapper/virtualenvwrapper-4.8.4_p20230121.ebuild
rename to
dev-python/virtualenvwrapper/virtualenvwrapper-4.8.4_p20230121-r1.ebuild
index 106b7a037d89..080fc0b55799 100644
--- a/dev-python/virtualenvwrapper/virtualenvwrapper-4.8.4_p20230121.ebuild
+++ b/dev-python/virtualenvwrapper/virtualenvwrapper-4.8.4_p20230121-r1.ebuild
@@ -51,7 +51,7 @@ src_prepare() {
# specify default python interpeter to align with PYTHON_SINGLE_TARGET
sed -i -e \
-
"s|\(_virtualenvwrapper_python_executable=\"\)\$(.*)\(\"\)|\1${EPYTHON}\2|" \
+
"s|\(_virtualenvwrapper_python_executable=\"\$(\).\w\((\"\)|\1command -v
${EPYTHON}\2|" \
virtualenvwrapper.sh || die
# remove tests which require an internet connection