Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/far2l/
Date: Mon, 20 Sep 2021 09:17:45
Message-Id: 1632082581.f692065015bbb5eed32a1c3234ee2aa63c993f98.andrewammerlaan@gentoo
1 commit: f692065015bbb5eed32a1c3234ee2aa63c993f98
2 Author: Andrey Syutkin <syutkin <AT> gmail <DOT> com>
3 AuthorDate: Sun Sep 19 20:16:21 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 19 20:16:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f6920650
7
8 app-misc/far2l: fix python stuff
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Andrey Syutkin <syutkin <AT> gmail.com>
12
13 app-misc/far2l/far2l-9999.ebuild | 4 ++++
14 1 file changed, 4 insertions(+)
15
16 diff --git a/app-misc/far2l/far2l-9999.ebuild b/app-misc/far2l/far2l-9999.ebuild
17 index 1a4c0b345..f23f32656 100644
18 --- a/app-misc/far2l/far2l-9999.ebuild
19 +++ b/app-misc/far2l/far2l-9999.ebuild
20 @@ -66,6 +66,10 @@ src_prepare() {
21 sed -e "s:execute_process(COMMAND rm -f \${CMAKE_INSTALL_PREFIX}/lib/far2l/Plugins/objinfo/plug/objinfo.far-plug-mb)::" -i "${S}"/CMakeLists.txt || die
22 sed -e "s:execute_process(COMMAND rm -f \${CMAKE_INSTALL_PREFIX}/lib/far2l/Plugins/farftp/plug/farftp.far-plug-mb && echo Removed existing farftp plugin)::" -i "${S}"/CMakeLists.txt || die
23 sed -e "s:execute_process(COMMAND rm -f \${CMAKE_INSTALL_PREFIX}/lib/far2l/Plugins/python/plug/python.far-plug-wide && echo Removed existing python plugin)::" -i "${S}"/CMakeLists.txt || die
24 + sed -e "s:execute_process(COMMAND echo Python\: prepaing virtual environment)::" -i "${S}"/CMakeLists.txt || die
25 + sed -e "s:execute_process(COMMAND \${PYTHON3} -m venv --system-site-packages \${CMAKE_INSTALL_PREFIX}/lib/far2l/Plugins/python/plug/python)::" -i "${S}"/CMakeLists.txt || die
26 + sed -e "s:execute_process(COMMAND echo Python\: installing packages)::" -i "${S}"/CMakeLists.txt || die
27 + sed -e "s:execute_process(COMMAND \${CMAKE_INSTALL_PREFIX}/lib/far2l/Plugins/python/plug/python/bin/python -m pip install cffi debugpy)::" -i "${S}"/CMakeLists.txt || die
28 cmake_src_prepare
29 }